• 95

What will I learn?

Basic rules of this game are really really simple, you can create your artificial intelligence with only few lines of code and improve it step by step.

In this puzzle, you have to efficiently compute the cells of the grid in order to capture a maximum amount of cells before your opponents do. You can also rely on pathfinding algorithms to achieve this goal.

Finally, artificial intelligence games are based on your capacity to be creative. Observe, adapt, improve, and share with the community to create a powerful AI.


Voronoi diagrams by Marchete

Learning Opportunities

This puzzle can be solved using the following concepts. Practice using these concepts and improve your skills.


The aim of this game is to own the largest number of cells in a grid. You have two ways to claim ownership of a cell:

  • By moving onto a neutral cell (and being the only one on that cell).
  • By surrounding a collection of neutral cells with your own cells.

A higher resolution is required to access the IDE


Greeeat Scott! Marty just released all the energy that he needed to go back in 1985. Fortunately, Doc has created a miniature temporal apparatus which gathers the positronic energy caused by the fluctuations from disturbances in the space-time continuum to get the 1.21 gigawatts of energy necessary for the time travel.

You have to help him to program his Overboard to accumulate enough energy before that Biff comes back before him.

You can also learn tips from another game, similar in the approach but with different rules : Tron

codingame x discord
Join the CodinGame community on Discord to chat about puzzle contributions, challenges, streams, blog articles - all that good stuff!
Online Participants