repl.it
@themaka/

gpFlappyBird

Pygame

Learn to play flappy bird using evolutionary AI and you can compete with the AI

fork
loading
Files
  • main.py
  • img
  • snd
  • cgp.py
  • game.py
  • LICENSE
  • nohup.out
  • README.md
  • scenes.py
  • settings.py
  • sprites.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
"""
Entrance of the program.
Check README.md for more details on how to evolve and play this game!
"""
from game import *


def main():
    game = Game()
    while game.running and game.current_generation <= N_GEN:
        game.reset()
        game.run()


if __name__ == '__main__':
    main()
Fetching token
?