Is there a specific API and way to make ai for Mario games? I program Runescape bots and I am starting to get tired of it. Now I now that this is way harder then what I am use to but I need a challenge. So what I am asking, is it sorta the same way and process that it is for Runescape? Special API, special emulator and stuff like that? Could you make a tut on setting the emu up link to the api and such if there is? Please?
Surprisingly, it's progress through the level isn't as impressive when you can see it plotting out paths. Just watching the red lines and concentrating feels very familiar...
if instead of a dynamically forming stage, you had a static one, could you in theory run it at the beginning and have it solve the level? would it work even for levels that required back tracking or climbing and the ilk? would it work for simple puzzles? (ie hit the switch open the door) even if it would be pretty slow, im just curious as to whether it would work
That close call looked great. It was as if the AI had actual problem solving abilites when the mistake happened. I would be interested in what else the AI could "figure out".
@restorecop99 No. It uses a copy of the game engine to provide a simple search algorithm with a model of the game. The point of using AI to solve the problem of Mario completing random levels, however, is to do what you say: Mario should see the environment, process and learn from it and attain a behavior WITHOUT having a model of the world available.
Other people have done this with success, but of course they cannnot compete with this search-based hack of the game engine itself.
omg uber this mmust be wat real mario would be like because he is doing it forhimself so reallly mario is a AI so that means An AI is playing mario which meens mario is playing mario..... OMG <---------------------- didnt make anysense
@sharpnova2 I used a framework that was provided (marioai org) and it does all the environment analysis for me. And yes, it breaks down the screen into a grid.
this is waaay cool. im curious though, can it adjust its path based on its powerup?? I noticed if it came to an enemy it would just shoot it wiht a fireball, if it didnt have the fire power, wold its course change??? I was just wondering. This is seriously cool though
@AwesomeSmiley3707 I honestly cant answer that, but I would have to say it wouldnt change, the intelligence on this is not very highly developped, im guessing it just shoots a fireball when it senses and enemy is in range, just my thoughts though
@lylyeoh 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.
I didn't like it because the level is too much linear: AI here is just a timed run: go right and avoid mobs, doing it as quick as possible. It would be much more interesting to challenge some "real life" Mario levels, without taking much account in how long it takes to complete it.
@SuperSaiyanAl Mario begins to learn at a geometric rate. It becomes self aware at 2:14 a.m.Eastern time, August 29th. In a panic, robinba2342364 tries to pull the plug. Mario launches his fireballs at the targets in Russia, knowing the Russian counter attack will eliminate his enemies over here.
@PhrozenFox in SMB1 you can walljump - the point here isn't to replicate a human player and human "faults" (like lacking the reaction time to properly wall jump), it's purely an achievement of AI
we all know it's fake,that level never existed.Yeah...OOPs,you can in(ordered by temporal order)Super Mario 64,Super Mario Sunshine,SM64DS,New Super Mario Bros,Super Mario Galaxy and NSMBW.OOPS you can in the original,*it's a glitch,mario*,but it doesn't work in that way.
You can. Sort of. It takes split second timing and is usually only seen in tool-assisted plays. Actually I can't remember if it's possible in Mario World, but I know it is in Super Mario Bros and Mario 3.
Nice work!!!!!
JDOG13596 4 hours ago
MOTHER OF GOD
ValdrinT 2 days ago
First of, congratulations dude.
Second, this might be something for you : channel9.msdn.com/posts/ACMQ-Online-Programming-Competition-Jan-1-Feb-12-2012
I'm entering with C# though :)
Insanity0107 2 weeks ago
I saw him go through a koopa
mariosonicfanplus123 2 weeks ago
Brilliant
illitr8 1 month ago
wtf mario can kill plants with head buts
cjoemex 1 month ago
wtf, mario can wall jump?
snowballeffect 1 month ago
what was your heuristic?
endauthority 1 month ago
You should write a version of this for Skyrim, that way, I might actually graduate from college
BstrangerUK 1 month ago 3
How many hours of hard-coding would this come out to? I'm not very computer literate but was still curious..
system3142 1 month ago
@system3142 I didn't keep track, but I'd guess about 40.
robinba2342364 1 month ago
@robinba2342364 It's quite beautiful.
system3142 1 month ago
@system3142 I can do better :p HAHA :D See my videos here the tube.
eerikk 1 month ago
Wooo Eclipse
JRefleX93 1 month ago
THE SONG IS :) : Dan Marciano -Boy I Believe:)
duracostel96 2 months ago
Nice video. The A* thing was really cool. I think you would really like my mario levels.
cpoxon11 2 months ago
It figures. Brilliance like this would be ruined by the world's gayest song.
guitar45rocks5 2 months ago
fucking genius
kiIIamaim 3 months ago
MADE BY NOTCH
savelijah 3 months ago
This pisses me off! I just now find out that you can hit those munching flowers from the bottom!
SoCalFlya 5 months ago 37
@SoCalFlya me too brother, me too....
DracoEX 1 week ago
Now make it do Kaizo Mario.
selulancie 5 months ago
Really cool, but I would have much preferred it with the original sound instead of the crappy song.
danlwarren 6 months ago
Name of the used track?
Bandyto85 6 months ago
You sir have skills.
PokemasterNeio 6 months ago
what's with the terrible frame rate?
juliussnyc 6 months ago
Is there a specific API and way to make ai for Mario games? I program Runescape bots and I am starting to get tired of it. Now I now that this is way harder then what I am use to but I need a challenge. So what I am asking, is it sorta the same way and process that it is for Runescape? Special API, special emulator and stuff like that? Could you make a tut on setting the emu up link to the api and such if there is? Please?
CmptrPrgmr 6 months ago
holly shit (o_o)
FallenAngel6983 6 months ago
this is madnesss
fuckthehack3 6 months ago
Incredible. O.O
patu8010 7 months ago
This is epic
IAINnotANDREW 7 months ago
OMG Mario's on the ramage- AND HES PISSING BLOOD
itchytastyurr 7 months ago
tell us where to download it.
Junjie890 7 months ago
Aimbots....
FloydMinecraft 8 months ago
0:44 wtf???? is it possible????
JuglarEuskaldun 8 months ago
@JuglarEuskaldun In this particular derivation of the Mario games, Mario can wall jump.
mutehero7 8 months ago
Wow thats really cool :) :) but that's not strong AI just simple AI but still really awesome.
JeremyAlpha 8 months ago
java is for faggots
markbara 8 months ago
That is some impressive shit. Would be nice to have that in real life, huh?
Krynaf 8 months ago
make this one play kaizo mario lol
chin3sematt 9 months ago
that was the longest level in the world
dreday121able 9 months ago
shit music is it rebecca black or summin or gay baby bieber being mega gay singer
MrJaseGarden 9 months ago
so thats how they make those crazy speed runs
uruigi 9 months ago
Did I just see a "Para-Spiny"?
Denthedragon 9 months ago 6
lÒl_áñÿ_gÚys_wânt_tÒ_chât_wÍth_mÉ
KittyaaRobbiaa565 9 months ago
Notch made this game. he also made minecraft
lotlat 11 months ago
when you ate a wall jump power your mouth probly dose a close call
Pjbeauprejr 11 months ago
SMB3*
TheOriginalThought1 1 year ago
A FLYING Spikey? Combination of SMB AND SMW? Nice.
TheOriginalThought1 1 year ago
which mario game is this?
mojo483 1 year ago
@mojo483 super mario world
D12DOOM 1 year ago
@mojo483 no, that guy is wrong. this is infinite mario bros, made by the same guy that made Minecraft. ITS NOTCH! btw, download Minecraft.
ataraxic89 1 year ago
try using the A* algorithm on super kaiso mario or one of those insanely hard mario levels on yt...
BEASLAND000 1 year ago
Goodbye Tool Assisted, Hello AI Speedruns
subject208 1 year ago
ha! it plays with its self
poisonedcoockie 1 year ago
Surprisingly, it's progress through the level isn't as impressive when you can see it plotting out paths. Just watching the red lines and concentrating feels very familiar...
TheFleeingPhoenix 1 year ago
if instead of a dynamically forming stage, you had a static one, could you in theory run it at the beginning and have it solve the level? would it work even for levels that required back tracking or climbing and the ilk? would it work for simple puzzles? (ie hit the switch open the door) even if it would be pretty slow, im just curious as to whether it would work
halfaheartbongobongo 1 year ago
Has it ever failed before? If not, then why did you put "close call!" ?
trev0115 1 year ago
song name plz
abdulrahman773 1 year ago
@abdulrahman773 I believe its Alex Armes - Anywhere You Go
technodrpepper 11 months ago
Mario AI only works when peach isn't naked. Otherwise his boner makes wall jumping not only painful but somewhat pleasurable...
Sagget21 1 year ago
Yout should be death at 0:44!
gameos666 1 year ago
That close call looked great. It was as if the AI had actual problem solving abilites when the mistake happened. I would be interested in what else the AI could "figure out".
Jesses001 1 year ago
Now Battle Toads
highart2003 1 year ago 2
So it actually analyzes all obstacles on screen and finds the best path to avoid them all? Impressive!
restorecop99 1 year ago
@restorecop99 No. It uses a copy of the game engine to provide a simple search algorithm with a model of the game. The point of using AI to solve the problem of Mario completing random levels, however, is to do what you say: Mario should see the environment, process and learn from it and attain a behavior WITHOUT having a model of the world available.
Other people have done this with success, but of course they cannnot compete with this search-based hack of the game engine itself.
eerikk 1 year ago
@eerikk Can you provide a link to these if they have clips?
RyanfaeScotland 1 year ago
Can it handle the moving platforms that you need to wait on?
jimmayl1 1 year ago
Wow, beatiful!
As far as programming goes, I have little experience in making good AI.
mmKALLL 1 year ago
omg uber this mmust be wat real mario would be like because he is doing it forhimself so reallly mario is a AI so that means An AI is playing mario which meens mario is playing mario..... OMG <---------------------- didnt make anysense
haloforger 1 year ago
how do u sd input to mario,thx
s021126 1 year ago
@s021126 check out marioai dot org, they explain the system nicely!
robinba2342364 1 year ago
@robinba2342364 Hey. What's the name of the song you used for this video?
Weightlifeter 1 year ago
Comment removed
s021126 1 year ago
w ww. m ojang. co m/n otch/ mario/
EmperorOfMars 1 year ago
I see that eclipse ide.
Zeldarulah 1 year ago
w0w
CaptJiggles 1 year ago
interesting. did you break the visible screen into a grid for A*?
sharpnova2 1 year ago
@sharpnova2 I used a framework that was provided (marioai org) and it does all the environment analysis for me. And yes, it breaks down the screen into a grid.
robinba2342364 1 year ago 4
@robinba2342364 very nice work. was fun to watch too
sharpnova2 1 year ago
This looks very similar to the mario live wallpaper for android?
sopues 1 year ago 8
@sopues Good eye! In fact, the Android Live Wallpaper uses my bot implementation. It's credited in the "about" tab, so it's all good. :)
robinba2342364 1 year ago 29
@robinba2342364 Is there a free download of this wallpaper for PC?
mutehero7 1 year ago
wow it took u forever to beat this level
lolhaha99 1 year ago
Nice.
Juniorain 1 year ago
This is fucking awesome! But I think a Sonic ai would be even more amazing to watch!
BCBtheBeastlyBeast 1 year ago
What would the AI do if it came across an obstacle too high to jump over?
rayn10 1 year ago
I wonder what would happen if you put it up against that "Frustration" level...
Sn0wc4t 1 year ago
I wonder how the AI would react in Mario 64 :/
waddlerobloxxxx 1 year ago
I can't stop watching this...He plays mario better than I can!
keyinregulus3 1 year ago
super mario singularity
Nouseeker 1 year ago 3
You should try using it in a Kaizo hack! Lol!
8MKWeb8 1 year ago
He's peeing out an endless stream of blood
Fliers11 1 year ago
I wanna see this work with Kaizo Mario
RevisDumas 1 year ago
Oh my god It even knows how to glitch it????
ikalpo 1 year ago
can someone set this thing on a kaizo level???
TheAlansine 1 year ago
That's one of the best uses of a computer I've ever seen. Good job on implementing that algorithm...
Eidetiv 1 year ago
Thats cheating how the fuck did it get out :46
debit256 1 year ago
@debit256 magic idk XD
TheReasonWhyGuy 1 year ago
@debit256 Read description..
Darkanii 1 year ago
it is hacks for a singleplayer game :D
vawriss3 1 year ago
What's your admissible heuristic? How far right combined with a logical AND of whether you're still alive over each time interval? Good work.
ChrisPatuzzo 1 year ago
"It's a-me-ah, Mario! You are-a terminated!"
jamesgravil 1 year ago 2
this is waaay cool. im curious though, can it adjust its path based on its powerup?? I noticed if it came to an enemy it would just shoot it wiht a fireball, if it didnt have the fire power, wold its course change??? I was just wondering. This is seriously cool though
AwesomeSmiley3707 1 year ago
@AwesomeSmiley3707 I honestly cant answer that, but I would have to say it wouldnt change, the intelligence on this is not very highly developped, im guessing it just shoots a fireball when it senses and enemy is in range, just my thoughts though
peaceout12321 1 year ago
@peaceout12321 ok, cool, i was just curious...
AwesomeSmiley3707 1 year ago
I will worship someone that can make an AI capable of beating Kusotarre world.
TEHREALBOB 1 year ago
@TEHREALBOB
kaizo
piplupsingularity 1 year ago
pro
gjdbfucbeib 1 year ago
I wonder how long it took to even program this?
ZiggyR2750 1 year ago
This programming is flawed. The fall at 0:44-0:45 should have killed Mario.
johnsangkilee 1 year ago
@johnsangkilee It's the wall jump. It always was there, but hard to exploit.
bamapagedesign 1 year ago
@johnsangkilee wall jump nxt time read the description
trickmasterman22 1 year ago
I wanna see it playing the Frustration levels
luizfalves 1 year ago 99
@luizfalves why not kaizo levels >:D
TheHazamukara 8 months ago
@TheHazamukara im wondering if this is how kaizo is so good?
kwyjibosponge 7 months ago
@luizfalves Mario's optimal solution would just be to jump repeatedly to his death to put himself out of his misery
OOXW 7 months ago
cool
tjcharlesgao 1 year ago
wait i found them how do u package them to play?
liamwazhere1 1 year ago
noooooo!!! dead links
liamwazhere1 1 year ago
Nice programming.
a1ex1988 1 year ago
For the love of god, I beg someone to please tell me what song this is!!!
spydeh 1 year ago
@spydeh okay the song name is....nah never mind ill tell you later
breedome 1 year ago
really awesome!
georeneagle 1 year ago
cb无聊人物来围观。。。
jeff2079 1 year ago
@jeff2079 观光你好,观光再见
VirVerVit 1 year ago
CB观光团强势围观
dahliariddle 1 year ago
The AI is able to do bug jumps, that's amazing. But I think it is still not comparable to extreme players.
windyra 1 year ago
The level doesn't actually look like anything special design-wise, but the movement is quite impressive. :)
DaVince21 1 year ago
FAIL!!! Should have used P-Wing or feather...
Krisilke 1 year ago
How did it manage to recover from that fall at 0:44-45?
lylyeoh 1 year ago
This has been flagged as spam show
@lylyeoh 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.
meDanWhoYou 1 year ago
I didn't like it because the level is too much linear: AI here is just a timed run: go right and avoid mobs, doing it as quick as possible. It would be much more interesting to challenge some "real life" Mario levels, without taking much account in how long it takes to complete it.
ceztko 1 year ago
Comment removed
ceztko 1 year ago
I bet the computer doesn't enjoy as much as I do doing it less efficiently
wikichris 1 year ago 4
What's the song? I like it....great job on the code, btw. Epic win!
linkdude64 1 year ago
Wow...awesome job
jorgandar 1 year ago
what mario is this?
pete275 1 year ago
@pete275 you should be ashamed of yourself for asking ;) jk Mario 3
lucerocj 1 year ago
@lucerocj but some enemies and the end of the level look like mario world :-/ is it the actual mario 3 rom?
pete275 1 year ago
It's only a matter of time before Mario becomes self-aware...
SuperSaiyanAl 1 year ago 142
@SuperSaiyanAl looool
m82artin 1 year ago
@SuperSaiyanAl and then he will go back in time to kill bowser ^_^
coolstream1 1 year ago
@SuperSaiyanAl It's-a...me?
...
AlexNewton1981 1 year ago
Comment removed
Scofthe7seas 1 year ago
This has been flagged as spam show
@SuperSaiyanAl Mario begins to learn at a geometric rate. It becomes self aware at 2:14 a.m.Eastern time, August 29th. In a panic, robinba2342364 tries to pull the plug. Mario launches his fireballs at the targets in Russia, knowing the Russian counter attack will eliminate his enemies over here.
Scofthe7seas 1 year ago
Cool, but giving Mario the fireball makes it WAY easier. ;-)
rabidowski 1 year ago
interesting technique :}
saik0developer 1 year ago
When the line stems out, is it charting multiple possibilities, or just changing the line so often that it blurs into a "tree?"
gbmodern 1 year ago
@gbmodern I think that's the route updating itself as new objects appear from the right.
pensivebosom 1 year ago
I'm asking again: WHAT IS THE TUNE???
georgysb 1 year ago
@georgysb Boy I Believe (Short Edit)
gbmodern 1 year ago
@gbmodern Thanx a lot!!
georgysb 1 year ago
@georgysb No problem. It shows up at the bottom of the video when you watch online. Or are you on an iPhone or something?
gbmodern 1 year ago
@gbmodern damn! Never paid any attention to that!)) LOL
georgysb 1 year ago
that must be long to win
xavian1234 1 year ago
lulz. Incredible!
YvesIsaki 1 year ago
walljumping is a legit bug in the original game
TheApey 1 year ago
amazing...
adikid89 1 year ago
yeah lol its so smart he can jump back out of a hole! @ 0:44
pauleypauleypauley 1 year ago
This... is beautiful.
assassin296 1 year ago 2
Mario walljumped out of a hole?
Not really legit...
PhrozenFox 1 year ago
@PhrozenFox in SMB1 you can walljump - the point here isn't to replicate a human player and human "faults" (like lacking the reaction time to properly wall jump), it's purely an achievement of AI
DCUnited4 1 year ago
YOU PROGRAMMED SOMETHING LIKE THIS?? omg this rocks!!
Nickolakis21aek 1 year ago
0:45 haxer lol
GOLDENLIGHT25 1 year ago
heyi can't wait any longer! Rescue meh from my boredom
GabreelaSoto77 1 year ago
Just wow.
SmartK8 1 year ago
Comment removed
Glee0k 1 year ago
I'd love to see this with sonic, and non java games. (Maybe through sightrecognizing things on the screen?)
keyinregulus3 1 year ago
Wall jump wtf?
NikoGardens 1 year ago
It's like a computer generated speedrun!
TaiFerret 1 year ago
what is this song?
guamuser 1 year ago
Wow, that was fast. I assume the video was sped up a bit?
Dirtfire 1 year ago
No its artificial intelligence, it can do lot faster
somethingirreversib 1 year ago 25
no dude, this is AI, neuronal networks to take the best decision,
Java
Eclipse
IAmKiraIWillKillYou 1 year ago
Comment removed
xGunster 1 year ago
holly crap, thats awsome.
buddysmithburg 2 years ago
The fast wall jumping was awesome
seedofbeliar 2 years ago
Wall Jump HAX
zemratsu 2 years ago
This comment has received too many negative votes show
Fake Mario....Lol if only we could hop from wall to wall in original.
rashin 2 years ago
This has been flagged as spam show
we all know it's fake,that level never existed.Yeah...OOPs,you can in(ordered by temporal order)Super Mario 64,Super Mario Sunshine,SM64DS,New Super Mario Bros,Super Mario Galaxy and NSMBW.OOPS you can in the original,*it's a glitch,mario*,but it doesn't work in that way.
*Parody of "It's-a-me-Mario"
stv497 2 years ago
You can. Sort of. It takes split second timing and is usually only seen in tool-assisted plays. Actually I can't remember if it's possible in Mario World, but I know it is in Super Mario Bros and Mario 3.
TheTrueRadioKJ 2 years ago
que es lo que pasa, porque se cae el 0:44, que fraude.
juanitobasura 2 years ago
luego usa el salto de pared y se salva asi q ni se cae ni es fraude