An open API service indexing awesome lists of open source software.

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

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