Skip to content

Instantly share code, notes, and snippets.

@oerpli
Created June 1, 2014 21:39
Show Gist options
  • Save oerpli/6038c5330de4f4d286c7 to your computer and use it in GitHub Desktop.
Save oerpli/6038c5330de4f4d286c7 to your computer and use it in GitHub Desktop.
für rebeccaqt
client:
START:
get semaphors
P(cl_bl)
P(sv_ready)
new game // game with id# plx
V(sv_req)
P(sv_ready)
empfangen
V(sv_ready)
V(cl_bl)
while{
userinput
P(cl_bl)
P(sv_ready)
schicken etc
V(sv_req)
P(sv_ready)
empfangen
V(sv_ready)
V(cl_bl)
}
server:
P(sv_req)
verarbeitenblablabal
V(sv_ready)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment