The Battlecode Programming Competition

Screen showing soldiers from competing sides, red and blue, fighting.

Battlecode teams compete against one another by programming a variety of tactics into their players on the field. (Image courtesy of the Battlecode developers. Used with permission.)


MIT Course Number


As Taught In

January IAP 2013


Undergraduate / Graduate

Cite This Course

Course Features

Course Description

This course is conducted as an artificial intelligence programming contest in Java. Students work in teams to program virtual robots to play Battlecode, a real-time strategy game. Optional lectures are provided on topics and programming practices relevant to the game, and students learn and improve their programming skills experientially. The competition culminates in a live Battlecode tournament.

This course is offered during the Independent Activities Period (IAP), which is a special 4-week term at MIT that runs from the first week of January until the end of the month.

Other OCW Versions

OCW has published multiple versions of this subject. Question_OVT logo

Mann, Maxwell. 6.370 The Battlecode Programming Competition, January IAP 2013. (MIT OpenCourseWare: Massachusetts Institute of Technology), (Accessed). License: Creative Commons BY-NC-SA

For more information about using these materials and the Creative Commons license, see our Terms of Use.