jasonrobertfox / tictactoe

An unbeatable game of tic tac toe.
http://perfecttictactoe.herokuapp.com/
GNU General Public License v3.0
183 stars 44 forks source link

Two player #2

Open anwarkm opened 8 years ago

anwarkm commented 8 years ago

To improve your game I think you should try and make the game a two player game so two people can play the game so it makes the game more enjoyable as people will play with their friends rather than playing with the computer.

anwarkm commented 8 years ago

You could improve the game further by having a documentation in the game to tell the users about the game how the game works and also you could add an help forum so people can put their questions also you should have background to make the game look attractive.

0frasure commented 7 years ago

The game is supposed to showcase the Minimax algorithm. It was not made to be a 2 player game. For documentation, there is this: http://neverstopbuilding.com/minimax basically what you are looking for. It was made by the author so it is on point with the program. For the forum, remember this is just to showcase the algorithm, and not a social media site/network.

I hope this helped! Sean

MLiamS commented 7 years ago

Can you do this in JS?

0frasure commented 7 years ago

@MLiamS When you are on the website, you can either 'Inspect Element' or 'View Page Source' to see the web-based code behind it. I'm sure it can be done with jQuery.

whimsicaldreamer commented 7 years ago

@anwarkm, you can look into this https://github.com/whimsicaldreamer/XandO/tree/test-newAdditions1?files=1

The project is currently in development and requires a lot of help. Currently my decision making algorithm is a bit over complicated and makes decisions for n in a row where n is the length of the grid.