Tic Tac Toe (With AI)
Name: Tic Tac Toe (With AI) Author: Zeda E. Download: TTT.zip Compatibility: TI-83+/84/SE File Size: 819 Bytes |
This is my version of Tic-Tac-Toe that includes options to go against the calculator… be ware, the calc can be pretty good. For a challenge, try playing as O. |
Want to update this page?
- Upload new files to provide up-to-date versions of your program;
- or Edit the content of this page to provide up-to-date information about your program.
A moderator will only process these changes if you add the word update to the list of tags
What the community thinks:
Feel free to download it and look at it to see how to manipulate matrices and lists and whatnot.
Z80 Assembly>English>TI-BASIC>Python>French>C>0
Wow, that's nice! I've tried to do the same thing, but I can't really get the Ai down very well. I think the game graphics could be spiced up a bit, I used some square brackets and spaces to indicate the board easier:
[ ][ ][ ]
[ ][ ][ ]
[ ][ ][ ]
I really like the game mechanics though!
~ Potatoboy
I think she wrote this during a final exam… :p
(∂²Ψ)/(∂x²) = -(2m(V(x)-E)Ψ/( ℏ²Ψ)
Yeah, Qwerty is right… And at the time, I was going for size as opposed to graphics, but if somebody wants to add graphics, feel free! Also, I am working on a super difficult version, at the moment. I don't really consider it AI because it doesn't analyze anything, but it is very difficult. The uploaded version does have AI, though :D
Z80 Assembly>English>TI-BASIC>Python>French>C>0
TicTacToe's "AI" is quite easy, actually. For a simple version, just check what the user has, and if they have 2 in a row any way, go for that. You could build up a string, but since matrices in TI-BASIC are strictly numbers, you could just add up the row, column, or diagonal and see if it is 2.
Projects: BexIDE (hold), Hadean.NET, Legend of Zelda: Link to the Future
I have several methods that I can think of and some I have made to make AI. The fastest AI would use more variable space, though, so I never made it. I don't like using vars too much, but I might decide to do that >_> :D
Z80 Assembly>English>TI-BASIC>Python>French>C>0
I want a tic tac toe game as the codes. Not the Downloads.
I DONT HAVE A USB!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
rwfgawuefguwoagfgaYESFGPAWEgfowaeufyaouwegfawuiegyiuEWAYGFiuagfaeugfiauewgfyiWEAUgfiuawegfiUgfyiuwfgweaufgweiufgiuwegfewugiuewgweygfiaweugfiaweygfoawuegyuiawegyfOAEwygfLOEAWiucgfBibiegiuegwkiei7yegwfiaegfi7zegyizaeywtgfi7rygtkixzdyrsa7gtfizsyergtfizes7yagtfroeisfkojeokjedyjuhdsdsusiyahgtfkaze7gtfkigtfkia7gtfik7aewyfgtiza7egtfizeya7gtfroieawyhgtfoekjgzjjjjigtozk9jjtfjuhyufrgtia7yusfrygtjzryugtkyuagtfigtrrrrrrrriaeshygtfiseahyrgtfraesihy7gtfisa77agtjfi7ayfiaesyiastriaw7ygtfaw7z
you can always use chemetech's source coder to view the code from a .8xp file
I've got a new twist to your game. Along with your AI, the X and O, there are now 5 rows, 5 columns, a triangle, and a square. Four player mode, Co-op mode (Against triangle and square), or Single player (against 3 other AI's). The game goes best to 3. There's still the classic 3x3 board, but the 5x5 board is there if you and your friends want to have a match. Just an idea :)
This is a dead thread. I doubt that anyone cares anymore. Since you're new here, just consider this a friendly warning. Also, please take a look at the site Rules.