informa
/
1 MIN READ
News

An AI has learned to drive on Mario Kart 64's Luigi Raceway

Developer Kevin Hughes says he's managed to train an artifical intelligence agent to play Mario Kart 64, and last month he published a blog post walking through how he did it.

Developer Kevin Hughes says he's managed to train an artifical intelligence agent to play Mario Kart 64, and last month he published a blog post walking through how he did it -- plus some lessons learned along the way. 

It's a neat project (you can see the successful outcome above) and game devs should note that Hughes has shared his "TensorKart" code on Github, along with the driver he built to feed input data into an N64 game emulator.

The full (and brief) blog post is well worth reading, but here's a quick summary: Hughes says he relied on open-source machine intelligence software TensorFlow for this project, eventually turning to Nvidia Autopilot -- the company's implementation of TensorFlow for training actual self-driving cars -- to train his automated neural network to navigate a track in Super Mario 64 running on an emulator.

"In a couple of days over winter break, I was able to to train an AI to drive a virtual vehicle using the same technique Google uses for their self-driving cars," wrote Hughes, who currently works as a developer at Shopify. "With approximately 20 minutes of training data, my AI was able to drive the majority of the simplest course, Luigi Raceway, and generalized to at least one section of an untrained racetrack. With more data, I bet we could build a complete AI for Mario Kart 64."

Latest Jobs

IO Interactive

Hybrid (Malmö, Sweden)
3.02.23
Gameplay Director (Project Fantasy)

Arizona State University

Los Angeles, CA, USA
2.27.23
Assistant Professor of XR Technologies

IO Interactive

Hybrid (Copenhagen, Denmark)
3.02.23
Animation Tech Programmer

Purdue University

West Lafayette, IN, USA
3.02.23
Assistant Professor in Game Design and Development
More Jobs   

CONNECT WITH US

Explore the
Advertise with
Follow us

Game Developer Job Board

Game Developer

@gamedevdotcom

Explore the

Game Developer Job Board

Browse open positions across the game industry or recruit new talent for your studio

Browse
Advertise with

Game Developer

Engage game professionals and drive sales using an array of Game Developer media solutions to meet your objectives.

Learn More
Follow us

@gamedevdotcom

Follow us @gamedevdotcom to stay up-to-date with the latest news & insider information about events & more