Develop a PHP version of the game ‘Noughts and Crosses’ which enables two players to conduct a game over the World-Wide-Web. The program should proceed in the following stages:
1. Design the client visual interface which should allow the relevant user to place '0's or 'X's on a 3X3 grid in positions that are not already occupied.
2. Develop server code which will allow the server itself to represent the secondplayer, selecting random locations in which to place the appropriate symbol,returning this information to the client, and reporting on game outcome.
3. Extend the server code to allow a second player to engage in a game with awaiting player.
The client interface may be developed with xhtml and javascript. The server codemust be developed with PHP. Graphics may be generated on the client or on then server.
example
[login to view URL]
[login to view URL]