Who's that Pokemon?!
A multiplayer Pokémon quiz
- Role: Developer
- Duration: 3 weeks
Context
During a course, I learned how to build a real-time application. This involved techniques for establishing an open connection between the client and the server. This allows you to send real-time data in both directions simultaneously.
I found this very interesting and had a nice idea for it, which eventually turned into a hobby project.
Concept
I recreated the well-known segment from Pokemon episodes called ‘Who's that Pokemon?!’ In this game, you have to guess which Pokemon is being depicted.
You can play this with several people at the same time. You all appear in a chat room where you try to guess correctly. The person who guesses correctly gets a point.
Development
To ensure that you can play this with several people at the same time, you need a server for everyone to connect to. The Express framework was chosen for this purpose. It allows you to quickly set up a simple server.
Instead of a framework, a templating engine was chosen. This is because a framework is more suited to a complex application, whereas here we are primarily dealing with a chat room where data is loaded dynamically.
The data used is retrieved from the official Pokémon API. The data is fetched on the server and sent to the various clients, ensuring it remains consistent.