0% found this document useful (0 votes)
2 views2 pages

Assignment 1

The assignment requires the creation of a C++ console application using RakNet for a client/server multiplayer setup. Students must prepare a 5-minute presentation, including a demonstration of their application and a PowerPoint, and ensure their project compiles and runs to receive marks. Key functionalities include message transmission, client management, and encryption options, with specific commands for user interactions.

Uploaded by

shubhodeepk2003
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)
2 views2 pages

Assignment 1

The assignment requires the creation of a C++ console application using RakNet for a client/server multiplayer setup. Students must prepare a 5-minute presentation, including a demonstration of their application and a PowerPoint, and ensure their project compiles and runs to receive marks. Key functionalities include message transmission, client management, and encryption options, with specific commands for user interactions.

Uploaded by

shubhodeepk2003
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/ 2

Multiplayer Games PROG47533

Assignment 1
Due Date:
Refer to SLATE

Assignment Type:
Individual Assignment

Submission:
• Your submission will be completed by uploading a single ZIP file to Slate, containing a working version of your
application (including source code), your PowerPoint presentation, and a 5-minute presentation video. The
5-minute time-limit is not a suggestion. It is a hard limit. You will be penalized for < 4m30s or > 5m30s.
Dedicate half the time presenting the PowerPoint slides, and half the time presenting the running application
• Your project must run to receive any marks
• Your project must compile and run to receive any marks. Programs that do not run or compile will receive a
grade of zero
• Only the last submission is accepted and marked, all other submissions are ignored.
• You MUST submit your PowerPoint presentation

Summary:
• This assignment will expand your knowledge and practical skills with RakNet.
• This assignment will test your presentation skills. It requires you to prepare and present a 5-minute
presentation of your assignment. 2.5 minutes focusing on the PowerPoint slides, 2.5 minutes multiplayer
application demonstration.
• Make sure you follow the instructions
• If you have any questions, contact me.

Assignment
Create a C++ console application using RakNet. This is a client/server application, that will allow multiple clients to
connect to the server.
• Establish message/data transmission between your server and multiple possible connected clients using
RakNet
• Store the GUID of each client that connects to the server, and use the GUIDs to send data to the connected
clients
• Ensure the server informs all clients when a new client connects. Each client must store and display a list of
all other connected clients
• Check for key presses in the main game loop. When the user presses:
o ‘Esc’ – quit the application (client and/or server)
o ‘/username message’ – send the message to the specified username
o ‘/all message’ – send the message to all connected clients
o ‘/encrypt on’ – switch encryption on for all connected clients and the server. From this point
forward, all messages are sent encrypted and must be decrypted by the receiving clients. Each client
that receives an encrypted message, must print the encrypted message and then the decrypted
message. Use zlib for compression purposes (https://zlib.net/)
o ‘/encrypt off’ – switch encryption off for all connected clients and the server. From this point
forward, all messages are sent in plain text
• Show an error message if the supplied /username is invalid
• Handle client disconnects gracefully
• When the server application closes, all clients should be informed and show a server offline message
Grading Rubric
# Criteria Marks
1 Completed the minimum assignment tasks. Clear and concise 15
code will receive higher marks
Total 15

You might also like