Quaternity
update.h
Go to the documentation of this file.
1 
7 #ifndef UPDATE_H_
8 #define UPDATE_H_
9 
10 #include <vector>
11 
12 #include "round.h"
13 #include "state.h"
14 
15 void update_state(const Settings &settings, State &state, const Question &question, const Answer &answer);
16 
17 #endif /* UPDATE */
This file defines the structs for a question and typedef of an answer.
bool Answer
An answer returned by a player. The answer is either true or false denoting he/she has or does not ha...
Definition: round.h:39
This file defines the structs for a card, player and a game state, plus a state initialize and copy f...
A question asked by a player. The player asks another player for a specific card from a certain set.
Definition: round.h:17
The settings which characterize a game.
Definition: settings.h:22
The complete game state.
Definition: state.h:57
void update_state(const Settings &settings, State &state, const Question &question, const Answer &answer)
Update the state of the game according to the question asked and the answer which is given.
Definition: update.cpp:155