Added: 2 years ago
From: robinba2342364
Views: 195,830
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (185)

Sign In or Sign Up now to post a comment!
  • 9gaggers reunite!!!

  • a more entertaining way to start it is with java ch.idsia.scenarios.MainRun competition.cig.robinbaumgarte­n.AStarAgent (it makes it run level after level, i think infinitely, instead of just one)

  • ffs... looks like you can only compile it if you have it in the folder he tells you to put it in, so you gotta compile it then move it...

  • ah wait... it didnt work cause when i copied and pasted i didnt notice youtube added in characters... so yeah... dont copy and paste, or at least double check...

  • er actually im a noob and dont know what im talking about cause it doesnt seem to work that way so just change the directory directly to the folder where the file is... type cd C:\Users\bob\Desktop\marioai\c­lasses\competition\cig\robinba­umgarten then type javac AStarAgent.java then change the directory to the first one i mentioned

  • woops, almost forgot, before you do the second comand prompt line, you gotta compile the AStarAgent file... just type javac competition.cig.robinbaumgarte­n.AStarAgent.java

  • er there is supposed to be a space between Play and competition. It's there, but hard to tell cause it puts it on another line... just copy and paste and it should work

  • sorry about that unusual linebreak... java ch.idsia.scenarios.Play competition.cig.robinbaumgarte­n.AStarAgent should have been all together. another note, don't put the robinbaumgarten folder in C:\Users\bob\Desktop\marioai\s­rc\competition\cig , make sure it's classes instead of src.

  • If you're trying to get this to work using robinba2342364's tutorial in the link he provided, let me save you some time. Install Java Development Kit,add the robinbaumgarten folder to C:\Users\bob\Desktop\marioai\c­lasses\competition\cig open a command prompt, type cd C:\Users\bob\Desktop\marioai\c­lasses hit enter then type java ch.idsia.scenarios.Play competition.ci

    g.robinbaumgarten.AStarAgent and hit enter again. It's not the one that follows the mouse, it's the regular one.

  • I wish he could put the COMPILED code.

  • Now make one for Halo!

  • mario: "whoa! i know kung fu.."

  • huh?

  • its going to take over the world!

  • HAAAAAAAAAAAAAXXXX!! *throws monitor*

  • what is this song?

  • I second that request

  • turns out it's called "Texas Shake"

    It's only 33 seconds long...

  • Thank you

  • I'm excited to see more of this, perhaps in other scenarios as well. Hope the competition goes well.

  • O_o

    The game is masturbating...

  • Comment removed

  • As your can see in his other videos its not lag its actually slow motion for the idiots that will think "omgggg so fake guyz!!"

  • I always wanted to do a LUA script for something like this, but this tops myhighest ambitions.

  • @DatingOYL You clearly don't know shit about programming. Have fun sheeping along with the uninformed public ideas anyway.

  • And AI is merely a set of dynamic algorithms.

  • the AI functions through a path-finding algorithm. yes AI.

  • Couldn't you define an algorithm clever enough to find it' way through a level completly from what's on screen a basic AI?

  • guess what this video is about...

  • in a sense of speaking, yes

  • q es este cagazo?

  • cha yo no puedo

  • Path finding that deals with moving objects in real time. Thus AI.

  • lol

  • there is learning element to it.

    Besides Path-finding algorithm is AI as well. AI is a complex field and has many categories including deduction, planning and creativity.

    Path-finding = planning

    Though it does check all or most efficient parts where one could go, that's how animals think as well (though more abstract)

    Simply mimicking what human/animal brain does. Oh wait that's AI.

  • actually it may have a learning element to it, see the problem description on the competition website

  • revelation 18:2

  • oh nice

  • Looks good; nice.

  • gimme your heuristic plox

  • wow!!!!!

  • aim bot

  • not bad

  • Very nice. The only time I've ever implemented A* was in a tile based game T_T

  • genius

  • wtf

  • Hey, how exactly did you apply A* to that??

  • were here for all of youtube

  • .....

  • lmao youre awesome!

  • wut a champ

  • he fucking programmed the ai, hes not playing

  • ...?

  • 32 sec! XD

  • hahahaha awesome

  • video games that play themselves... what is the world coming too...

  • holy fuck

  • And there I was thinking I might participate.

    I think I'll skip this one ;)

    Great work !

  • Get a life you wigger. No one wants to hear you rap

  • get a life..?

  • couldnt say it better myself

  • Pretty cool, I wanna see it do some insane mario hack now like Kaizo Mario

  • not spectacular...zZzZZ

  • Anybody know the name of music he used? It sounds so familiar, but I can't recall what it is called!!

  • Opera Carmen by Bizet

  • This is an AI competition. it's Mario playing itself. I have no clue what's pissing you off.

  • Why is everyone f lamming the vid? Its an AI competition.

  • lul wut?

  • ahaha lmfao i never knew someone was so crazy over being a mario fan it made me laugh haha :]

  • SHUT THE FUCK UP YOU LITTLE SPAMMER

  • hahahahahah

  • are you playing this on your pc

  • "Kumikyoku Nico Nico Douga Automatic Mario " is more and more interesting.

    search it

  • You dumbass, this is a Mario AI contest, not an automatic stage contest. That video is just a bunch of conveyor belts and shit throwing mario around to jpop music. And plus, the little busters one is 1000% times better.

  • Demoro um pouco... Mas tah bom !!

    hshaushaushuahsaush

  • classical music can turn any image into art

  • So, that doesn't mean it's not art. You're declaring that it is a piece of art.

  • So if I took a picture of a donkey shitting, and added classical music, you would consider it art?

  • Don't slow it down, and post that up.

  • See the video reply.

  • very nice ;D

  • That is Matrix Mario. Sweet stuff.

  • holy matrix shenanigans

  • Wow this is pretty cool! You must be a skilled programmer, I don't think any program would make making that easy!!

  • that is awesome!

  • Near the top section of the screen I only see options for "Right Left Jump and Speed." Why does it randomly throw fireballs in certain sections but not in others where it would be far more useful (like the tricky part in the middle of the video)? Definitely a cool video.

  • 'Cause the speed button also throws fireballs.

  • My question now is. Can you do that on an acctual Super Nintendo? Not the lines thing just acctually playing the game like that. If it plots paths for you and you just follow the paths then it pretty lame. Thats just my opionion.

  • No, unless you have the AI installed in your brain.

  • Whats the point, other than making a cool looking demo screen?

  • It's a good test for one's programming skills.

  • Oh no doubt  its good for what it is just not cup of tea

  • I have a couple questions:

    1. What language did you use to program in?

    2. Why did you choose A* over other path finding algorithms?

  • @1: he did it in java because the framework's also in java. the framworks source is free btw.

    @2: because a* is very fast? :) speed is a criteria here

  • MARIO :D

  • haha cool

  • fag

  • you are good but i m better :)

  • FUUUUUCCCCCCK!!!

  • Although I applaud the AI, what concerns me most about games (particularly Mario) is that the goal is not only get through the level as fast, but also rack up as many points as possible. I think the real challenge is to create an algorithm that allows Mario to rack up the most points in the shortest possible time.

  • that shouldn't be *that* complicated to change. atm the fitness function maximizes to go right w/o touching enemies. if you'd max it to get 1.) visible coins, 2) bump blocks, 3) go right it should do pretty well.

  • Is this running from a C++ application, what dll's are you using?

  • It's java.

  • DUDE, I programmed and AI air instructor back in the days, 2001, but this owns.

    Nice work.

  • Thats great man. So you use A*, are you creating a virtual model of the world that you can advance in time as part of the search? That's how I would do it I think.

    It's like Neo as Mario

  • how poetic

  • Exactly. Duplicating the physics for the enemies took a while to get right.

  • Cool, but could you show it in regular speed as well? It's not that impressive in slow-motion without a regular speed comparison.

  • perhaps it's his pc choking?

  • This is AWESOME, dude. Excellent work!

  • Les Toreadors

  • What's the song called?

  • It's sections from the overture to the opera Carmen.

  • Holy bawls.

  • great work!

  • someone give this person a phd already

  • Beautiful.

  • Wow... Blew my mind :|.

  • This was very inspiring. I will be a great programmer like you one day.

  • well done sir. you win the internets

    by the way, what song is this again? ..

  • is that in real time?!

  • and i was so excited about trying this competition. ^*#@$

  • reddit

  • wouldn't some situations it be faster to get hit by an enemy and lose your powerup? :D

  • yea it would, just look at automatic mario

  • amazing

  • I hope this wins,it is amazing.

  • Very awesome! You've got the "simple" level completion down excellently. Now I guess you'll be working onto the challenges of multiple path exploration? Possibly adding in calculation of possible paths based on enemy location?

    The biggest challenge I can foresee is compiling AI smart enough to jump off of a koopa / bullet bill in mid-jump in order to reach a normally non-accessible ledge.

    Again, amazing work! Be sure to keep us updated, I'm subscribing to your feed.

  • What if he has to go up then back to the left?

  • I'd totally do better in real-time ;)

  • Wow. This looks amazingly good.

  • First computers were able to defeat everyone in Chess. Then Go. Now, they have taken over Mario.

  • They can't beat humans in Go... best computer is rated about 3d. However it did win a best 2 of 3 9x9 series with a 5p (Mogo).

  • Haha, cool.

  • Good job! My only suggestion is to concentrate a little more on points if you can -- collect coins, kill enemies, that kind of thing.

    The point of the contest is to win as many levels as possible; just thought you'd like a little more of a challenge.

  • simply amazing.

    i'm glad the source code will be made available after the competition, i'd love to learn something about AI. what language was this written in?

  • Java. Mainly because the framework provided by the competition organizers was also Java. :)

  • Wow, i'd really like to learn how to do this, i saw the Infinite Mario post on reddit but i dont know where to begin with AI.

    Any links that have actual code instead of theory?

  • I found that book quite good: AI Game Engine Programming by Brian Schwab. It explains the AI techniques using code for simple games like Asteroids and so on. Don't have any links, google might help :)

  • Ah thanks, i'll go look it up. Hopefully i'll be able to learn something :/

  • Do the predictions and move generation take the fireball power into account? Does it rate destroying enemies more highly or take score into account?