Skip to main content
Version: ACS CC

Ultimate tic tac toe

Ultimate tic tac toe implemented in rust

info

Author: Grumazescu Amalia - Maria
Github Project Link: https://github.com/UPB-PMRust-Students/proiect-amaliagrumazescu

Description

Ultimate Tic Tac Toe is a variation of the classic Tic Tac Toe game, composed of 9 games of classic Tic Tac Toe on a 3x3 board. The game is a lot more complex than the classic variation, with each move determining where the other player is allowed to place their next symbol. When a player places a symbol into a case on the small board the other player is forced to place their symbol in the corresponding small board. When someone completes a small board it is replaced by a large symbol and no further moves are allowed in that board, with the game ending when one player has a line of large symbols.

Motivation

The decision to implement this game was rather simple, as I always enjoyed playing the classic Tic Tac Toe, however it was too simple to code, so I decided to challange myself with the more complex variation, known as Ultimate Tic Tac Toe

Arhitecture

Arhitecture

Log

Week 28 April - 4 May

Final documentation

Week 5 - 11 May

Checking the components and initial testing of the build

Week 12 - 18 May

Final hardware design
Initial software testing

Week 19 - 25 May

Final version of the project

Hardware

Raspberry Pi Pico 2W - main controller of the components LCD Display - displays the game Buttons - used to control the game Breadboard - to simplify the connections

Schematics

schematic

Bill of materials

DeviceUsagePrice
Raspberry Pi Pico 2WMain controller of components40 RON
Buttons5 buttons for the game controls2 RON
Rezistors10k Ohm rezistors for the buttons1 RON
Breadboard400 point breadboard to ease connecting the pieces5 RON
CablesUsed for connections between the components6 RON
Lcd displayFor displaying the game45 RON

Software

LibraryDescriptionUsage
st7789Display driverUsed of the LCD display
embedded-graphics2D graphics libraryUsed for drwaing for the display

Links

  1. About Ultimate Tic Tac Toe