Skip to content

nf/fourtette

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fourtette

A block game by nf for Uxn.

Title screen by Rek Bell.

Music arranged by d_m.

Controls:

  [A]/[B]  rotate left/right
  [L]/[R]  move left/right
  [Up]     drop
  [Down]   fast fall
  [Select] swap hold piece
  [Start]  pause

Screenshots

title screen gameplay

Technical notes:

The playable well is 10 columns by 40 rows, as per the guideline. It is stored in a x10 by x30 region of memory starting at @well. Each row is x10 bytes, with the playable well in columns (x03, x0c), so the three bytes at the start and end of each line are not usable and form the walls.

The high nibble of each well byte indicates the block state (for gameplay purposes), the low nibble indicates the block type (for drawing purposes).

 [ 8 4 2 1 8 4 2 1 ]
   | | | | |  \|/
   | | | | |   type (0-6 normal pieces, 7 ghost)
   | | | | unused
   | | | falling  - set by set-cur-piece
   | | frozen     - set by freeze-cur-piece
   | compacting   - set and cleared by compact-well
   wall/bottom    - set by init-well

Gratitude

Special thanks to Devine Lu Linvega for creating Uxn and their guidance and encouragement throughout the development of fourtette and nux.

Thanks also to the people of #uxn for their help, feedback, and enthusiasm.