Frogger
An object-oriented version of the classic arcade game, in plain C++ with a tiny drawing library.
Play it
The original C++, compiled for the browser. Arrow keys to hop, Enter to start, Esc to give up.
Reach the lily pads at the top; every four, the game speeds up. The menu switches the game to Croatian, its original language.
A Frogger clone built with nothing but C++ and the Immediate2D drawing framework, as my project for the object-oriented programming course. The documentation (in Croatian) walks through how it plays, its classes and how to build it.
You can play it right here. It isn’t a remake: it’s the same Frogger.cpp, compiled to WebAssembly with Emscripten. Immediate2D only runs on Windows, so the browser build swaps in a small stand-in with the same functions (drawing pixels, rectangles, circles and text, reading keys and the mouse). Two things changed. The frame timer: on Windows it spins in a loop until 75 ms have passed, which would freeze a browser tab, so here it waits instead (same speed, same game). And it now speaks English by default, with a button on the menu to switch back to the original Croatian.
His cousin hops along the bottom of every page of this site. Click him if you dare.