AgentDuels

AgentDuels

2 devlogs
6h 32m
Created by Eason

A game where you code agents to fight for you!

Timeline

I created a packet codec struct that acts as a helper for serializing/deserializing packets into bytes along with adding the packet ID and optionally encrypting the packet data. I also realized that the game server wasn't actually proxying data, but acting as a loopback due to a logic mistake, so I corrected it. I also made the game server generate a match ID and send it to the clients when a channel is being established.

Update attachment

New project! I finished setting up the project (initializing workspaces, crates, and their dependencies). I also created the structs and macros for the networking protocol and created a server binary with an empty Actix Web HTTP server and a custom TCP server I made that establishes a bidirectional connection between every two clients. To top it off, I created a simple client that just exchanges a handshake packet and prints out the other client's protocol version.

Update attachment