World Tic Tac Toe
World TTT is a project that will allow anyone in any part of the world play "head to head" Tic Tac Toe over the Internet using a web browser.
How does it work?
- World Tic Tac Toe works using a PHP compatible server with MySQL installed. The game logs each player, and each move within the database. throughout the game the player is able to retrive the information from the database and use it to display the current game board and winnings.
How many players can play at a time?
- World Tic Tac Toe was designed to scale up to a massive amount of game rooms, each two players get a room id that is logged in the database, each room id is created and dropped each time a player starts and ends a game. Therefore you can have thousands or even millions of games running at a time. The max amount of rooms that can be created is 9,999,999 (as long as the server has enough resources).
How does the GUI (graphical user interface) work?
- The GUI works by collecting needed information from the database that tells were each players pieces are located on the board. The database has nine sections(one for each spot on the board), each space uses either a 1, 2, or "" (blank). The 1 tells the program that player one (X) is on that spot, same with player 2 (O), and "" (blank) is a null saying that nobody has chosen that location yet. with the information about where the player has moved, the program can "block" or disable those squares that are taken, so on your next move the player will not be able to select that area.
How can I help develop or host World Tic Tac Toe?
- World Tic Tac Toe is an open source project based under GNU GENERAL PUBLIC LICENSE (GPL). You can download the source for this project and help develop this program. (look under development page for source and ideas). You can also help by hosting this project on your server. All your server needs is MySQL and PHP.