azurelunatic: Vivid pink Alaskan wild rose. (Default)
Azure Jane Lunatic (Azz) 🌺 ([personal profile] azurelunatic) wrote2003-04-30 10:09 pm

Stuff (to be exported to my pro journal later)



Game field


-row array
-point accumulator


??






shape


-gridArray: has 16 elements of the square type, filled by constructor


+ rotateShape(L/R)
+ slide(L/R)
+ Throw
+ Drop
+ GenerateShape[constructor]

  • random generate a-g

  • look up appropriate shape in index

  • fill grid








Row


- SquareArray


+CheckIfAllSquaresFull: calls QuerySquare for all squares in SquareArray
+RowFull: calls EmptyRow, YoPoints
-EmptyRow: calls EmptySquare for all squares in SquareArray
-YoPoints: does stuff involving points






Square


-SquareFlag: bool


+FillSquare
+EmptySquare
+QuerySquare