can you build one for this? http://kookiekrak.itch.io/flappy-pipes
Hacking Flappy Bird with Machine Learning
31–40 of 56 posts
Re: Hacking Flappy Bird with Machine Learning
#32I really want to build a Lego Mindstorms robot (or similar) that watches my phone with a webcam, holds a stylus, and plays Flappy Bird. I have played enough (high score 194) that I am pretty sure I know the right strategy, I just want to take human error out of the equation. Are there open source vision libraries that are low-latency enough to play this in real time? Assuming the robot could keep up with some regular…
holy shit you sound like a crack addict (only with flappy bird) - they say it's addictive but you're taking this to another level. "Man I need to do a Lego Mindstorms robot with a webcam and stylus and OpenCV - I've gotten to 194 but I NEED more. I need to take the human element out of this equation...."
Re: Hacking Flappy Bird with Machine Learning
#33I really want to build a Lego Mindstorms robot (or similar) that watches my phone with a webcam, holds a stylus, and plays Flappy Bird. I have played enough (high score 194) that I am pretty sure I know the right strategy, I just want to take human error out of the equation. Are there open source vision libraries that are low-latency enough to play this in real time? Assuming the robot could keep up with some regular…
holy shit you sound like a crack addict (only with flappy bird) - they say it's addictive but you're taking this to another level. "Man I need to do a Lego Mindstorms robot with a webcam and stylus and OpenCV - I've gotten to 194 but I NEED more. I need to take the human element out of this equation...."
Re: Hacking Flappy Bird with Machine Learning
#34I really want to build a Lego Mindstorms robot (or similar) that watches my phone with a webcam, holds a stylus, and plays Flappy Bird. I have played enough (high score 194) that I am pretty sure I know the right strategy, I just want to take human error out of the equation. Are there open source vision libraries that are low-latency enough to play this in real time? Assuming the robot could keep up with some regular…
Re: Hacking Flappy Bird with Machine Learning
#35Re: Hacking Flappy Bird with Machine Learning
#36Re: Hacking Flappy Bird with Machine Learning
#37I really want to build a Lego Mindstorms robot (or similar) that watches my phone with a webcam, holds a stylus, and plays Flappy Bird. I have played enough (high score 194) that I am pretty sure I know the right strategy, I just want to take human error out of the equation. Are there open source vision libraries that are low-latency enough to play this in real time? Assuming the robot could keep up with some regular…
holy shit you sound like a crack addict (only with flappy bird) - they say it's addictive but you're taking this to another level. "Man I need to do a Lego Mindstorms robot with a webcam and stylus and OpenCV - I've gotten to 194 but I NEED more. I need to take the human element out of this equation...."
Re: Hacking Flappy Bird with Machine Learning
#38Neat. You could also probably do this with a genetic algorithm. Thinking out loud here: - Have a neural network with 6 inputs for: - player x - player y - acceleration speed - acceleration direction - next pipe mid-point x - next pipe mid-point y - Two outputs of 0 or 1 for click or no-click The fitness score would be how close the player is to the pipe mid-point. Hopefully, this would cause the bird to stay as close…
Re: Hacking Flappy Bird with Machine Learning
#39How hard would it be to solve this deterministically? Can someone comment on the game's physics? I am assuming: - constant horizontal velocity - gravity - flapping implemented via impulse - collisions are handled with bounding boxes Maybe someone who knows something about optimal control (ODE) say whether this is analytically solvable? Of course there's still the practical stuff (numerical integration, I/O lag) to de…
If you play the game, it's actually quite trivial to program deterministically. :-) Flapping is not implemented as an impulse. It's more like jumping in Mario - it instantaneously fires a canned "flap" movement that is always the same. Set flap_height = bottom of next pipe + constant. If bird height Done!
Re: Hacking Flappy Bird with Machine Learning
#40I really want to build a Lego Mindstorms robot (or similar) that watches my phone with a webcam, holds a stylus, and plays Flappy Bird. I have played enough (high score 194) that I am pretty sure I know the right strategy, I just want to take human error out of the equation. Are there open source vision libraries that are low-latency enough to play this in real time? Assuming the robot could keep up with some regular…