This project is a trial to train a neural network to play Facebook’s Jumpy Jumpy Game
The full source code is available under GPL-3.0 License in my Github repository ghaiszaher/JumpyNN
Make sure that the following are installed:
For this version, auto-calibration was not made. You need to open Facebook’s Jumpy Jumpy Game and go to the file “jumpy_settings” to adjust the following:
Template files are responsible for determining wether the current screen is Main Menu, Scoreboard or Continue Playing. They are located in templates folder:
You need to replace these 3 images with images taken from your screen inside the gameplay.
From inside the game, make sure to adjust the ball color to the Pink one, otherwise you will need to change the colors settings.
Run the file “record.py” and play the game to collect images & outputs for your gameplay. A new folder will be created “gameplay_logs” that contains images + mouse dragging movement info during the gameplay.
Run the file “run.py” to test
Trained network’s gameplay:
If you’re trying to run this on Windows, you might have some issues with mouse drag using pyautogui library. I tested it on Ubuntu 18.04.2 LTS.