Just to be clear: While I did use Pygame to build the game, the AI is coded entirely from scratch without any additional ML or AI libraries.
@LIGHTBULBCODING5 ай бұрын
"Without using any libraries" *Proceeds to reference PyGame* Lol. Great video, and this is the only good tutorial that I have found, that shows you how to code the neural network from scratch. Thank you!
@MaxRohowsky5 ай бұрын
haha yes, I noticed that too late. I meant machine learning libraries :)
@raccoon_05 Жыл бұрын
You really deserve more subs/views. These vids are amazing. I haven't even finished this yet but learned so much so far 👍👍👍
@MaxRohowsky Жыл бұрын
Hey Raccoon, thanks, glad you find them useful :)
@cookiecrumbzi Жыл бұрын
I kid you not when I say I was trying to make a neural network from scratch using numpy like 5 days ago. The timing couldn’t have been better
@MaxRohowsky Жыл бұрын
Well here you go :) and you don't even need numpy!
@MrUnknown-il4pm Жыл бұрын
This looks awesome!
@MaxRohowsky Жыл бұрын
Thanks!
@Ayush-sz8ys4 ай бұрын
Hi, this was an amazing video. Though I really wished you made the functions in order of how they were needed instead of completing one file after another. But still, very good video! I really want to ask how you were able to implement such a complex algorithm from scratch. Where did you learn this from? Have you implemented this before in other projects? Also, your code structure was really neat, how did you come up with that?
@chillbeast_sheno Жыл бұрын
yes bro deserve more views yt algorth agree
@MaxRohowsky11 ай бұрын
Haha thanks!!
@felix_md642 ай бұрын
if we make more of champion babies instead of one, the algorithm shouldn't be faster ?
@MohamedOsman-p2q2 ай бұрын
is this a worth project on a resume
@rafedagamer5573 Жыл бұрын
I have an error at the end of part 1 where when the ai stops flapping it drops and doesn’t try to flap again should I be concerned or should I just keep going
@MaxRohowsky Жыл бұрын
hey :) I would recommend trying to understand why this is happening before proceeding.
@tomasznieznane875210 ай бұрын
It works great, but even when learned, players can't jump high enough to get through the pipes at the top. How to make it pass through all pipes?
@MaxRohowsky10 ай бұрын
Siema Tomasz :) I think the easiest way would be to adjust how the pipes spawn. That will spare you the effort of adjusting the net and bird. pozdrawiam!
@felix_md642 ай бұрын
why does the pipes blink when the one juste before is deleted ?
@qzdoiqzdkhqzdkjhgАй бұрын
i had the same issue, i think i did something wrong but i fixed it and it works normally, i just added "config.pipes[0].draw(config.window)" just after the "config.pipes.remove(p)" in the for loop since when we remove pipes p (that was pipes[0]) we dont draw the pipes[0] anymore but pipes[1] just became pipes[0] so it wasnt drawing for one frame
@qzdoiqzdkhqzdkjhgАй бұрын
when i say "i did something wrong" its bc i maybe didnt config the same way as in the video buts it doesnt matter it works normally this way
@felix_md64Ай бұрын
@@qzdoiqzdkhqzdkjhgokay thank you. I will go back to this project. I struggled a lot and the ai didn't work after multiple try so i rage quit lol
@qzdoiqzdkhqzdkjhgАй бұрын
@@felix_md64 i had problems with the neural network too but it was just a miss spell, sometimes u just have to read ur code again, patience always works
@zheli2417 Жыл бұрын
Hi love you video, what is the software you use to draw image thx
@MaxRohowsky Жыл бұрын
Hey, I just used photoshop.
@oisinforde6363 Жыл бұрын
Nice video, really well done. But I'm curious if you know how hard it would to do this without pygame
@MaxRohowsky Жыл бұрын
replacing pygame would be easy. The AI which is the hard part doesnt rely on pygame at all :D. So you only need to find another way to draw the boxes and lines that make the bird, pipes and ground
@Windswpt Жыл бұрын
@@MaxRohowsky It's really easy, actually. Most people overcomplicate it, but it's as simple as using a list and some ansi colors. I actually made a library to simplify the process further (when used right it can do some pretty cool stuff!)