testing
This commit is contained in:
+2
-2
@@ -4,8 +4,8 @@
|
|||||||
#include <deque>
|
#include <deque>
|
||||||
#include <array>
|
#include <array>
|
||||||
|
|
||||||
constexpr int ROW = 11;
|
constexpr int ROW = 15;
|
||||||
constexpr int COL = 11;
|
constexpr int COL = 15;
|
||||||
|
|
||||||
enum class Direction {
|
enum class Direction {
|
||||||
UP, DOWN, LEFT, RIGHT
|
UP, DOWN, LEFT, RIGHT
|
||||||
|
|||||||
+1
-1
@@ -51,7 +51,7 @@ void Engine::run() {
|
|||||||
std::this_thread::sleep_for(std::chrono::milliseconds((int) (200)));
|
std::this_thread::sleep_for(std::chrono::milliseconds((int) (200)));
|
||||||
}
|
}
|
||||||
nodelay(stdscr, false);
|
nodelay(stdscr, false);
|
||||||
mvprintw(12, 0, status.c_str());
|
mvprintw(ROW + 1, 0, status.c_str());
|
||||||
refresh();
|
refresh();
|
||||||
getch();
|
getch();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user