Multiplayer Action Packed Game in Java
We developed a server and client module with robust netcode for handling events and a 2D game engine both from scratch in under 24 hours. None of us had prior experience building netcode for a game.
Hosts a server and allows several clients to connect. Each player can move around the map and punch the others until health reaches zero.
Programmed in Java. Server backend in java as well. Engine in java....everything in java
Latency for sending packets. Found a few good solutions (flush and other methods). Remaining functional/efficient for over 24 hours with NO SLEEP.
How a multiplayer game in java works and loopholes for efficient communication.