romaingyh / bagarre

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bagarre

AI learn boxing using neural networks and genetics algorithm. Made with Flutter and Flame package as game engine.

Work in progress


home screen


How to run

  1. Install Flutter
  2. Install Python 3 (only for sprites resizing)
  3. Clone this repository
  4. Add player sprites (see below)
  5. Run flutter pub get to install dependencies
  6. Run flutter run to run the app

Player sprites

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


How to contribute

  1. Fork this repository
  2. Create a new branch
  3. Make your changes
  4. Create a pull request

About


Languages

Language:Dart 35.0%Language:C++ 31.0%Language:CMake 25.6%Language:HTML 2.5%Language:Swift 2.4%Language:C 1.9%Language:Python 1.4%Language:Kotlin 0.2%Language:Objective-C 0.1%