Commit graph

26 commits

Author SHA1 Message Date
Zed A. Shaw
f5f8cdba37 Use main.cpp and disable healing for now. 2025-04-17 22:41:45 -04:00
Zed A. Shaw
2d81f900be Updated to use the latest libgit2 1.9.0 and GCC14. 2025-04-16 23:44:22 -04:00
Zed A. Shaw
37d28094ec Got some kind of jank button and mouse events coming in, now just need to connect them to the GUI to detect button presses and other interaction. 2024-09-17 11:55:01 -04:00
Zed A. Shaw
56663b9052 Better UI layout and actually tracking deaths. 2024-09-16 18:19:54 -04:00
Zed A. Shaw
95cd84b09d Get the build fail to actually play and keep the building sound looping until the build is done. 2024-09-16 17:24:02 -04:00
Zed A. Shaw
2035a6dd00 DBC now works and has a test. 2024-09-16 09:20:35 -04:00
Zed A. Shaw
f632f2d5af FSM is now even cleaner, as long as you don't look at that CPP macro. 2024-09-16 08:05:43 -04:00
Zed A. Shaw
40ba7f0b66 Logging for the FSM works better now. 2024-09-16 07:05:40 -04:00
Zed A. Shaw
0aeb5b4ceb Make the FSM_STATE work better with optional loggins set by a define and standardize on using enum class by default. 2024-09-16 06:53:49 -04:00
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
ea89e083dd The std::async calls need a lock on them. 2024-09-15 02:24:41 -04:00
Zed A. Shaw
4b2ed2951e Game engine now handles damage types but Ineed to refine the state machines so some of them can take additional data. 2024-09-12 01:25:23 -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
1c89afaee2 Setting up for a redesign of the engine to have the real game mechanics. Using the fsm.hpp code. 2024-09-11 00:18:32 -04:00
Zed A. Shaw
daf9a3cc07 Coroutines are mostly working but they're kind of junk anyway. Feel free to tinker with this if you like. 2024-09-05 18:48:15 -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
c52bc8fafd Make the game engine use a start/end round and do healing if you don't make any mistakes. 2024-08-21 18:44:32 -04:00
Zed A. Shaw
e35536c7e3 More refactoring in prep for a real design. 2024-08-21 18:34:46 -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
5b18849ddc Just a little cleanup before getting serious again. 2024-08-10 15:09:54 -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
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