Mario, HM u koo,fire,jumpjump koo, onNOES turtle shell, jumpjump fireball, theres the mouse,uh wait, um this way, slide, jump, shorthop, uh can BULLETBILL uh(4000x a second)
Now if only there was a switch I could push to activate this mode when a Mario level pisses me off. I can only die so many times in the exact same spot (3) before Mario becomes FML
You should add another heuristic that gives mario more of a "mindset" to avoid coming into horizontal contact with pipes, walls, etc. Since he cannot react to obstacles off screen you can say... make shorter jumps to allow better reaction time due to being in contact with floor more often.
It'd be awesome if you could release this code, pre-packaged into an executable for laymen. I think it'd be so much fun to just play this game using a mouse...and exploring how Mario's AI responds to different simuli...
Fucking AWESOME. The next step is to allow him to learn.. Such as learn that a fireball cannot kill certain things, thus to not allow for that action to be considered at all next time?
The point is for Mario (controlled by the computer) to follow the cursor without dieing. And it seems to work really well, too! Notice that Mario never touches the spiny, even though the cursor is telling him to move towards the spiny. If this wasn't AI, and Mario was simply following the cursor no matter what, he would run right into the spiny and die!
I was just quoting the website this guy linked to. I understand how complex of a program this is. He just said that it eas the "ideal comment" so I decided to post it. :D
You could use that to change goals on-the-fly and create an hybrid with Jason's approach. So if Mario is weak and there is no power up on the screen, he would target "?" boxes. If he is weak and there is a power up on the screen, target the power up. Otherwise, target the right of the screen as usual. It'd be almost perfect!
Listen, and understand. That Robot-Mario is out there. It can't be bargained with. It can't be reasoned with. It doesn't feel pity, or remorse, or fear. And it absolutely will not stop, ever, until Koopa is dead.
This comment has received too many negative votesshow
very nice work you're putting up with
but i think the popup dialogues and arrows are taking up too much of the screen...maybe you're still working on it, but i think that could be improved into something more discrete lol
For "popup dialogues," are you referring to YouTube annotations (they look like speech bubbles)? Those are not part of the video and can be disabled by the viewer beside the full-screen button. The other statistics, as fas as I know, are part of the driver that runs the AI/bot -- for the contest.
Yeah, as far as I know the discreetness isn't up to the creator of this bot -- I think it's part of a different bit of the code (that is, not the AI bot but the "game"). You could confirm that by trying out one of the sample bots. I suspect it looks the same.
How smart are you? Use the clues to find the answer in my video. Each answer leads to a new video. $100 will be awarded to the 1st person to reach video #25 via paypal.
Ummm.... it's for a competition. To challenge people to write an AI system for Mario. AI systems are important for video games to progress. This is a video game win.
I still don't get how you determine future states when you're searching. How do you calculate Mario's trajectory? And if you're only using the information on the screen, I assume you're not calculating the trajectories of all the enemies? If so I'm surprised that you never run into enemies.
That is all information that can probably be extrapolated. Assuming a particular choice of action at a point in time (it helps that there isn't a big list of possible actions), it shouldn't be hard at all to tell where mario will be in 30 ms time, or however often this evaluation goes.
If I were doing this competition, I would try to approach this a little like a chess AI, but it is one player and there are only a handful of possible moves.
Once you know the position (and speed) of each enemy and mario, you can reuse the functions that control the real enemies and mario and use them to look forward to see what will happen next. Of course, all of this is restricted to what happens on screen, but that information is sufficient (new objects from the borders are not faster than the AI can re-plan and adjust for them).
Could the mario be killed, if it standed next to the cannon when it suddenly fired, or would he still make it out alive, quickly jumping away or retreating? Or are you monitoring them to expect the fire as well?
First off let me say this is awesome! Quick question though. It doesn't appear as if mario ever "jumps" off of a shell or enemy, which is definitely supported by the game. It may help to allow this for the competition because more air time generally means completing the level faster.
So awesome! More than one kind of agent. I can't wait to see the source. And I saw one that said "ScaredAgent"... sounds hilarious !
Two things I never knew: one, that you can jump out of a hole after falling in, and two, that if you hit those biting pirahna flower things from underneath, you knock them out.
Just send Rick Deckard to kill mario :3
alfonsoskid 6 months ago
but will it blend?
apfrezende 7 months ago
Thumbs up if you wanna play with it. Please tell us where to download this awesome program!
Junjie890 8 months ago
is the game completely deterministic?
7arnebcab7 9 months ago
and what would the AI do if there isnt a walljump and there are 1000 enemys attacking mario and no chance to stay alive?
00ShowYouHow00 9 months ago
@00ShowYouHow00 There's always a walljump, and he probably wouldn't get into the center of the enemies if there was 1000.
Ryfasol 8 months ago
@00ShowYouHow00 I think the AI would desperately attempt to survive as long as possible or kill the enemies.
BoxOfStupidity 7 months ago
Is there any chance of this game becoming downloadable and playable without knowledge of java? 'Cuz this is probably the most awesome thing EVER.
jacklebottt 10 months ago 5
omg notch made this game?
cxsss 1 year ago
Wow, cool.
aanickzz 1 year ago
How do you get the input?
LordOfDragonMasters 1 year ago
i wanna do this lol
gamersfan 1 year ago
i would like to see this go against kaizo mario
likepietomuch 1 year ago
Isncee's comment is just epic brightened my day :DDD
theabyscalls 1 year ago
Mario, HM u koo,fire,jumpjump koo, onNOES turtle shell, jumpjump fireball, theres the mouse,uh wait, um this way, slide, jump, shorthop, uh can BULLETBILL uh(4000x a second)
QuaziGNRLNose 1 year ago
Is there a version of this for my math test?
Broken915 1 year ago
so sick
KingdomHeartsPWNZ 1 year ago
Now if only there was a switch I could push to activate this mode when a Mario level pisses me off. I can only die so many times in the exact same spot (3) before Mario becomes FML
Sagget21 1 year ago
You should add another heuristic that gives mario more of a "mindset" to avoid coming into horizontal contact with pipes, walls, etc. Since he cannot react to obstacles off screen you can say... make shorter jumps to allow better reaction time due to being in contact with floor more often.
weirwindle111 1 year ago
Wow that was intense.
RyanfaeScotland 1 year ago
Wait, what, wall jump what.
PixelHead777 1 year ago
well done
stteneff 1 year ago
wow that is cool. can't kill him no matter how hard you try and he stays within the rules of the game world. really awesome.
sharpnova2 1 year ago
nice...i want to see that with kaizo mario, though maybe you can exclude the pointer part
Toraka1 1 year ago
This is terrifying.
PAVONEZORZ 1 year ago
Brb, sex.
raiki15 1 year ago
I'd love to see this thing do Kaizo Mario (See: Asshole Mario) on youtube.
crapoartworks 1 year ago 2
@crapoartworks i think that wont work, because this programm is limited in his movement
WCIIIReiniger 1 year ago
so all you have to do is move the mouse and mario attacks and does everything else
freakzilla100 1 year ago
very cool stuff!
OmegaDude22 1 year ago
practical application: your own personal terminator robot running this AI, and thinks you are the mouse cursor
pauleypauleypauley 1 year ago
THIS LITTLE MARIO MAN IS UNSTOPPABULLLLLLL! holee shits
pauleypauleypauley 1 year ago
Isn't this bassically Tool assisted
Kaitarosworld 1 year ago
Now make a super smash bros melee one that can wavedash and all the other advanced tactics, and has a learning system.
Then pit 2 of them against each other to get a freaking hax machine.
IBringDoom 1 year ago
This would be awesome to watch.
Firestarter9000 1 year ago
wow i never imagined that there would be mario AI !this is sooo cool could i have this game please please please!!!!
Nickolakis21aek 1 year ago
It'd be awesome if you could release this code, pre-packaged into an executable for laymen. I think it'd be so much fun to just play this game using a mouse...and exploring how Mario's AI responds to different simuli...
keyinregulus3 1 year ago 7
Very impressive, now teach one to play Super Metroid.
Eban11235 1 year ago
Fucking AWESOME. The next step is to allow him to learn.. Such as learn that a fireball cannot kill certain things, thus to not allow for that action to be considered at all next time?
WriteByteH555382xH90 1 year ago 3
Mario does the Matrix
gianjoloceymarc 2 years ago
If you give him an impossible situation, will he simply refuse, go blindly, or explode?
PCpaste 2 years ago
@PCpaste Priority 1: Stay alive.
If there's absolutely no way to reach the mouse without putting himself in mortal danger, he won't go.
leafbarrett 1 year ago
lol its nice =/
eternity899 2 years ago
Neat!
thecakeofdestiny 2 years ago
Me want play now!!!!!
jetsam50000 2 years ago
Wow.
SuperLuigiYoshi 2 years ago
This has been flagged as spam show
I'm not much of a programmer but thats doesn't seem anything like AI..
Carto0n7 2 years ago
Actually, it is.
The point is for Mario (controlled by the computer) to follow the cursor without dieing. And it seems to work really well, too! Notice that Mario never touches the spiny, even though the cursor is telling him to move towards the spiny. If this wasn't AI, and Mario was simply following the cursor no matter what, he would run right into the spiny and die!
crazymario01 2 years ago 17
whats the name of that track?
shobub 2 years ago
This is madness!
zimtower 2 years ago 5
this is sparta!
abelmp322 2 years ago 2
THIS! IS! MUSHROOM KINGDOM!
TJPennington 2 years ago
excuse me, wich music is that?
i enjoy it
bisnuto 2 years ago
look at the ad its the song right there =]
7evenshadesofblack 2 years ago
Did I see a Para-Spiny?.... I wasnt aware they existed...
or is that a modded enemy?
peteypiranha128 2 years ago
What music is this?! Please Tell
KoKuTanLuFi 2 years ago
im downloading the source, this looks insane
PiratesVersusNinjas 2 years ago
So I undestand correctly: da computer will play video games for us, so we have more free time? Way cool.
stevoisiak 2 years ago 183
open your mind and the possiblities will follow
DCurt2287 2 years ago
Lol. I just quoted the website's "Ideal YouTube comment." :D
stevoisiak 2 years ago
Yeah, but it's only the way to find the solutions for more complicated problems in AI development.
wizardist 2 years ago
I was just quoting the website this guy linked to. I understand how complex of a program this is. He just said that it eas the "ideal comment" so I decided to post it. :D
stevoisiak 2 years ago
nice, now i can get a rid of my keyboard LOL
put a dload link for this mario, i wanna play it,look like fun to play
TheNasiPanas 2 years ago
HOLY SHIT!!
hahah!!
namboodman 2 years ago
i found it cool due to its programmation (sorry if i wrote wrong)
nakarox1 2 years ago 3
You could use that to change goals on-the-fly and create an hybrid with Jason's approach. So if Mario is weak and there is no power up on the screen, he would target "?" boxes. If he is weak and there is a power up on the screen, target the power up. Otherwise, target the right of the screen as usual. It'd be almost perfect!
rcparts 2 years ago
infinite mario can't die boooo hahahahahaha =D
moxzar 2 years ago
OMG I WANT TO PLAY THIS
jetsam50000 2 years ago
You can't. The AI plays it for you.
pejeno 2 years ago 2
Haha it's like SMW easy mode
Jonassoe 2 years ago
No I mean the mouse following version.
jetsam50000 2 years ago
sooooo good
fractaldog 2 years ago
Nice! So why are the red lines needed with the mouse guiding him? 5 stars btw.
Sly88Frye 2 years ago
Sly88Frye: The red lines are just extra, showing the paths that the AI is considering.
AgentME49 2 years ago
Oh. Okay, that's cool!
Sly88Frye 2 years ago
Impressive :)
zztopless333 2 years ago
If this is just a "working in progress" I can't imagine how great it will become when it's done.
Although, in AI, there is no "done" ;-)
robsonfr 2 years ago
when it can understand human emotions, the AI is indeed "done"
....
nah, just joking around. Above will probably never happen(maybe, but not in our lifetime), and hey, who really wants to flirt with AIs?
captaintutle 2 years ago
This comment has received too many negative votes show
thats bullshit how do you not fall down a cliff?
ronaldwkim 2 years ago
The version of the game the AI is playing, Infinite Mario, supports wall jumps in the style of Mega Man X.
rgoodside 2 years ago
may I have this prog?
michaelsteinle 2 years ago
OSOM
666oFallenAngel666 2 years ago
insane
ssaxby02 2 years ago
Mario is an unstoppable beast
Zeldarulah 2 years ago 2
with this software you could actually change the objective to TRYING to kill mario....
NomadGalaga 2 years ago 7
YES BUT WILL IT EVER LEARN TO LOVE
Isncee 2 years ago 339
LOOOOOOOOL
JayDeeHax 2 years ago
LMFAO! xDDD
tr4nc3f0rm 2 years ago
Machines don't need no LOVE. only HATE.
unabomberman 2 years ago 2
@Isncee why would you want to fuck a computer?
funnyguy3D 1 year ago
@Isncee
It loves the A[nn]rrow
hingliz 1 year ago
@Isncee lol
UnknownVestibule 1 year ago
@Isncee No, the question is: Will it blend?
manomow 7 months ago
@Isncee it loves the mouse
abledbody 3 months ago
Damn, better than most humans. But how is he at solving abstract puzzles?
baigandine 2 years ago
I searched for the music but i can't find it... could you help me?
Anto94210 2 years ago
Comment removed
fashnek 2 years ago
IOI IOI IOI!!!!!!
carnagekid971 2 years ago
Listen, and understand. That Robot-Mario is out there. It can't be bargained with. It can't be reasoned with. It doesn't feel pity, or remorse, or fear. And it absolutely will not stop, ever, until Koopa is dead.
johnnyk427 2 years ago 12
This comment has received too many negative votes show
very nice work you're putting up with
but i think the popup dialogues and arrows are taking up too much of the screen...maybe you're still working on it, but i think that could be improved into something more discrete lol
slaugh84 2 years ago
For "popup dialogues," are you referring to YouTube annotations (they look like speech bubbles)? Those are not part of the video and can be disabled by the viewer beside the full-screen button. The other statistics, as fas as I know, are part of the driver that runs the AI/bot -- for the contest.
fashnek 2 years ago
no, i actually meant the bot stats... i think it should be more discrete for better gameplay...
slaugh84 2 years ago
Yeah, as far as I know the discreetness isn't up to the creator of this bot -- I think it's part of a different bit of the code (that is, not the AI bot but the "game"). You could confirm that by trying out one of the sample bots. I suspect it looks the same.
fashnek 2 years ago
I posted this on my blog: CodeJustin(.)com
chjustin69 2 years ago
This has been flagged as spam show
How smart are you? Use the clues to find the answer in my video. Each answer leads to a new video. $100 will be awarded to the 1st person to reach video #25 via paypal.
Ultimateenigma123 2 years ago
This comment has received too many negative votes show
you've officially ruined mario.
scorpion1e37 2 years ago
looks like mario cut his artery
nachocream 2 years ago 4
I like that. neat.
diah4 2 years ago
looks like he is having a constant period.... but nice work
Hikeloon 2 years ago 3
great!!!
arthurd123 2 years ago
:O:O
zuggybeargough 2 years ago
nice vid btw lol
xantennax 2 years ago
could someone tell me the name of this song?
xantennax 2 years ago
no .
craigenla 2 years ago
that was super cool!!
disneyfan1221 2 years ago
This comment has received too many negative votes show
if by win you mean fail then sure, i agree.
natedizzle83 2 years ago
This comment has received too many negative votes show
wtf is the point? completely removes the purpose and fun from playing video games... worst.idea.ever.
natedizzle83 2 years ago
Ummm.... it's for a competition. To challenge people to write an AI system for Mario. AI systems are important for video games to progress. This is a video game win.
gavaiken 2 years ago 2
Brillant
thesumo24 2 years ago
This has been flagged as spam show
Wow, that is badash! I will be posting this on my blog (CodeJustin-dot-com)
chjustin69 2 years ago
your badass period.
Raiju89 2 years ago
My badass period rocks your badass period anyday!
anachronic 2 years ago
Even when chasing the mouse, Mario always remembers that "safety comes first!"
cockmasterZ 2 years ago 8
Pretty damn awesome.
Simplyfic 2 years ago 3
Mario is aimbotting! lol
dcyli 2 years ago 2
Just want to remind you how awesome you are. I'm learning some programming and hope to be able to do something like this someday.
FlagCapper 2 years ago 3
Its-a-me, Mario!
Super987987 2 years ago
That's awesome! Good luck in the competition.
unixfreak0038 2 years ago
very sick, yes, megaman, yes
andyellison 2 years ago
Looks like he's pissing blood everywhere! LOL
But seriously, great job! Keep it up.
MrSelf76 2 years ago
they should try this with megaman
stubert311 2 years ago 6
Song?
TheCheeks 2 years ago
Yes? My name is Song.
JRCrowley 2 years ago
I still don't get how you determine future states when you're searching. How do you calculate Mario's trajectory? And if you're only using the information on the screen, I assume you're not calculating the trajectories of all the enemies? If so I'm surprised that you never run into enemies.
josephzxu 2 years ago
That is all information that can probably be extrapolated. Assuming a particular choice of action at a point in time (it helps that there isn't a big list of possible actions), it shouldn't be hard at all to tell where mario will be in 30 ms time, or however often this evaluation goes.
If I were doing this competition, I would try to approach this a little like a chess AI, but it is one player and there are only a handful of possible moves.
GallileoPaballa 2 years ago
Once you know the position (and speed) of each enemy and mario, you can reuse the functions that control the real enemies and mario and use them to look forward to see what will happen next. Of course, all of this is restricted to what happens on screen, but that information is sufficient (new objects from the borders are not faster than the AI can re-plan and adjust for them).
robinba2342364 2 years ago
This is youtube. Please refrain from these kind of posts and stick to OMFG WTF and FFFUUU.
11010001001010100101 2 years ago
HythlothCoder, I believe that the original Super Mario didn't allow for walljumps, but Infinite Mario does.
ouiser5000 2 years ago
This has been flagged as spam show
nice, 5stars
\☻
▐\
/ \ hi there, if you like mario bros. click on my name to see this funny video i made, thanks
CrazyLittleSistersTv 2 years ago
Could the mario be killed, if it standed next to the cannon when it suddenly fired, or would he still make it out alive, quickly jumping away or retreating? Or are you monitoring them to expect the fire as well?
mikluho 2 years ago 2
First off let me say this is awesome! Quick question though. It doesn't appear as if mario ever "jumps" off of a shell or enemy, which is definitely supported by the game. It may help to allow this for the competition because more air time generally means completing the level faster.
ninjajakem 2 years ago
So awesome! More than one kind of agent. I can't wait to see the source. And I saw one that said "ScaredAgent"... sounds hilarious !
Two things I never knew: one, that you can jump out of a hole after falling in, and two, that if you hit those biting pirahna flower things from underneath, you knock them out.
HythlothCoder 2 years ago