Inspiration
My inspiration behind this was not to just create a game for people to fall in love with but it was to learn the intricate concepts and battle the challenges of programming a game from scratch albeit a simple Tic Tac Toe game.
What it does
The game runs in the terminal window of the IDE. Utilising a dictionary as a tracker to determine the position of Os and Xs. Each player's information is stored in classes and often referenced to through out the code. There are also checks throughout the game to ensure the player does not make a wrong move which will cause an error. Lastly, the winning mechanism checks every possible 3 in a rows to see if a player has successfully completed a whole row before being declared a winner.
Challenges we ran into
I faced challenges with the classes as I was confused with the concept of _init and selfs. That took a really long time. Also made a bunch of errors along the way but managed to troubleshoot and solved them.
Accomplishments that we're proud of
It works perfectly!
What we learned
Classes and Dictionaries. To have perseverant in solving problems.
Built With
- python
- vscode
Log in or sign up for Devpost to join the conversation.