#include <ncurses.h>
#include "window.h"
#include "state.h"
Main function.
Initializes the ncurses window and the game state, then runs the game loop.