46 lines
2.7 KiB
C++
46 lines
2.7 KiB
C++
#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(output *out) {
|
|
out->print_str({0, 0}, WIN_SCREEN);
|
|
out->print_str(MSG_START, msg, COLOR_PAIR(COLOR_YELLOW));
|
|
}
|