https://github.com/gbafana25/typesrv
Server for typtester program's multiplayer
https://github.com/gbafana25/typesrv
c cli typing-game
Last synced: 12 months ago
JSON representation
Server for typtester program's multiplayer
- Host: GitHub
- URL: https://github.com/gbafana25/typesrv
- Owner: gbafana25
- Created: 2022-08-19T04:40:55.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-11-23T03:29:16.000Z (over 3 years ago)
- Last Synced: 2025-02-25T05:15:11.692Z (over 1 year ago)
- Topics: c, cli, typing-game
- Language: C
- Homepage:
- Size: 26.4 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# typesrv
Server component for multiplayer [typetester](https://github.com/gbafana25/typetester)
## Program flow
- Server listens for connecting players (via poll)
- new players are added to a file descriptor array
- poll loop works (sort of) now
- server tells all players when game starts
- clients send current character typed
- server sends back if it's right or wrong
- clients cursor doesn't move if wrong