deallocate resources (player, map, curses)