Game Design & Inspiration
In the standard game of Tic-Tac-Toe if both players make well-thought out moves it will always end in a tie. Inspired by 5D chess, our team decided to create a higher level version of the game, adding in a third dimension, to make it much more challenging, while adding in many new ways to enhance playability and fun.
Gameplay & Instructions
With the same basic mechanics of Tic-Tac-Toe, our game expands it to a 4x4x4 board in a 3-Dimensional space, allowing for players to win in a multitude of ways. To win you can utilize all dimensions of this game, stringing together 4 spheres consecutively in rows, columns, or diagonals of each plane. You may also use the other dimensions of the game and make 4 in a row vertically or diagonally making use of multiple planes. To make a move, click on one of the spheres and it will change color to identify the one you have chosen. At the end, the basics is you want to ensure that the other player doesn’t get 4 in a row before you do.
Additional Information
Instead of using ‘X’ and ‘O’ we used the colors red and blue, and we created visual lines that appear when hovering over each sphere to show how each plane connects to one another.
How we built it
We started by creating the base which was a 4x4 Tic-Tac-Toe board created from 16 spheres. Then we built off of that by creating the other boards which were also 16 spheres each consecutively, and then we made it all visible in a three dimensional space. We then focused on functionality, and made it clickable. For instance when each sphere was clicked it changed colors and then the next color would be different to create the ability to switch between players creating turns for the multiplayer mode. We then implemented win conditions and a tie condition. After that we focused on working on the bot, while also adding lines when hovering over each sphere to make it easier to visualize. Lastly we added a menu screen at the beginning, then did a bunch of bug fixes to ensure it was all functional.
Challenges we ran into
- Creating and designing a functional AI to play against
- Creating the game in a easy to visualize way
Use & Utility
This game requires a lot more thinking and has many more challenges to it than the regular game of Tic-Tac-Toe. It is a difficult, but intuitive game, and it helps the player improve on spatial awareness and puzzle solving skills, while also being a fun and exciting game.
Accomplishments that we're proud of
- Creating a functional game of 3D Tic-Tac-Toe with both a multiplayer and AI mode
- Getting a working AI, that makes logical moves, and is difficult to beat
What we learned
Learned more about graphical libraries, 3D projection, minimax algorithms with alpha-beta pruning, heuristic functions, and cooperation in a fast paced environment.
What's next for GitGud
We'll see :)

Log in or sign up for Devpost to join the conversation.