Cs494 - Internetworking Protocol: Lab 01: Socket Programming
Cs494 - Internetworking Protocol: Lab 01: Socket Programming
Team xx:
- Nguyễn Minh Nhật 1751090
- Huỳnh Minh Quốc Nhật 1751089
- Thái Hoàng Tuấn 1751026
GAME 00: THE MAGICAL WHEEL
I. Gameplay
Our group creates a simple game "The Magic Wheel" with a server as a Referee
and N clients (players) (N is defined by the server in advance, 2<= N <= 10). The
rules of the game are:
For each player, the player needs to register to the server to join the game and
choose the nickname(your name must be between 2 and 10 characters, includes
all letters and numbers, no special character are accepted other than “_”, and
can not be the same with others).
You are given 0 points and the order of players at the beginning. We will provide
you a keyword and a hint for that keyword.
Each turn, you can guess 1 letter for the keywords by fill in the box and press
submit. If your answer is correct, you gain 1 points for each letters in the
keyword. If not, you pass the turn to other players.
After 3 rounds, you can guess directly for the keyword. If your answer is correct,
you get 5 points. If not, you are disqualified.
Finally, we will calculate your scores and rank on the list
II. Structure of packets:
Our game uses Server-Client model. The Server and Client will connect and
communication using Sockets through TCP connection.
ServerConnection Class
ClientConnection Class
PlayerHandlerClass
QuestionHandleClass
Connection between Server and Client
*SERVER
*CLIENT
III. Evaluation:
1. Team contribution:
2. Score Sheet:
Total 10 9.5