Parse game commands