Pokétest is an interactive browser game, where you have to find the name of Pokémons!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
marchal f58f8a1545 initial commit, version 2.4 (r53) 3 months ago
artwork initial commit, version 2.4 (r53) 3 months ago
img initial commit, version 2.4 (r53) 3 months ago
pokemon initial commit, version 2.4 (r53) 3 months ago
LICENSE added compliant MIT license 3 months ago
README.md initial commit, version 2.4 (r53) 3 months ago
about.html initial commit, version 2.4 (r53) 3 months ago
backstretch-2.0.4.min.js initial commit, version 2.4 (r53) 3 months ago
flashdex.html initial commit, version 2.4 (r53) 3 months ago
flashdex.js initial commit, version 2.4 (r53) 3 months ago
index.html initial commit, version 2.4 (r53) 3 months ago
interface.js initial commit, version 2.4 (r53) 3 months ago
jquery-2.2.2.min.js initial commit, version 2.4 (r53) 3 months ago
pokemon.json initial commit, version 2.4 (r53) 3 months ago
poketest.js initial commit, version 2.4 (r53) 3 months ago
style.css initial commit, version 2.4 (r53) 3 months ago
waitforimages-2.2.0.min.js initial commit, version 2.4 (r53) 3 months ago

README.md

Pokétest

About

Around 2012, when I was still a computer science student, I found increasingly difficult the remember the name of all Pokémons. So I decided, as a way to be familiar with JavaScript (even though I’ve never touched it again after that) to program this little website: Pokétest, an interactive browser game, where you have to find the name of Pokémons in a limited time ; and Flashdex, which is a simple Pokédex with high resolution images.

Now, there are more than 800 of them, and it’s as useful as ever! The website features filters for all generations, eight languages settings (English, French, Deutsch, Korean, Japanese, Rōmaji, Traditional and Simplified Chinese) and four combinables modes (image visible or as a silhouette ; configurable number of questions or infinite). It can be played with the mouse or the keyboard (input 1, 2, 3, 4).

Planned updates

  • [v2.5] Complete 7G support with all Alolan forms and alternative forms
  • [v2.6] Complete 8G support when available
  • [v2.7] Mobile stylesheet support
  • [v2.8] Custom input answers for harder difficulty

Scripts

imagemagick can be extremely useful to work with batch of images. This script allows to resize a PNG image to a max width of 700px, without altering the height while and keeping the ratio.

convert '*.png[x700>]' -set filename:base "%[base]" "%[filename:base].png"

Licenses

This website has been developed in JavaScript using the jQuery library. It uses the Backstretch plugin to have a neat background image, and the waitForImages plugin. All of those components are licensed under the MIT license, as is this website’s source code. This website is HTML5 and CSS3 compliant.

The Pokémon names, the associated artworks and the Pokémon licence is trademarked by Nintendo and The Pokémon Company, 1996 - 2019.

All the Pokémon artworks were taken from Bulbapedia, that I’d like to thank for their huge work for the Pokémon community.

Feel free to reuse this source code for others themes. For instance, I’d love to see a similar concept for all Digimon monsters!