Python Flappy Bird AI Tutorial (with NEAT) - Moving Birds
Why Stack Overflow recommends it
Stack Overflow users link it because askers are following this tutorial series and cite it when posting errors from the Bird class code they copied.
Recommended by 1 people across 1 different months, 2020 to 2021.
What it is
A Tech With Tim tutorial that continues a Flappy Bird game in Python with pygame, finishing the Bird class and drawing elements to the screen to test the game. It is part of a series that later adds the NEAT algorithm so an AI learns to play.
What people said
Recommends EL Micha · 2021-09 · Stack Overflow · on “I can not open a Preview for my software in gitpod”
I am trying to make that flappybirdAI tutorial, but I can't control my work, as I can't get a preview from it. I am using this tutorial: [this video] (this is also my actual status at 16:52, WHERE HE IS OPENING A PREVIEW) And here is the repository: [LINK] It is complete and working, but I can't find out, how the preview ist started. I already tryed just adding my new trainingfile into that repository (can't get a review from it) And also tryed to create a new one with my own package.json (review does not work) In every tutorial i find, package.json seems to be necessary, but in that repository is no ".json". So can anybody help me getting a preview from that running file, please? (I can run it b
Cites user13120545 · 2020-03 · Stack Overflow · on “(TypeError: Bird() takes no arguments.)”
Hi guy I am still pretty new at python and I decided to take on this project called ( "Python Flappy Bird AI Tutorial(with NEAT) - Moving Birds [this video] , I know ima get some SH*# for taking on a more advanced project but can I get some help, kind of committed now Thank You!. I am using Visual Studio Code , with python 3.7.7, pygame 1.9.6. import neat import pygame import time import os import random WIN_WIDTH = 600 WIN_HEIGHT = 800 BIRD_IMGS = pygame.transform.scale2x(pygame.image.load(os.path.join("imgs", "bird1.png"))), pygame.transform.scale2x( pygame.image.load(os.path.join("imgs", "bird2.png"))), pygame.transform.scale2x(pygame.image.load(os.path.join("imgs", "bird3.png"))) PIPE_IMG = p
Cites Arabh · 2020-11 · Stack Overflow · on “AttributeError: 'builtin_function_or_method' object has no attribute 'blit'”
I am making a flappy bird game A.I, using pygame and neat following a tutorial series Tutorial link [this video] , and I am getting this error message: Traceback (most recent call last): File "c:\Users\pc\Desktop\PYTHON\Flappy bird AI\flappy_bird.py", line 108, in <module> main() File "c:\Users\pc\Desktop\PYTHON\Flappy bird AI\flappy_bird.py", line 104, in main draw_window(win, bird) File "c:\Users\pc\Desktop\PYTHON\Flappy bird AI\flappy_bird.py", line 87, in draw_window Bird.draw(bin) File "c:\Users\pc\Desktop\PYTHON\Flappy bird AI\flappy_bird.py", line 79, in draw win.blit(rotated_image, new_rect.topleft) AttributeError: 'builtin_function_or_method' object has no attribute 'blit' Here's the cod