added result screens

fixed bug about picking up two boosts crashing the game
This commit is contained in:
2024-07-17 16:13:20 -04:00
parent 004c79f094
commit ea381c24f6
5 changed files with 115 additions and 12 deletions

View File

@ -9,8 +9,10 @@ void curses_output::render() {
curse->show();
}
std::string BLANK(DISPLAY_BUFFER_SIZE, ' ');
void curses_output::clear() {
curse->clear();
print_str({0, 0}, BLANK, A_NORMAL);
}
void curses_output::print_char(const position &pos, const char ch,