Adding Games
We were tasked with integrating 25 non-interactive games into our client's app, a challenge we accepted with enthusiasm. This blog post aims to share our experience, the hurdles we encountered, and the innovative solutions we deployed to make this integration a success. Our initial strategy for incorporating these games into the app was straightforward. We decided to create a separate .tsx file for each game. This approach seemed logical at the beginning, as it allowed us to structure each game independently. We proceeded to create skeleton files for each game, laying the groundwork for what we thought would be a smooth development process. As we delved deeper into the development phase, we began to encounter several challenges. The primary issue was the realization that managing separate .tsx files for each game would not only be cumbersome but also contrary to good coding practices. The games, despite their variety, shared a common format, including elements such as images, audio...