Tic-Tac-Toe
https://repl.it/@CyanCoding/Tic-Tac-Toe
As a fun side project, I built this awesome Tic-Tac-Toe game (with three AI levels) in May 2017.
code warningserrors sure can kill!
and HOW did this get the 5th most votes in ALL the posts!?!?!?
-Ebest
It works and all, but no tic tac toe program like this should be 2000 lines long. You can put a lot of the stuff you have into specific functions. You repeat yourself many times, and basically just hardcoded the game. This will work for a simple game like tic tac toe, but if you wanna progress farther as a programmer you need to actually learn how to program.
@maxballard Haha, thanks for the tip. Do note though that I made this over a year and a half ago, and it's not even in the same language I use now. But yes, I have gotten over that bad habit.
i beat impossible mode in 4 moves hahaha!!
@Mello742 me too
I beat the impossible level in 4 moves!!!!!!
Hahahahahahahahahahahahahaha!!!!!!!!!
hmm I beat impossible in 3 moves, easier than normal mode
I hacked the program by pressing x after telling it to play and telling the difficulty
ummmmmm wut:| also scroll bar all that...
@codingduck We like ducks. We can be friends!
Impossible mode seems to have lost its right for its name... It was actually very easy to beat...
I actually typed play in the comments smh
Play
Play
....
646 warnings generated.
./main
Uhh
i beat impossible in 5 moves pog
nobody upvote or downvote this ever again
I like it
How do you start playing?
@IsaacAlexander2 u just type in play
@AaronMa4 Thanks
The impossible level can be beaten in three moves!!! can make It better.
I beat the impossible mode
I was a bit surprised when a tic tac toe program took 2600+ lines of code, no tic tac toe should be that long. Also it generated 646 lines of code, and "Impossible" isn't really impossible(It's beatable in 3 moves)
I beat the impossible level in 3 moves!!!!!!
Hahahahahahahahahahahahahaha!!!!!!!!!
I beat the impossible level in 3 moves!
HHHHHHHHHHHHHHHHAAAAAAAAAAAAAAAAAAAAAAAHHHHHHHHHHHHHHHHHHHAAAAAAAAAAAAAAAAHHHHHHHHHHHHHHHHHHHHHHAAAAAAAAAAAAAAAAA!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
and beat it on first try!
cool game!
Nice job! Enjoyed playing.
beat impossible, thats what comes when you play against yourself =(
DEAD
SHUT UP MAN WHAT U GONNA DO BRUV/ I FIND YOU
impossible isin't impossible
If you do 7 then 8 then 9, you will win 95% of the time.