This program uses neuroevolutionary algorithms to learn how to play Flappy Bird and Asteroids. I hit over a million points last night with only 42 levels. Feel free to try it out for yourself
Probably anything where the data can be collected. 3D FPS games are possible too.
Jackson Phillips
i wish we had mmorpgs with ai that actually gets better al the time
Lucas Ross
sounds cool, any links where i can learn more?
Hudson Butler
getting buttfucked by ai wouldn't make much of a game tho
Isaac Carter
I'm no expert, but I have read somewhere that it's easily possible. Basically you need a way to collect the data of everything relevant (your own information and information about the environment) The algorithm then does something random and when it dies, it checks how well it did in the run. It then does another run that is similar to the first one, but has slightly different behaviour. If it did better than before, then it will try new things based on THAT result. If not, it will scrap the idea and try something new. Because of that it will constantly improve by trying random new things and only keeping the good results.
So for something like this to work, you need information about what's happening and a way to find out whether it did good or bad (a score system). In a FPS game it would sooner or later realise that it gets points for shooting at enemies, and does bad if it gets shot, so it will improve on that with random new actions to reach the best possible kill to death ratio.
Joshua Carter
i'm a stupid fuck, can this work on that bash on ubuntu on windows thing?
Kevin Ward
I honestly have no idea, sorry, but it is worth a try
Nicholas Sullivan
Since when do MMORPGs have AI?
Carson Wilson
I wish I had proper Advance Wars AI. So lonely ;_;
Jackson Collins
Dude, this thing basically became unstoppable after only gen 7.
Logan Martinez
actually it all depends how its allowed to evolve
Sebastian Watson
He's still going, the absolute madman!
Colton Cook
todays progress
Levi Phillips
poor green blobs, look so vulnerable and frightened
Gavin Ross
Holy shit, get to about generation 30 and it just quad-triples its score, and then it becomes a wizard.
Levi Sanchez
tfw its better than me
Levi Carter
It depends...
Luke Bell
Pretty cool OP
Caleb Morgan
There's actually a university trying to do that
It's in the workshop somewhere, look it up
Cameron Sanders
When do we get AI gf's?
Brody Robinson
workin on it how much should i charge for it?
Tyler Barnes
Release it under gpl
Mason Ward
you have an idea of how much $$$$$$$$$$$$$$$$$$$$$$$ & pussei you can get outta that?
Christopher Ortiz
You're targetting neet, you won't be able to make money with it.
Levi Cooper
Not reading through your source code could you briefly describe how it works?
I assume flappy birds is a simple enough game you can access it directly while Dota has no simple api or easy way to grab the players state. I would assume you would have to process the screen with some computer vision and then make your machine learn what to do from that. Obviously a more computationally expensive task.
Jack Cox
By the time AI will be able to hold coherent conversations it will be smart enough to know that you're no good for dating, user.
Jack Gonzalez
D-don't say that
Jackson Hall
My guy is going strong!
Oliver Johnson
I think it's starcraft
Gabriel Morris
Would be cool if the ships could be somewhat slower, so that the predictive intelligence could be tested. Also gravity of asteroids would be nice so we can check if the AI could learn something about Physics (indirect observable world rules)
Dylan Wright
It would make the game a hell lot more interesting.
Matthew Long
What do you mean gravity of asteroids? I'm want to try to add inertia to the ships to see how the can handle it Bonus: stats
Matthew Garcia
>Dota has no simple api or easy way to grab the players state. I would assume you would have to process the screen with some computer vision and then make your machine learn what to do from that. Obviously a more computationally expensive task. No it doesn't have to. A person well versed with cheatengine will be able to grab pretty much everything from the game and send movement and attack commands. Problem would be that you are more or less cheating at that point since you have more information than a human at that point.
Liam Fisher
jesus christ how horrifying
Adam Gutierrez
Not if I define it's fitness function to be how much they like me.
Cameron Wright
so is the neural network code only works on flappy bird and asteroids or can i use it on other things?
Asher Foster
The network is not specialized for those games, you can use it on anything
Lincoln White
holy shit. studying the code now. i'm too lazy to read books on AI but this might get me interested. Thanks!
You could try StarCraf / StarCraft II. The latter has recently opened up a client API for the purposes of machine learning, and the former has already been the subject of machine learning projects in the past. (google “overmind”)
Zachary Moore
...
Jonathan Rogers
How do you increase the amount of birds like that?
Elijah Lee
You dl the repository and you hack into it.
Kayden Butler
...
Oliver Watson
>200 generations >flappy bird still dumb as fuck
Aiden Moore
your CPU might just be retarded m8
Jack Perez
I reduced the pip hole size from 120 to 90. It's hard for those poor little birds.
Michael Collins
Try increasing the density of the pipes.
Cooper James
That's what I just did.
Isaac Anderson
...
Wyatt Sullivan
Amazing if true.
Sebastian Garcia
Quake3 didn't have self-learning AI
Josiah Diaz
Then explain the pic.
Brody Cox
either that guy modified his game / server, or he lied on the internet (would you believe people do that??)
Christopher Moore
He lied and you fell for it.
Easton Brown
There's no logical reason why he would lie. I refuse to believe it.
Ryder Lee
My birds start to survive in very hard mode.
Daniel Sullivan
>explain the pic >it's a Sup Forums thread IHBT
Caleb Martin
inspect element on the x5 button in chrome, go to sources, game.js, and change this one line: