Robin Baumgarten
This is my attempt at a Mario AI using a path-finding algorithm called A*. The bot won both Mario AI competitions this year!
You can see the path it plans to go as a red line, which updates when it detects new obstacles at the right screen border. It uses only information visible on screen.
At the “close call” situation: In this version of Mario, when you’re jumping while sliding on a wall, you jump backwards and upwards away from it. That’s what the AI did twice to get out of the hole. This is possible in this version of Mario, which is a Freeware Java clone. See the links below for more info.
The source code is now available on my homepage!
More info:
Competition: http://julian.togelius.com/mariocompetition2009/index.php
My Project Page: http://aipanic.com/h3h/dokuwiki/doku.php?id=projects:marioai
A star: http://en.wikipedia.org/wiki/A*_search_algorithm
Twitter: https://twitter.com/Robin_B
Enjoy 🙂
*Update*: My Mario AI won the ICE-GIC conference competition this year! Yay!
Source
Now let the AI play cat Mario
well, this is awesome.
make it with Kaizo mario that would be awesome
It even uses the coding oversight(where going down makes you invincible)!
But can it play Kaizo?
So now we know who chuck norris dressed up as on Halloween.
To anyone wondering what's the song used – it's Dan Marciano – Boy I Believe
0:50 Mario is invulnerable. He should have at least lost the fire flower.
quede loco ni yo lo haria asi antes pero perdi la practica
I flipped my shit at 0:44
When you fall in a hole you don't bounce right out. That's cheating. Your creation is I swirls
i thought this version of mario couldn't
wall jump?
why is he pissing blood?
What are you thoughts on using a Branch and Bound search instead? If I recall A* is only a little bit more efficient and probably takes up more memory
0:45 seems legit.
Wow…that's impressive…
teach me your ways
nice 🙂
May I use this video for a report on A*?
oh. my. goooooooood!!! so sick!
it has perfect heuristic right?
A computer plays Super Mario better than me.
I can't tell how many times Mario should have gotten hurt, but he didn't.
How to solve a problem that changes every single time? This solution won't suffice.
I wonder if the AI will eventually find the PERFECT way through a mario level in which you simply cant get faster
The AI is fuelled by its desire to break the ribbon at the end of the course. It was programmed to understand that breaking the ribbon would launch the nukes.
Nobody tell it.
I can't get play.java to run. plz halp
Finally I found this video again. Heard the song from this video in 2011. For some reason it got stuck in my head just now. 6 years later…
lmao, the AI casually walljumping at one point
what happened at 0:45?
can you use this?
i mean, yeh dis is impressif but the mjusic is juszt…..
CANCER
This fucker just wall jumped twice. God damn.
da fck :'D
Meanwhile
https://youtu.be/-awB6mPlRag
Hello 240p my old friend….
I've come to view you again.
now thats what i call skill
Como ele escapou daquele buraco no meio do video?
you guys know this is just BETA Infinite Mario, not the real thing.
I know a fake video when i see one
amazing
Very nice! I took your code and replaced the Nintendo Assets with open source Infinite Tux Assets.
Thanks for putting this out there!
https://www.youtube.com/watch?v=eiG-bJdwCyc
https://www.youtube.com/watch?v=eiG-bJdwCyc