Player pressing up or down arrow during the game causes it to call terminal_getchar() and block the game until another key is pressed