This project was bootstrapped with Create React App.
This project was created for the Information Processing curricular course (Processamento de Informação) at ISCTE. The objective of this course is to introduce students to the fundamentals of randomness in computing and communication engineering systems. To demonstrate the different kinds of application of random number generators, the goal was to create algorithms that transform a random number generated by Math.random()
, which follows a uniform distribution, into any distribution we would like, like a binary distribution, Gaussian distribution, etc.
The files for generating a random variable (aka VA) can be found at /src/VAs
and the constants configuration can be found at src/config/config.js
.
You'll need NODE.js and NPM installed. Then run this in the project directory:
npm install
In the project directory, you can run:
npm start
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
To play the game, just:
1 - Click on the Pokemon you desire to try and catch
2 - Click on the Pokeball to throw it
3 - Fingers crossed 🤞
4 - Failed to catch it? Go back to step 2 before the Pokemon runs away!
5 - You catch it? Congratulations! 🎉
6 - Go back to town and try another one
7 - How many can you catch?
To learn more about the project and the random variables distrubution, you can check it the project presentation slides (note: It's in portuguese).
To see the current values of the random variables you can check "Stats For Nerds" in the screen.
This project is licensed under the BSD License - see the LICENSE file for details
Pokémon sprites are from the © Pokémon Database, 2008-2020.
Pokémon images & names © 1995-2020 Nintendo/Game Freak.