Work Life (Visual Novel / Game)
|
the security team's minigame where you "squash" buttons in the correct order More...
Functions | |
bool | round (bn::keypad::key_type good_key) |
used in the minigame_bugs::game and in weekend_event::kanade_weekend_2 | |
void | game () |
security team's mini-game | |
void | wait_for_not_held (bn::vector< bn::keypad::key_type, 12 > keys) |
spin until no are held | |
bool | wait_for_directional (bn::vector< bn::keypad::key_type, 12 > good_keys, bn::vector< bn::keypad::key_type, 12 > bad_keys) |
spin until either a set of good keys are held or bad keys are held. return true on good and false on bad. | |
bn::vector< bn::keypad::key_type, 12 > | directionals () |
vector of directional keys | |
bn::string< 2 > | key_short (bn::keypad::key_type key) |
internal function used to format key for printing | |
void | render_success (int successes, bn::vector< bn::keypad::key_type, 8 > rounds) |
when a key is pressed, render the total number of correct keys pressed | |
bool | multi_round (bn::vector< bn::keypad::key_type, 8 > rounds) |
play the game using each element for a round of input. return true on success and false on failure | |
bool | multi_round (std::initializer_list< bn::keypad::key_type > rounds) |
convience wrapper to convert initializer_list to vector | |
Variables | |
bool | successfully_answered |
internal global variable to allow reference from lambdas | |
the security team's minigame where you "squash" buttons in the correct order
This could have also been a rhythm game or a cursor-based clicking game where bugs of certain color need to be squashed in order
bool minigame_bugs::round | ( | bn::keypad::key_type | good_key | ) |
used in the minigame_bugs::game and in weekend_event::kanade_weekend_2
one round of input (wait for no directional held, then evaluating good/bad)