Added beginnings of server-side game logic