full implementation!

bug: level generation will generate nullptrs
This commit is contained in:
2024-07-15 00:09:14 -04:00
parent c3b974c83c
commit 6768d73d16
13 changed files with 407 additions and 46 deletions

45
src/result.cc Normal file
View File

@ -0,0 +1,45 @@
#include "result.h"
const char *WIN_SCREEN =
"+-----------------------------------------------------------------------------+\
| |\
| |\
| |\
| |\
| ___________ |\
| '._==_==_=_.' |\
| .-\\: /-. |\
| | (|:. |) | |\
| '-|:. |-' |\
| \\::. / |\
| '::. .' |\
| ) ( |\
| _.' '._ |\
| `.......` |\
| |\
| |\
| |\
| |\
| |\
| |\
| |\
| |\
| |\
| > |\
| |\
| |\
| |\
| |\
+-----------------------------------------------------------------------------+";
const position &MSG_START = {11, 24};
void game_result::run(input *in) {
in->get_command();
}
void game_result::print(display *out) {
out->print_str({0, 0}, WIN_SCREEN);
out->print_str(MSG_START, msg, COLOR_PAIR(COLOR_YELLOW));
}