Skip to content

tuansydau/c-game-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A game server implementation for a webfishing/stardew valley crossover game

c-game-server-demo.mp4

Demo Notes

Left - Server code running remotely on a DigitalOcean droplet, routed to with nginx

Right - Local terminal on my machine, running the game binary

The game client is running the client network code, and then sending the circle position to the game server on my droplet.

Where it's at

  • Can continuously receive messages from up to 10 clients concurrently (DigitalOcean VPS - 1vcpu, 1gb ram)
  • Currently uses TDP

Usage

Run make in the root directory, then:

Server:

  1. ./game_server <port_to_run_on>

Client

  1. ./game_client <server_ip> <client_label_#(1-8)>

TODOs and System specs/reqs

I'm tracking the changes I want to make here on Notion

About

An implementation of a game server and game client in C

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors