Added crucial commands and game logic