Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "tictactoe"
-
Want to play some Tic Tac Toe? Letting my bot go for a good first round of public testing
Probably will break right away.. Who knows :D
For starters limiting to one simultaneous game. Have fun!36 -
Just finished my C# implementation of Tic Tac Toe with AI.
It is probably the ugliest, messiest code I've written in years...
The problem is the computer i m on is real old and the dark theme sucks... and i havent done C# in awhile...
At this point its just POC and wireframe i guess....
Will clean and make it usable for an actual game when i get back to my home and my own PC...
That or someone can make a PR:
https://github.com/allanx2000/...
k, thnx, bai... that took like 4hrs....9 -
So recently I needed to make a little Tic-tac-toe game with Node.JS for an university project. I previously learned Java and C# so Javascript as a non-compiled, script based language was something new for me.
Now during the programming process I reached the point where I needed to implement a function to change the player who's playing.
I was testing the game and... It seemed like the player was changed twice so it immediately switched back to the previous player.
Using a lot of console.log's I finally stumbled upon the error... (since Javascript or at least Visual Studio Code, I honestly don't know, doesn't have any kind of debugger or something).
Why the fuck does js allow to make allocations in if conditions?
I accidentally wrote one '=' instead of three '==='.
No error, no warning... Nothing.
Since then js and me are not friends anymore.8 -
I thought I at least was OK at JavaScript, but today I looked at a tictactoe implementation, and with all the fancy new syntax I have no clue what most of it is doing.2
-
Hey guys, I made an unbeatable AI at TicTacToe! https://github.com/MrEliptik/...
Don't know if you care but wanted to share :)5 -
!rant
I am teaching some friends python, so i would you comment here challenges to do in it (eg. Python TicTacToe). All difficulties would be appreciated.7 -
tictactoe squared. An online game build on top of the idea of tictactoe. I build this app with a friend back in the days when we used to go to school using plain html,js and express.js. no fancy frameworks or other tooling8
-
I need to solve 4x4 tic tac toe using alpha beta pruning, I have solved 3x3 tic tac toe using minimax, and it works very well, but in 4x4 minimax takes lot of time as search space is too big, so I am applying alpha beta pruning but I am not getting clear idea, that upto what depth I should go and what evaluation function should I write in order to give perfect game play, heuristic may also lead to false results and not perfect game play, so how do I ensure perfect game play for 4x4 using fast approach?? Any suggestions or approach will help me a lot. Looking forward to get some inputs.4