24 Feb 2023
Boolzi is a game inspired by reading the book "Teach yourself game-programming in 21 days by André LaMothe (1994)" and originally written in 1997 for the MS-DOS operating system. It was also a way to apply the high school physics to something concrete and test how they work in practice.
It is a turn-based game where each player in turn tries to throw a ball and hit the red object floating in a pool, filled with green liquid, and sinking it. In each turn the places and height of the walls change as well as the position of the red ball.
The original game was written in C language. As part of experimenting with WebAssembly and relearning the C++ language the game was partly rewritten with SDL 2. The original graphics files were used as is and most of the logic as well. Preserving the original code that calculates the ball's trajectory, for example.
In the original game the speed was set by pressing down the Space key and keeping it pressed down until the speed indicator bar indicated a desired speed. This is why the speed value container is wide and has less height. It also had a setup screen where you could select the gravity (other than 9.8) as well as how many levels the game continued.
Thank you for trying it out!