XO game!

In this post, I am thrilled to share the details of my final project in the Digital System Lab I. The project involved developing a game using the ATmega64 microcontroller, which was readily available in the lab. To play the game, we utilized the microcontroller, a matrix keypad, and a set of LEDs. The game itself is a classic and well-known one called “XO” (Tic-Tac-Toe) that enjoys global popularity and follows familiar rules.

By utilizing the matrix keypad, we were able to input commands and relay them to the microcontroller. This allowed us to select the desired positions on the game board to place our markers and configure other game settings. The LEDs played a crucial role in visually indicating the turn of each player. By displaying either the number 1 or 2, the LEDs showed which player’s turn it was, enhancing the overall gaming experience.

To ensure the reliability and functionality of the project, we also simulated it using Proteus software. This simulation provided an opportunity to validate the design virtually before implementing it on the actual hardware. All the necessary files for the project, including the Proteus simulation files, are available HERE.

To provide you with a better understanding of the project’s operation, I have prepared a short video showcasing how the game works. I invite you to watch the video and witness the exciting gameplay in action.

 

 

Description

  • University

  • May 22, 2021

Utilizing the ATmega64 microcontroller, I successfully implemented the XO game in this project.