This is our project about Solving the classic Pikachu
Run the Pokemon_setup.exe
store in \Pokemon Final
- Click 'Yes' to allow app to makes change to your devide
- Click 'Tiến' 2 times to continue
- Browse to the folder where you want to store the game, then click 'Cài đặt'
When it's done, it will exit automatically
Install requirements via pip
pip install numpy scipy matplotlib jupyter cv2 keyboard pyautogui
All the final codes are stored in \Pokemon Final
The \Pokemon Final\Solving Pokemons Final.ipynb
notebook is our final work.
In short, it contains:
- Technique to detect the board in Pikachu game
- Technique to detect the similar Pokemon
- Search the way to similar Pokemon and return which one is legal
- Render the solution
For demonstration,
- Clone this repository
- Install all the requirements
- Open Pikachu game
- Play the game
Control + F
to full-screen- Access to
\Pokemon Final
cd 'your_folder\Image-Processing\Pokemon Final\'
- Run cmd/terminal
python pikachu_solver_final.py
- Back to the game interface, and hold:
Space
if it's Static phaseLeft
if it's force to the Left phaseUp
if it's fall Up phaseRight
if it's force to the Right phaseDown
if it's fall Down phase