I have always been interested in games, just for fun, nothing serious. A game is IMHO the most difficult piece of software to write. Think for a second. It needs support for user input devices (mouse, keywords, gamepads, etc.), graphics (2D or 3D), sounds and music, physics, AI, networking when playing with more players and it has to perform really, really fast. That’s not the typical PHP web, is it? Today, I would like to present my first really small and silly game, and probably the last one :) for iOS/Android and the technologies behind it. Hope you like it.
Let’s review all the projects and technologies used.
Ionic is the beautiful, open source front-end SDK for developing hybrid mobile apps with web technologies. As a killer feature, “ionic resources” that generates icons and splash screens for all devices and device sizes with a single command.
I’m generating the levels automatically using the Symfony Console Component and a backtracking algorithm. In such algorithms, using Value Objects is especially interesting for keeping immutable complex data structures such as trees.
Hope you like it.