Cat Fight - An ECS multiplayer rollback project
Cat Fight - An ECS multiplayer rollback project

Cat Fight - An ECS multiplayer rollback project

Created on:
Team Size: 1
Time Frame: 1 month
Tool Used: C++/SFML

During my second year of bachelor’s degree in Game Programming, one of the modules we had to study was Networking. For that module we had to present a multiplayer game project based on an ECS (entity-component-system)Rollback engine in which we implemented our own physics engine done in a previous module.

First, we started with a small chat application to learn how networking worked. For that app, I used Dear ImGui for the user interface and SFML to be able to use sockets.

Then we had to do a turn-based game. The game I decided to implement was Rock-Paper-Scissors but with a funny turn.

Rock-Paper-Scissors-Hand

At the end I decided to call the game “Rock-Paper-Scissors-Hand” that would transform to “Rock-Paper-Scissors-Stump” if a player used scissors against a hand.

After having fun with that little game, I started implementing CatFight.

CatFight Game

You can read more on my blog post about or checkout the repository on my Github Page with the buttons below

What I learned

  • C++
  • SFML
  • Networking principles
  • UDP/TCP Protocoles
  • Rollback system
  • ECS architecture
© 2024 Samuel Styles