Itch.io page (with compiled versions for Windows and Linux)
I really enjoyed putting together a 3D GDextension/C++ tutorial earlier this year, but I also wanted to gain more practice with 2D design. Therefore, I created a very simple math game that lets you practice (1) converting from hexadecimal to decimal and back and (2) multiplying two numbers. This game, like the 3D tutorial, was coded entirely in C++ using GDExtension–not because I think it will perform better in that language, but just because I wanted to get more experience with C++.
The game also lets you save results to a local .csv file, thus allowing you to see how your speed improves over time. At some point, I plan to create a separate Python script that will allow you to analyze and visualize your progress for each game mode.
The game is released under the MIT license, so you’re welcome to use the code and editor file for your own projects. I also did not use any generative AI tools to create this game.
I definitely don’t consider this game to be an exemplar of UI design or C++ code! However, given how few C++/GDExtension projects are available online, I thought it would be helpful to share it as a reference. (It doesn’t currently have step-by-step instructions, unlike the 3D GDextension/C++ tutorial or this C++ version of Godot’s Your First 2D Game, so those projects might have a bit more educational value.