0% found this document useful (0 votes)
47 views12 pages

Cs494 - Internetworking Protocol: Lab 01: Socket Programming

The document describes a group project to create a multiplayer guessing game called "The Magic Wheel" using socket programming, where players register nicknames with a server and take turns guessing letters and keywords to earn points over 3 rounds, with the highest scoring players ranked at the end. It outlines the gameplay, packet structures with server-client model and classes for connections and question handling, and provides an evaluation rubric for the project requirements.

Uploaded by

Minh Nhật
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views12 pages

Cs494 - Internetworking Protocol: Lab 01: Socket Programming

The document describes a group project to create a multiplayer guessing game called "The Magic Wheel" using socket programming, where players register nicknames with a server and take turns guessing letters and keywords to earn points over 3 rounds, with the highest scoring players ranked at the end. It outlines the gameplay, packet structures with server-client model and classes for connections and question handling, and provides an evaluation rubric for the project requirements.

Uploaded by

Minh Nhật
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

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:

No. Name Student ID Contribution (%)

1 Nguyễn Minh Nhật 1751090 30

2 Huỳnh Minh Quốc Nhật 1751089 40

3 Thái Hoàng Tuấn 1751026 30

2. Score Sheet:

No. Requirements Score Evaluate

1 Use C/C++, Java, C# 2 2

2 Implement whole gameplay 3 3


properly
3 Socket Non-blocking 2 2

4 Have a good GUI (MFC, WPF, 3 2.5


Swing, etc.)

Total 10 9.5

You might also like