﻿Name of Project : Tic Tac Toe Client Server

Project's members:
1) Nooraini Bte Hamidon 	200905027
2) Khairiyyah Binti Mohd Noor	200905016

This project has contains special requirements to develop and play this game.

a) Need To Install
   
   MySql for create database.
   -> Name of database : cs3002_database.
   -> Username : cs3002_user.
   -> Password : cs3002_password.
   
   In this database has contain one table
   -> Name of table : player.
   -> Attributes : name and status (won or lost) type varchar.

b) How to run

   -> Firstly, user need to run a make file.
   -> User need to run server with command ./server
   -> When server waiting for connection from client, user then need to run client file with IP address
      command ./tictactoe_game <ip_address>   
   -> Connection from client was successed with server <ip_address>
   -> Here, connection of database be connected.
   -> Window of tic tac toe game will be display.

c) User Manual

   -> To start this game, user need to insert the name in text field. If user want to change the name, user can click button Clear Name and insert new of 	name.
   -> The name will be display in text label.
   -> User can play this game which is human versus computer game.
   -> Result whether player is won or lost will be display in label after finish the game.
   -> Client will send the message that player finish the game to server.
   -> Click button Submit to insert name and status player in the database
   -> User can see the history of all player and total number of player with to click View All Players History button.
   -> Click Quit button to quit from the game.







