I have some jQuery that does a simple tic tac toe game but require some tasks to be added to it, no need for styling. the basic code is below plus the criteria. We will use Github to update the task and I will give you files once started, this needs to be done quickly.
Update a tic tac toe games
1. Modify the script so that the system plays as “Person 2”;
2. Draw a line connecting the Os or Xs when a player wins (feel free to select any type of animation here to draw the line);
3. Create a stats div with h2 "Current Game Stats" underneath the game and show the following:
- the average time is taken by the user to play a move whilst playing the game; and
- number of moves made by both the system and the user whilst playing the current game.;
4. Add the ability to play multiple games when a game is completed and show the stats related to win/lose/draw in a modal that can be opened by clicking a button named "Championship Stats"; and
5. Feel free to update the game layout as you think appropriate to demonstrate your UI design skills.