life-pd.git
15 months agoRefactor draw logic for use in running mode
JC [Mon, 31 Jul 2023 01:17:31 +0000 (20:17 -0500)]
Refactor draw logic for use in running mode

15 months agoRename rects to cells
JC [Mon, 31 Jul 2023 01:13:27 +0000 (20:13 -0500)]
Rename rects to cells

15 months agoAllow pressing "B" to begin running automata
JC [Mon, 31 Jul 2023 01:11:43 +0000 (20:11 -0500)]
Allow pressing "B" to begin running automata

It doesn't run yet, but pressing B saves the state of the game and
prevents player input

15 months agoAllow toggling liveness of cells
JC [Mon, 31 Jul 2023 01:07:20 +0000 (20:07 -0500)]
Allow toggling liveness of cells

15 months agoEncode height/width in constants
JC [Mon, 31 Jul 2023 00:48:38 +0000 (19:48 -0500)]
Encode height/width in constants

15 months agoActually allow selecting grid rectangle now
JC [Mon, 31 Jul 2023 00:46:25 +0000 (19:46 -0500)]
Actually allow selecting grid rectangle now

This is a bit like snake!

15 months agoAllow "selecting" a cell, and draw it as filled in
JC [Mon, 31 Jul 2023 00:41:17 +0000 (19:41 -0500)]
Allow "selecting" a cell, and draw it as filled in

Selection is hardcoded to 1,1 for now

15 months agoTurn rect values in to maps
JC [Mon, 31 Jul 2023 00:39:49 +0000 (19:39 -0500)]
Turn rect values in to maps

This will be useful later for determining live/deadness

15 months agoMake a 2 dimensional array of rectangles
JC [Mon, 31 Jul 2023 00:06:35 +0000 (19:06 -0500)]
Make a 2 dimensional array of rectangles

15 months agoDraw many rectangles
JC [Mon, 31 Jul 2023 00:02:19 +0000 (19:02 -0500)]
Draw many rectangles

For loop iteration, table iteration, and rectangles drawn diagonally

15 months agoDraw a rectangle to the screen
JC [Sun, 30 Jul 2023 23:57:39 +0000 (18:57 -0500)]
Draw a rectangle to the screen

15 months agoInvert coloration on A button press
JC [Sun, 30 Jul 2023 23:30:06 +0000 (18:30 -0500)]
Invert coloration on A button press

15 months agoInitial Commit
JC [Sun, 30 Jul 2023 23:10:55 +0000 (18:10 -0500)]
Initial Commit

Project skeleton