https://github.com/humzatebai/ttt_attempt
A simple Tic Tac Toe game attempt on C++
https://github.com/humzatebai/ttt_attempt
beginner-project cpp learning-by-doing projects tic-tac-toe tictactoe-game
Last synced: 3 months ago
JSON representation
A simple Tic Tac Toe game attempt on C++
- Host: GitHub
- URL: https://github.com/humzatebai/ttt_attempt
- Owner: HumzaTebai
- Created: 2024-12-22T16:57:56.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-31T05:49:50.000Z (over 1 year ago)
- Last Synced: 2025-02-21T05:15:40.814Z (over 1 year ago)
- Topics: beginner-project, cpp, learning-by-doing, projects, tic-tac-toe, tictactoe-game
- Language: C++
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Tic Tac Toe
A simple Tic Tac Toe game built in C++ during my learning journey.
Context
Hi, I’m Humza—a 40-year-old senior sound designer who started learning C++ just 51 days ago.
This project is my way of applying what I’ve learned so far while exploring how programmers think and solve problems. I’d love your feedback and suggestions to help me improve and learn more about coding practices.
Please do not be surprised if you find something completely stupid, I gave it my best with whatever I know now. Surely I will refactor this in much better ways when I learn more.
Features
• Two-player mode
• Players can choose X or O
• Automatically checks win conditions (rows, columns, diagonals)
Areas for Improvement
• Handle edge cases more gracefully
• Improve user experience (better prompts and clearer messages)
• Use more descriptive variable names
• Debug a bug causing a repetition of a prompt, which I couldn’t figure out
Why I Built This
This project represents a milestone in my programming journey. It showcases my growing understanding of:
• Basic data types
• Strings
• Loops
• Functions
I’ve also experimented with references and minimal pointer usage, even though my knowledge of them is still very basic.
Mor than just a project, this is my gateway to the GitHub community. I’m hoping to learn from your reviews, insights, and suggestions to better understand real-world practices for solving problems and writing code.
Thank you so much for your time, reviews, and suggestions, they are really priceless to me! 🙏
---> Feel free to fork this repository, experiment, and contribute through pull requests!