Highlights
Description
This assignment will utilize your programming skills in socket programming, threading, and use of the Observer pattern. These skills will be used to develop a multithreaded socket program of the Tic-Tac-Toe game implemented with a server and game client. Both the client and the server must have a GUI interface. The server’s GUI will be used to display and monitor game traffic; the client’s GUI will contain the Tic-Tac-Toe board and any other components required to play the game and chat during gameplay.
Notes
- This is your first assignment and is worth 6% of your final grade in this course.
- See documentation below on submission and evaluation of assignment.
- Below you will find the specifications for your application, along with some hints on how to proceed.
- Read the specifications very carefully. If you are uncertain about any of the requirements, bring your code to your instructor and they will discuss it with you, or e-mail them.
Specifications
You will be required to write a:
1. A multithreaded server capable of supporting multiple Tic-Tac-Toe players logged on and multiple games being played concurrently.
2. Client that will allow the user to register on the server and play the game of Tic-Tac-Toe with the next available player logged on to the server.
3. The game server will wait until two players have logged on to the server. It will pair these players off under a separate thread of control which, when created, will notify each player that they can start playing the game. The game will randomly select which player goes first. At the end of each game, the players should be given a choice if they wish to continue playing.
a) If they both choose yes to quitting, they are logged off the system and their sockets are dropped.
b) If one responds yes and the other no, then the player responding yes should be paired up with the next available player on the server.
c) If both players wish to keep playing, then the gameboard will reset and the player who won the last game will go first in the next game.
This CPRG311: IT Assignment has been solved by our IT experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our experts are well trained to follow all marking rubrics & referencing style.
Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction
© Copyright 2026 My Uni Papers – Student Hustle Made Hassle Free. All rights reserved.