Commit graph

15 commits

Author SHA1 Message Date
Zed A. Shaw
0a9fa59365 The game engine now has two bonuses for long build streaks. +10% max hp or 1 free death. I'll be adding more but that's enough to work on the real UI. 2024-09-15 04:19:52 -04:00
Zed A. Shaw
07553400f5 Test suite now accurately runs the GameEngine FSM for multiple rounds. 2024-09-15 03:23:09 -04:00
Zed A. Shaw
9e6c05eccd GameEngine is now a state machine so I can push its design further and keep it solid. 2024-09-12 00:34:41 -04:00
Zed A. Shaw
453c50c563 Big cleanup of rampant using std. 2024-09-07 22:26:57 -04:00
Zed A. Shaw
fdb3f24377 Cleanup the engine since I won't do the brainfuck thing, then fix up the log a bit. 2024-09-02 16:13:21 -04:00
Zed A. Shaw
9a012813ae Game now keeps track of deaths, rounds, streaks and other fun stuff. You can also die finally. 2024-08-22 18:34:20 -04:00
Zed A. Shaw
4520e20ab7 Improve the GameEngine test. 2024-08-21 18:49:25 -04:00
Zed A. Shaw
9cc6724df8 Sort of working scrolling window thing. 2024-08-20 16:52:54 -04:00
Zed A. Shaw
4227ee1cdc Use an ostringstream for the output and make the test actually confirm the results. 2024-08-12 13:33:36 -04:00
Zed A. Shaw
38104f60f3 Looks like the brainfuck is working. It can do a hello world program. 2024-08-11 12:34:37 -04:00
Zed A. Shaw
52b59d38ad Move the tests to catch2 so I can get tap output for the game. 2024-08-10 06:59:28 -04:00
Zed A. Shaw
1fb99618bf A simple brainfuck interpreter for the game's idea. 2024-08-10 03:21:11 -04:00
Zed A. Shaw
984031bf33 Test passes now, and most of the gear is working, but now I think I can't use doctest because it doesn't support TAP output. 2024-08-09 23:16:00 -04:00
Zed A. Shaw
440be444ea Moved the game engine into its own unit and then made a failing test for it. 2024-08-09 23:01:06 -04:00
Zed A. Shaw
fb5bf9d733 A quick and dirty test with doctest. Should be good enough. 2024-08-09 12:47:44 -04:00