CLI changed and game logic added