Skip to content

Commit 9a8f2d6

Browse files
committed
adding readme
1 parent b1db646 commit 9a8f2d6

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# AI Flappy Bird
2+
This project is to implement an AI that can learn to play Flappy Bird itself.
3+
4+
![demo](demo.gif)

demo.gif

7.09 MB
Loading

main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def eval_genome(genomes, config):
163163
clock = pygame.time.Clock()
164164
score = 0
165165
while run:
166-
clock.tick(200)
166+
clock.tick(50)
167167

168168
for event in pygame.event.get():
169169
if event.type == pygame.QUIT:

0 commit comments

Comments
 (0)