First Rust Program!!
The classic tic-tac-toe game has been implemented by me with a brand new design in RUST!
Lately, I have been learning rust because it's pretty cool... It has the speed of C++, but also with the pleasant features of higher-level languages like js and haskell. Together, this epik language was made. Yay!
I never actually made anything useful while learning the language, but now I have! This tic-tac-toe game is to practice my rust skills :))
How to play
Step 1. Press that big green button
Step 2. Enter in the x and y position
Step 3. Try to win!
There is now an AI, albeit dumb
I hope you enjoy playing this as much as I did making it! A little code review wouldn't be bad either :)
Me: creates a GUI of tic tac to game
evry1: We don't care
@Coder100: Created a console tic tac toe game
evry1: WOW!! Let's upvote!
ppl only care fur da popular
Can you please add an AI to play against? Because
I have no friends of Covid I have no one to play it with :(
@Coder100 I mean the classic tictactoe ai is like this: If you can win, win. If you can't win and the other guy can, block him. Otherwise if the center is available take the center. Otherwise if the corner is available take the corner. Otherwise take the side. That being said I honestly don't know any good way to check whether you can win or if the other guy can win without spamming a ton of or statements.
It has the speed of C++, but also with the pleasant features of higher-level languages like js and haskell. Together, this epik language was made. Yay!
What do you mean?
C++ also has high level features.