Commit Graph

  • 62785d463c This is how you can lock meson build dependencies. Not sure why I didn't think of this before but you just put the .wrap files somewhere and instead of meson wrap install you copy them into subprojects. master Zed A. Shaw 2024-10-16 19:48:23 -0400
  • 678f5cc917 Quick fix for the clock to not start right away. Zed A. Shaw 2024-09-27 16:34:58 -0400
  • fff4e0fbee Now have a timer going with some fancy buttons. Next step a pomodoro time that counts down and if you don't finish your task in that time you take big damage. Zed A. Shaw 2024-09-24 18:01:51 -0400
  • 47c9cb719e I now have a start/stop button for the pomodoro timer. Zed A. Shaw 2024-09-24 17:26:39 -0400
  • e1c667d816 The images for my reactions to your bad code are now up. Went with a more 'pixel video' look than a pixel art hand drawn thing. Zed A. Shaw 2024-09-20 18:47:14 -0400
  • 581e5b4a60 Simplify the color system by using a simple Values system for the dark to light. Zed A. Shaw 2024-09-19 11:44:34 -0400
  • 3cb4fcfeb5 Stupid self-portrait for the game's 'bad guy'. Zed A. Shaw 2024-09-18 10:46:17 -0400
  • 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. Zed A. Shaw 2024-09-17 11:55:01 -0400
  • 9741df30ab Fix a typo. Zed A. Shaw 2024-09-16 18:23:52 -0400
  • 56663b9052 Better UI layout and actually tracking deaths. Zed A. Shaw 2024-09-16 18:19:54 -0400
  • 662e4bf918 Committed a broken file. Zed A. Shaw 2024-09-16 17:25:04 -0400
  • 95cd84b09d Get the build fail to actually play and keep the building sound looping until the build is done. Zed A. Shaw 2024-09-16 17:24:02 -0400
  • 2035a6dd00 DBC now works and has a test. Zed A. Shaw 2024-09-16 09:20:35 -0400
  • f632f2d5af FSM is now even cleaner, as long as you don't look at that CPP macro. Zed A. Shaw 2024-09-16 08:05:43 -0400
  • c9425aebf9 Refined the FSM to allow easily passing in data to the even handler and state functions. Zed A. Shaw 2024-09-16 07:50:04 -0400
  • 40ba7f0b66 Logging for the FSM works better now. Zed A. Shaw 2024-09-16 07:05:40 -0400
  • 0aeb5b4ceb Make the FSM_STATE work better with optional loggins set by a define and standardize on using enum class by default. Zed A. Shaw 2024-09-16 06:53:49 -0400
  • 8df6898d0b Update status. Zed A. Shaw 2024-09-15 04:21:01 -0400
  • 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. Zed A. Shaw 2024-09-15 04:19:52 -0400
  • 07553400f5 Test suite now accurately runs the GameEngine FSM for multiple rounds. Zed A. Shaw 2024-09-15 03:23:09 -0400
  • 07a212d9d7 Share my status notes. Zed A. Shaw 2024-09-15 02:24:58 -0400
  • ea89e083dd The std::async calls need a lock on them. Zed A. Shaw 2024-09-15 02:24:41 -0400
  • 4b2ed2951e Game engine now handles damage types but Ineed to refine the state machines so some of them can take additional data. Zed A. Shaw 2024-09-12 01:25:23 -0400
  • 9e6c05eccd GameEngine is now a state machine so I can push its design further and keep it solid. Zed A. Shaw 2024-09-12 00:34:41 -0400
  • 1c89afaee2 Setting up for a redesign of the engine to have the real game mechanics. Using the fsm.hpp code. Zed A. Shaw 2024-09-11 00:18:32 -0400
  • 7c9bea81b2 The UI is _finally_ responsive while the builder runs. Zed A. Shaw 2024-09-10 23:41:50 -0400
  • 5ae24d9b0a Moved the main event loop out of GUI so it's not so tightly coupled to everything else. Zed A. Shaw 2024-09-10 22:58:45 -0400
  • c0ad0c8d23 Rework the GUI so it uses SFMLBackend by moving the SoundQuip into SFMLBackend. Zed A. Shaw 2024-09-10 22:40:02 -0400
  • 1badbd5942 Improved the makefile dramatically and updated the README to use it. Zed A. Shaw 2024-09-10 21:48:14 -0400
  • 152d4cf037 A bit more source refactoring. Zed A. Shaw 2024-09-10 21:29:01 -0400
  • cc3bb171e1 Restructing the source layout to make it nicer. Zed A. Shaw 2024-09-10 21:17:15 -0400
  • fff182b457 Refactored out the main_loop so that it's not tightly coupled inside builder, and in the process found I was accidentally copying GUI and GameEngine because Builder wasn't using a &ref for them. Now they don't have a copy constructor to catch that. Zed A. Shaw 2024-09-10 04:38:21 -0400
  • a7c5de6ac3 Builder is now using the FSM I wrote. Still not as clean as I like but big improvement. Zed A. Shaw 2024-09-10 01:56:22 -0400
  • dcf1a4020d Extract the FSM before beginning to use it. Zed A. Shaw 2024-09-10 00:32:15 -0400
  • b9025be45b After trying a few SFM libraries I found they're just too much for what I need, so here's the start of a simple one I can use. Zed A. Shaw 2024-09-09 22:21:13 -0400
  • 356314406f Now using a std::async and future to do an async popen but I also need the FILE read in read_line to be async, so now I'm at a point where I have to refactor into a better statemachine. Zed A. Shaw 2024-09-09 18:57:08 -0400
  • 501cb5fe25 Add information on configuration to the README.md Zed A. Shaw 2024-09-09 01:28:30 -0400
  • 50c0ee3424 Reworked the builder code to setup for more async running of the build. Zed A. Shaw 2024-09-09 01:10:47 -0400
  • bc3790efd3 Forgot file, it will go away soon though. Zed A. Shaw 2024-09-09 00:50:15 -0400
  • 0bac4dbfd9 First step in refactoring out the build running from the gui for later thread fiascos. Zed A. Shaw 2024-09-08 20:01:10 -0400
  • b0c9fefa9b Completely purge the coroutine stuff from the project. Zed A. Shaw 2024-09-07 22:48:03 -0400
  • 453c50c563 Big cleanup of rampant using std. Zed A. Shaw 2024-09-07 22:26:57 -0400
  • fcd1225370 Last commit didn't build, this fixes it but next I'm removing it. Zed A. Shaw 2024-09-07 16:33:08 -0400
  • cacf72604f Very janky barely working coroutine version of the game, the UI is more responsive, but not as much as it should be. Still, take a look and study the coro.hpp and other files in this commit for some coroutine stuff. Zed A. Shaw 2024-09-06 23:35:17 -0400
  • 8f7235ade1 Coroutines mostly working, although not nearly as fancy as cppcoro. I'll try them out in my code and if I like it I'll probably just go use cppcoro. Zed A. Shaw 2024-09-06 22:24:42 -0400
  • daf9a3cc07 Coroutines are mostly working but they're kind of junk anyway. Feel free to tinker with this if you like. Zed A. Shaw 2024-09-05 18:48:15 -0400
  • 8d1570f44a Figured out threads for the next round. Zed A. Shaw 2024-09-02 17:46:45 -0400
  • fdb3f24377 Cleanup the engine since I won't do the brainfuck thing, then fix up the log a bit. Zed A. Shaw 2024-09-02 16:13:21 -0400
  • 8edb37ceb4 Tried to avoid makefile for as long as possible but it's just too useful. Zed A. Shaw 2024-09-02 15:43:21 -0400
  • 4bd2d12219 The new SFMLGui is now worked into the code and barely works. Cleanup is next. Zed A. Shaw 2024-09-01 18:11:33 -0400
  • 70d1389c54 Move the GUI to its own file for the next stage. Zed A. Shaw 2024-09-01 16:43:15 -0400
  • 58a5a415ec Now using a simple text size grid system for laying out the GUI. Zed A. Shaw 2024-08-31 18:06:15 -0400
  • fda281be1d Refactored into a class. Zed A. Shaw 2024-08-31 17:11:12 -0400
  • 846d5964fe GUI mostly laid out but the code needs more refining and cleanup. Currently it creates too many assets in the render function. Zed A. Shaw 2024-08-29 18:47:03 -0400
  • e7a226f1db Log window is now working. Zed A. Shaw 2024-08-29 17:21:39 -0400
  • 8707982907 Have a basic template for the gui up, but obviously not using it right. The ImGui does pop up when I hit space, but fails a second time claiming I need to run render again. Needs more research. Zed A. Shaw 2024-08-28 23:55:07 -0400
  • df6944b0fb A really bad quick SFML based UI to get started with the FTXUI removal, and a slight reworking of the default .tarpit.json so that it's just a sample and I can use my own config for my dev and have different sounds. Zed A. Shaw 2024-08-28 18:56:43 -0400
  • 015b4aac45 Basic sfml window going for the gui redesign. Zed A. Shaw 2024-08-27 17:12:48 -0400
  • 29a6a565d9 Document the config file real quick. Zed A. Shaw 2024-08-27 16:36:05 -0400
  • fee724e637 Fix a bug where a failinb build that causes death would play both the death sound and build failed sound. Zed A. Shaw 2024-08-27 16:34:38 -0400
  • e8163bbeaf Make some temporary sounds for each of the build actions. Zed A. Shaw 2024-08-27 16:24:00 -0400
  • eb6c7b0e33 Working config file also configures the build and git dir. Zed A. Shaw 2024-08-26 19:32:39 -0400
  • 90f4f727ba I can now load a json config file name .tarpit.json to configure everything. It now works to configure the sounds used. Zed A. Shaw 2024-08-26 19:04:50 -0400
  • 268d8abf52 Sounds are working...BUT...I have to make ones I own so hang on until I do that. Zed A. Shaw 2024-08-25 22:09:13 -0400
  • 7309ec2f40 Now I can play a sound! Yay! Zed A. Shaw 2024-08-24 17:33:48 -0400
  • f83c0c7ff9 Rework the GUI so that I can place my face while I stream. Zed A. Shaw 2024-08-23 16:06:40 -0400
  • 07677068ab Reformat. Zed A. Shaw 2024-08-23 15:34:11 -0400
  • f56fd26e85 Forgot the libgit2 patch. Zed A. Shaw 2024-08-23 14:53:30 -0400
  • 8f48627c72 Rough cut on install instructions. Zed A. Shaw 2024-08-23 14:39:18 -0400
  • f73d3fbfd8 Added in an openal dependency for today's stream. Zed A. Shaw 2024-08-23 14:11:31 -0400
  • 9a012813ae Game now keeps track of deaths, rounds, streaks and other fun stuff. You can also die finally. Zed A. Shaw 2024-08-22 18:34:20 -0400
  • a13704fe33 Got a simple GUI layout working for the most part. Zed A. Shaw 2024-08-22 17:59:53 -0400
  • 4520e20ab7 Improve the GameEngine test. Zed A. Shaw 2024-08-21 18:49:25 -0400
  • c52bc8fafd Make the game engine use a start/end round and do healing if you don't make any mistakes. Zed A. Shaw 2024-08-21 18:44:32 -0400
  • e35536c7e3 More refactoring in prep for a real design. Zed A. Shaw 2024-08-21 18:34:46 -0400
  • b9e9119832 A bit less wait time before running the build so it's more responsive. Zed A. Shaw 2024-08-20 18:04:59 -0400
  • ceba46c658 GUI is now in its own unit. Zed A. Shaw 2024-08-20 18:02:46 -0400
  • 6d4aa9390a First kind of working FTXUI for the game. Zed A. Shaw 2024-08-20 17:29:58 -0400
  • 6fc74ca199 DBC didn't work on its own. Needed the functional stuff to get the lambdas. Zed A. Shaw 2024-08-20 17:29:43 -0400
  • 9cc6724df8 Sort of working scrolling window thing. Zed A. Shaw 2024-08-20 16:52:54 -0400
  • 4227ee1cdc Use an ostringstream for the output and make the test actually confirm the results. Zed A. Shaw 2024-08-12 13:33:36 -0400
  • 38104f60f3 Looks like the brainfuck is working. It can do a hello world program. Zed A. Shaw 2024-08-11 12:34:37 -0400
  • 5b18849ddc Just a little cleanup before getting serious again. Zed A. Shaw 2024-08-10 15:09:54 -0400
  • 52b59d38ad Move the tests to catch2 so I can get tap output for the game. Zed A. Shaw 2024-08-10 06:59:28 -0400
  • 1fb99618bf A simple brainfuck interpreter for the game's idea. Zed A. Shaw 2024-08-10 03:21:11 -0400
  • 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. Zed A. Shaw 2024-08-09 23:16:00 -0400
  • 440be444ea Moved the game engine into its own unit and then made a failing test for it. Zed A. Shaw 2024-08-09 23:01:06 -0400
  • fb5bf9d733 A quick and dirty test with doctest. Should be good enough. Zed A. Shaw 2024-08-09 12:47:44 -0400
  • 4365bfa98d A thread version of a UI that updates the the background. Zed A. Shaw 2024-08-09 12:31:38 -0400
  • 20999eddd7 Finally got the buttons working on a simple UI that also does other things behind the scenes. Need to study FTXUI more though as I didn't catch the error with Render(). Zed A. Shaw 2024-08-09 09:41:52 -0400
  • aee2ac5b27 Rename the hack spike of the game idea to its final name. Start a test of FTXUI for the game. Zed A. Shaw 2024-08-06 01:38:28 -0400
  • 00597c0aaa A bit of restructuring and some color output for fun. Zed A. Shaw 2024-08-06 01:02:08 -0400
  • 5c1b6d9243 Way quicker and easier to simply use the .gitignore to figure out if an important file has changed. This is probably chock full of bugs and memory leaks but it is working. Zed A. Shaw 2024-08-04 08:51:22 -0400
  • 83b6aa7cd0 I now have the kernel of the game prototyped. Zed A. Shaw 2024-08-01 20:59:34 -0400
  • f1ee5e82f4 The watchgit works but I don't think I really need libgit2 at all if I can just process the .gitignore correctly. Zed A. Shaw 2024-08-01 18:30:29 -0400
  • 899e481c9d A little better build but I really need to clean this up and use a state machine to handle the process. Zed A. Shaw 2024-08-01 07:01:27 -0400
  • 93b181cdbc Quick attempt at an xmake.lua build. Doesn't work. Zed A. Shaw 2024-08-01 07:01:04 -0400
  • 09d8fe3c01 Using a hack to make makeprg run Meson Zed A. Shaw 2024-07-30 16:48:07 -0400
  • 374e50a75b Don't need this include. Zed A. Shaw 2024-07-30 06:05:45 -0400
  • 5f87d9846c First drop the game's core mechanic that compiles. Zed A. Shaw 2024-07-30 06:01:39 -0400