Client Tasks - niehusst/TerminalJeopardy GitHub Wiki
- connect to server
- display message "waiting for other players to join"
- start listening for game data (blocking)
- launch game threads:
- thread 1: user input thread, fgets and send to server
- thread 2: ui update loop:
{
- get and display game board from server
- if client's turn, select a question
- get question and theme and points from server and display
- buzz in period
- get server response about buzz in: if first answer period, else wait (and display message?)
- get server response about client X answer and display
}