Skip to main content

Tic-Tac-Toe

a simple game made in rust

info

Author: Rosioru Yaris
GitHub Project Link: https://github.com/UPB-FILS-MA/project-yarisrosioru

Description

Tic-Tac-Toe is a fun game for two players who take turns marking the spaces in a three-by-three grid with X or O. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row is the winner. It is a solved game, with a forced draw assuming best play from both players.

Motivation

I was searching for inspiration in other students projects from the last years and I saw mini-games such as Snake or Pong Game. That's when I thought to create a game of Tic-Tac-Toe

Architecture

architecture

Log

Week 6 - 12 May

Week 7 - 19 May

Week 20 - 26 May

Hardware

Detail in a few words the hardware used.

Schematics

Place your KiCAD schematics here.

Bill of Materials

DeviceUsagePrice
Rapspberry Pi Pico WThe microcontroller35 RON
Wires(F-F,M-M,F-M)Wire Connection[19 RON]
[bi-color LEDs](https://www.optimusdigital.ro/ro/optoelectronice-led-uri/703-led-bicolor-de-3-mm-rosu-si-verde-cu-anod-comun.html?gad_source=1&gclid=CjwKCAjw3NyxBhBmEiwAyofDYc81R7P_yHfbliytvEZRX8mVyFCPob2bFMxJdQO0Cd3gmfWZPT0ftxoC6F0QAvD_BwE https://www.optimusdigital.ro/ro/optoelectronice-led-uri/703-led-bicolor-de-3-mm-rosu-si-verde-cu-anod-comun.html?gad_source=1&gclid=CjwKCAjw3NyxBhBmEiwAyofDYc81R7P_yHfbliytvEZRX8mVyFCPob2bFMxJdQO0Cd3gmfWZPT0ftxoC6F0QAvD_BwE)input
[push buttons](https://ardushop.ro/ro/electronica/386-buton-mic-cu-led.html?gad_source=1&gclid=CjwKCAjw3NyxBhBmEiwAyofDYYK9qo7IjnfMtsT8BGwhPxeqLLjScYG8FjmfC1KhMvf__CtSuMIWHxoCyFEQAvD_BwE https://ardushop.ro/ro/electronica/386-buton-mic-cu-led.html?gad_source=1&gclid=CjwKCAjw3NyxBhBmEiwAyofDYYK9qo7IjnfMtsT8BGwhPxeqLLjScYG8FjmfC1KhMvf__CtSuMIWHxoCyFEQAvD_BwE)Input3,19 RON
ResistorsWiring2 RON

Software

LibraryDescriptionUsage
SSD1306Display driver

| TODO |

  1. Snake Game on Pico
  2. Pong Game ...