~sircmpwn/tetrominoes

7a36af159dd3286f8de8e7317dc450baad390337 — Drew DeVault 2 years ago 448076c
Add secondary colors
1 files changed, 7 insertions(+), 1 deletions(-)

M board.ha
M board.ha => board.ha +7 -1
@@ 10,7 10,10 @@ type color = enum u8 {
	RED,
	BLUE,
	GREEN,
	MAX = GREEN,
	PURPLE,
	YELLOW,
	CYAN,
	MAX = CYAN,
};

const color_map: [_](u8, u8, u8) = [


@@ 18,6 21,9 @@ const color_map: [_](u8, u8, u8) = [
	(255, 0, 0),
	(0, 255, 0),
	(0, 0, 255),
	(255, 0, 255),
	(255, 255, 0),
	(0, 255, 255),
];

type board = struct {