Close

Defend the Relic

Simple Networking Shoote

Description

This little demo was created using SFML and TGUI as a base engine and CryptoPP for the encryption algorithm. The game itself is a simple 2vs2 multiplayer shooter where the winning team is the one with the highest score. The main focus on this project was the networking part so the gameplay was simple but with enough complexity to use network replication over it.

This demo includes the following features:

  • AES key interchange.
  • AES encryption for client-server messages.
  • Simple lobby system without any login.
  • Usage of TCP and UDP to get the best performance.
  • UDP Broadcast to search for a local server.
  • Encoding/decoding of data into/from bytes
  • Support of concurrent running games.
  • Player drop/disconnection handling

Media

Download

Get in Touch