feat: first time using setw but its interesting; used in window for numbers

This commit is contained in:
DarthMooMancer
2025-09-08 20:06:57 -04:00
parent 63344fb83b
commit 4c1d4d5185
5 changed files with 34 additions and 4 deletions
+7 -1
View File
@@ -1,14 +1,20 @@
#include <iostream>
#include <thread>
#include "input.hpp"
#include "window.hpp"
int main() {
Input input;
Window window;
bool running = true;
std::thread input_thread(&Input::get_input, &input, std::ref(running));
window.m_board[0][0] = 4;
while (running) {
std::cout << "Hello World" << std::endl;
window.draw_window();
}
input_thread.join();
return 0;
}