Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Infinite Mario AI - Slowmotion Example

Loading...

Sign in or sign up now!
71,056
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 7, 2009

This is work in progress!
Excerpt from the Mario AI follows Mouse video ( http://www.youtube.com/watch?v=qYluZRwrw9w ), where I increased the visibility of the red paths.

I'm playing around with the "run to the right" AI I've shown here before ( http://www.youtube.com/watch?v=DlkMs4ZHHr8 ). I decided to change the heuristic for A* (roughly speaking, the goal the Mario AI is trying to archieve), so that Mario tries to be as close as possible to the mouse pointer. In the video, I just show the behaviour a bit and try to bring Mario in dangerous situations, which the AI solves on its own!

This is based on Infinite Mario ( http://www.mojang.com/notch/mario/ ).

The red lines show which routes the AI is considering, you can see them adapting to new obstacles once they appear. The AI only uses information on screen, and runs in Java, in real time (slowed down here to 5fps).

More info: http://www.doc.ic.ac.uk/~rb1006/projects:marioai

Enjoy!

Category:

Education

Tags:

License:

Standard YouTube License

Link to this comment:

Share to:

Uploader Comments (robinba2342364)

  • this looks different from the original video, in the original, I can see Mario clearly kick the shell, not pick it up. Or is it just me?

  • It's the same area of the map, but another run of the bot. It was less work to record it twice than to cut out and slow down part of the old video. Also, the shell-handling in this video is nicer, so I decided to use this instead.

Top Comments

  • you put the third law of robotics before the second law

    now we're all fucked, thanks a lot

  • There's only one way to describe something as amazing as this creation of yours: Fucking awesome in every respect, aspect, etc.

    I cannot express how much watching that AI makes me happy and smile. I've always loved programming, and more recently, AI specifically (as I've been having issues learning the A* algorithm and other common/old techniques).

    I've been programming for a long time, and I've seen many bots, hacks, etc. but a real-time AI written in Java? Just amazing..

    Message me <3

Video Responses

This video is a response to Infinite Mario AI: Mario follows Mouse
see all

All Comments (57)

Sign In or Sign Up now to post a comment!
  • The AI is doing a TAS.

  • Do you still have this AI on hand? If so, I would love to see you put it against Kaizo Mario. :D lol

  • I'd like to see this on kaizo lol

  • what name of this game, mario world?

  • @eerikk

    I agree with you, but i think he means something like:

    And entity has artificial inteligence if it can solve its own (new) problems ... or something like it.

  • Hello world, The A*-search algorithm is NOT AI!!!!! Solutions that employ GAs TDL and Neural Networks are much more interesting, but if you want performance - supply a complete model of the game by maintaining a copy of the game engine!!!

    That....is....NOT....AI!!

  • Why does mario grab the shell? Is he actually planning to destroy the enemies as part of the algorithm?

  • this was after mario was told there is no spoon.

  • This man will make robotic girlfriend's one day and man kind will praise him.

  • Oh shoot, everyone stand back, Mario's on his period again.

View all Comments »
Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more