pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
Double Cross

Double Cross - 1.02

Sean J McKiernan (mekire)

Tags:

Description

Unlike your common unilateral falling block games, 'Double Cross' implements a bidirectional paradigm expanding the genre in both dimension and difficulty.

 

Overview:

Blocks fall from the top and fly in from the side settling in a joined "play area".  Deletions occur when rows of ten blocks are completed. A horizontal row of 10 will cause the blocks to fall down, and a vertical row of 10 will cause the blocks to "fall" to the right.  If a vertical row is completed during a vertical drop or a horizontal row is completed during a horizontal drop the corresponding deletion will not occur until the next turn.  This can and will lead to non-intuitive results.  Focus on the vertical alone and you will die from horizontal negligence and vice versa.

The main file is dcross.pyw.

Controls:

P button pauses (music can be changed while paused)

Esc gives a quit prompt

Arrow keys for basic play (customizable in game)

 

 


 

There are many things I would do differently if I were to rewrite this game as I didn't understand anything about control flow at the time... Oh well, live and learn.

*I do not own the music. Songs are all copyright of their respective owners.

Changes

Game should now be compatible with both 2.7 and 3.1. 3.2 unconfirmed.

Links

Home Page: http://code.google.com/p/double-cross/
Source: http://code.google.com/p/double-cross/downloads/list

Screenshot


click to view original size

Releases

Double Cross - 1.02 - Oct 28, 2011
Double Cross - 1.01 - Oct 26, 2011
Double Cross - 1.00 - Oct 26, 2011

Pygame.org account Comments

If you wish to leave a comment with your pygame.org account, please sign in first.

October 26, 2011 8:12pm - Sean J McKiernan - nickname: (mekire)
There are apparently more issues with running it in 2.7 than I had thought.
I tried running under 2.7 and got the same syntax error. It seems 2.7 doesn't print to file using the same syntax. I tried fixing that and instantly hit another part that 2.7 didn't like either with keyword-only function arguments. I guess for now it is for python 3 only (I myself am using 3.1) until I fix all the compatibility issues.
October 26, 2011 11:43am - Jouni Järvinen - nickname: (rautamiekka)
And it doesn't preserve spaces ... the arrow should point at the equal sign right after the §file§ word.
October 26, 2011 11:42am - Jouni Järvinen - nickname: (rautamiekka)
Stupid comment system, screwing up the law signs.

Plus I had wrong line number, it's 371 instead.
October 26, 2011 11:40am - Jouni Järvinen - nickname: (rautamiekka)
Nice code there, but I get an syntax error. Tested on Ubuntu 1104 64 with Python 2.7.1 & 3.2, both being 32, and Pygame actually not installed for 3.2.

What I don't get is the line 309 in the main file: you use Augmented Assignment elsewhere but that line is the old stupid way of Visual Basic.

§§§
administrator@rauta-m1530-ubuntu:~/Downloads/dcross$ python dcross.pyw
Traceback (most recent call last):
File "dcross.pyw", line 14, in <module>
from scoreprocessor1 import display_scores
File "/home/administrator/Downloads/dcross/scoreprocessor1.py", line 212
if i < 5: print("".join(item[0]+","+str(item[1])+","+str(item[2])),file=newscores)
^
SyntaxError: invalid syntax
§§§
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
May 23, 2012

May 22, 2012


May 20, 2012

May 19, 2012

May 18, 2012

May 17, 2012


May 16, 2012


May 12, 2012


... more!
 
for pygame related questions, comments, and suggestions, please see help (lists, irc)