gitlab.com/paul-nechifor/crrifc.
This repository has been moved toOld readme:
CRRIFC
This is a multiplayer map-based quiz game (ConQUIZtador clone) written in C for Linux.
I wrote this in my first year (2009) before doing network programming so it doesn't use sockets, but rather named pipes. This means it would only work on the same computer. This was my intent since I wrote it in order to run it on Fenrir (the students' server of my faculty).
Sadly this repo is missing the data files since I'm not sure I should make them public, but you can ask me for them.
The protocol
This is what I documented of it back then (in Romanian).
Ce trimite clientul
CONE +1
- conectare si numele de utilizator (<=12 caractereTRIR +1
- trimit raspunsul pentru intrebarea rapida xTRIG +1
- trimit raspunsul pentru intrebarea grila: variantaALEG +1
- aleg teritoriul xATAC +1
- atac teritoriul x
Ce trimite serverul
AIIN +0 s
- ai intrat pe serverSNTJ +1
- sunt n jucatoriJUCS +3
- jucatorii sunt x, y,PUNS +3
- punctele sunt x, y, zINTR +1
- intrebare rapida: xINTG +5
- intrebare grila: x . varianta 1: y varianta 2: z ...RASR +4
- raspunsul pentru intrebarea rapida era x. j1 a zis y, j2 ...RASG +4
- raspunsul pentru intrebarea grila era varianta x; j1 a zis y ...JALG +1
- jucatorul x trebuie sa aleaga un teritoriuTBAL >1 s
- trebuie sa alegi un teritoriu dintre x, y, z, ...JALT +2
- jucatorul x a ales teritoriul yJATC +1
- jucatorul x trebuie sa atace un teritoriuTBAT >1 s
- trebuie sa ataci un teritoriu dintre x, y, ...JATT +2
- jucatorul x a ales sa atace teritoriul y
License
MIT