update game tic tac toe banner

update game tic tac toe

6 devlogs
10h 36m 23s

Updated Project: This is a massive upgrade to my Tic-Tac-Toe game! 🚀 Believe it or not, the improvements took much longer than writing the initial code itself. I’ve added difficulty levels and a smart AI that only a pro could beat! 😎 Along with a …

Updated Project: This is a massive upgrade to my Tic-Tac-Toe game! 🚀 Believe it or not, the improvements took much longer than writing the initial code itself. I’ve added difficulty levels and a smart AI that only a pro could beat! 😎 Along with a major UI overhaul and several bug fixes, the experience is now smoother than ever. I’m sure you’re going to love it
The image from Google .

This project uses AI

I used chatgpt to correct errors in the code and review it.
i forgot, i also used Chatgpt in writing file README.md

Demo Repository

Loading README...

youssefosamasalah51

I’m so happy to announce that the project is finally complete! 🎉 I’ve added all the features I had in mind. One important takeaway: if you ever plan to dive into Game AI or algorithms in general, make sure to clear your schedule! ⏳ I spent about a day and a half just figuring out a simple AI for this game. It was quite a challenge, but I’m proud of the result. Hope you all like it ❤️💕

0
youssefosamasalah51

After thinking it over, I’ve decided to skip the GUI and stick with the terminal for now. 💻 I’ve added some cool features like a redesigned board and a turn timer—lots of fun stuff for you to see! ⏱️ Now, my next big challenge is building an AI opponent. I’ll need to dive deep into algorithms, which I think will be the most time-consuming phase yet. Wish me luck

Attachment
0
youssefosamasalah51

I’ve finally finished almost all the tweaks wanted I feel like l’ve rewritten the entire codebase at this point 😅. everything is working perfictly in the terminal, but I’m still a bit hesitant to start with Tkinter. I have this feeling that i’ll end up changing eveything all over again

Attachment
Attachment
0
youssefosamasalah51

Things just got a lot more challenging 😅 I have to rewrite almost the entire codebase to transition from the terminal to a Graphical User Interface (GUI). It’s tough and definitely time-consuming, but I know that nothing worth having comes easy. Let’s do this 💪💻

I don’t know this picture , but I liked it 😅😘

Attachment
0
youssefosamasalah51

I’ve updated the code to include validation that prevents players from choosing the same information. It’s all about making the game logic more robust and ensuring a smoother experience for everyone

Attachment
0
youssefosamasalah51

After reviewing my old code and doing some research, I came across a key programming principle: DRY (Don’t Repeat Yourself). Looking back at my first version, I realized I was doing the exact opposite! I’ve since leveled up my skills and refactored the code to make it cleaner and much more efficient. Check out the improvement in the second version

Attachment
Attachment
0