Raffaello / open-tetris

remake of tetris in a soft enhannced form
0 stars 1 forks source link

define color map for generated polyominoes #3

Open Raffaello opened 6 years ago

Raffaello commented 6 years ago

mapping the polyonimoes generated, (index based?) or in the file next to the M value, the number to identify the color.

review later when it is required to draw them and have multiple possible polyominoes and customizable colors.

Raffaello commented 6 years ago
1 => Color.Red
2 => Color.Green
3 => Color.Yellow

the rappresentation of the color in the game grid is the values of those indexing.

To do after the logic represenation of the game: https://github.com/Raffaello/open-tetris/issues/12