Exercise 1: The board

The board

To begin programming, the first element we will use is a squared board, similar to the one that is used to play Chess, Checkers or Go.

These boards can have any size, such as:

4x4 3x2
4x4 3x2

We will always need a board on which execute our programs, and we will be in charge of creating them for you, in every one of the exercises. The interesting point is that the same program can be executed on different boards, bringing about different results.

In order for you to check that we don't lie, press “Continue” button, and we will generate your first 3x3 board.

You must sign in before submitting your solutions

Oops, your solution didn't work

  • Check that your program does not have recursion or an infinite loop
  • Check that you have an internet connection
  • Wait a while and try again

We are processing you solution

Please press F5 if results are not displayed after a few seconds