beginnings of game logic; not functional yet