Tic tac toe

October, 2019

Tic-tac-toe (noughts and crosses) or X and O is a​ classic ​game for two players, ​X​ and ​O​, who take turns marking the spaces in a 3×3 grid. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row is the winner.

The game has been designed to play using FPGA switches to enter the position where the player wants to enter an X (01 in the programme) or O(10 in the programme) . The switches take four bit input. For example, if the first and last switch is on, the middle two are off, the position being entered is 9 ( 1 0 0 1 )

The result is either a draw (all LEDs of both colours light up ) or if the Computer(Red) or the Player(Green) wins, it is depicted by lighting up of all LEDs of the corresponding colour on the breadboard and the corresponding LED of the FPGA (last LED for the Computer and second last for the Player).

Github Link

ALL PROJECTS