Networking with SFML
A downloadable game for Windows
Eat The Dots is a real-time, two-player game which showcases the implementation of networking techniques. The game includes communication between a server and two clients to ensure that the gameplay stays smooth and consistent between both the clients. The gameplay involves real-time player movement, dot spawning, and score updates.
Role: Solo Developer
Tools: C++, SFML, Clumsy, Visual Studio 2022
Focus: Created a local 2-player game using low-level SFML code. Used Client-Server architecture and TCP/IP protocol. Enhanced latency and lag issues using prediction modeling and extrapolation. Clumsy was used to test the network conditions.
Published | 3 days ago |
Status | Released |
Platforms | Windows |
Author | Harshita Shetye |
Genre | Action |
Tags | cpp, low-level, networking, programming, SFML |
Download
Install instructions
There are 2 exes - Server and Client. Launch the server on one computer. Note down that computer's IPv4 address. Then, launch the clients on any two computers and enter the server IPv4 address. Once both the players are connected, you can play the game and test the latency with Clumsy.
Leave a comment
Log in with itch.io to leave a comment.