The goal of the Physical Tic-Tac-Toe project is to move a well-known game into the physical realm. Originally, the game is played by two players on a piece of paper - by putting ‘X’ and ‘O’ symbols in turns. Our idea was to examine players’ behavior when confronted with a radically different form. Additionally, we really liked to explore Steampunk aesthetics by combining the mechanics of gears with electronics.
The key idea behind our project is that the game fields’ states can be represented by the shape of the bendable material. Fields have 3 different states: ‘X’, ‘O’ and NULL (unused field). We had to come up with a way to reduce the number of actuators needed to make a transition from one to another state. Having drawn a few sketches we realized this number can be reduced to just one. Sketch below summarizes our design process.
With the following materials, you should be able to make 9 game-boxes. Each game-box is an independent element and can be used in any configuration. Without much hassle, the board might be extended to 16 (4×4) or 25 (5×5) boxes.
Tools:
Materials:
Each box requires approximately 0.3 sqm of 3mm MDF board. Placement of elements on the canvas does not matter. Note that gears are not redundant - all of them are required to make the box work.
Provided SVG file might have to be adjusted to work properly on different printers.
The second part of the process is to create a physical input boxboard. It is a 3X3 board where each of the buttons corresponds to the respective boxes on the game board.
The connections with the Arduino are as follows. Now regarding the input box, the connections were done on a solder board and the entire assembly is present inside the box. The digital pins and the power and ground pins from the input board to connect with the Arduino. The servo connections are as shown in the image above.
The code for the Interactive artifact consists of 3 files. TicTacToe.ino is the main file and solver is the algorithm used to play the 'X' and 'O' steps.