A simple HTML5 game that generates silhouettes from images and gets the user to guess the name of the Pokémon shown.
A simple HTML5 game that generates silhouettes from images and gets the user to guess the name of the Pokémon shown.
See https://gearoid.me/pokemon/ for a live demo.
A browser-based game in which Pokémon silhouettes are shown to the user and they guess which Pokémon it is.
You will need node and npm set up to get the code running locally. You will also need to download the Pokémon images and sounds, because they are not included in this repository. You can download them from https://gearoid.me/downloads/pokemedia.zip. Unzip this and put images/ and sounds/ in the public directory.
Once you have done this, install the dependencies by running:
npm installTo run the site locally, you can then run:
npm run serveTo build the site to be deployed online, run:
npm run buildThere is some basic testing set up using Playwright. It does a full playthrough of the game on default settings in Chrome, Firefox and Safari. To run these tests, run:
npm testThis code is licensed under a Creative Commons Attribution-ShareAlike 4.0 International.
All the Pokémon names, images and sounds are copyrighted by Nintendo.
Flag icons are from https://github.com/lipis/flag-icons
No open issues yet, or sync has not completed.