AI learn boxing using neural networks and genetics algorithm. Made with Flutter and Flame package as game engine.
Work in progress
- Install Flutter
- Install Python 3 (only for sprites resizing)
- Clone this repository
- Add player sprites (see below)
- Run
flutter pub get
to install dependencies - Run
flutter run
to run the app
Player's sprites are not included in this repository because of copyright. You can get them from GameDev Market.
When you have download the sprites, decompress them, go to _PNG
folder and move the three folders Boxer01, Boxer02, Boxer03
to assets/sprites/ like this :
assets/sprites/Boxer01/...
assets/sprites/Boxer02/...
assets/sprites/Boxer03/...
Then from project's root folder run :
cd assets/ && python3 resizer.py && cd ..
If you want to use your own sprites, you have to adapt the code in lib/game/entities/entity_player.dart
- Fork this repository
- Create a new branch
- Make your changes
- Create a pull request