---
title: "Create a new game with id"
method: POST
path: "/game/{id}"
tags: ["Game"]
---

# Create a new game with id

`POST /game/{id}`

## Path parameters

- `id` string, required

## Request body

- CreateGame
  - `uid` string
  - `player` unknown[]
    - unknown
  - `game` string
  - `variant` string
  - `in` string
  - `out` string
  - `sound` boolean
  - `podium` boolean
  - `autoswitch` boolean
  - `cricketrandom` boolean
  - `cricketghost` boolean

## Response `200`

successful operation

- Game
  - `uid` string
  - `player` integer[]
  - `game` string
  - `variant` string
  - `in` string
  - `out` string
  - `sound` boolean
  - `podium` boolean
  - `autoswitch` boolean
  - `cricketrandom` boolean
  - `cricketghost` boolean
  - `GameObject` GameObject
    - `Base` object
      - `UID` string
      - `Game` string
      - `Player` Player[]
        - `UID` integer
        - `Name` string
        - `Nickname` string
        - `Image` string
        - `ThrowRounds` ThrowRound[]
          - `Round` integer
          - `Done` boolean
          - `Throws` Throw[]
            - `Number` integer
            - `Modifier` integer
        - `TotalThrowCount` integer
        - `Score` Score
          - `Score` integer
          - `ParkScore` integer
          - `InitialScore` integer
          - `Numbers` unknown[]
            - unknown
          - `Closed` unknown[]
            - unknown
          - `CurrentNumber` integer
          - `Split` boolean
          - `Hit` boolean
        - `LastThrows` Throw[]
          - `Number` integer
          - `Modifier` integer
        - `ThrowSum` integer
        - `Average` number
      - `Variant` string
      - `In` string
      - `Out` string
      - `ActivePlayer` integer
      - `ThrowRound` integer
      - `GameState` string
      - `Message` string
      - `Settings` object
        - `Sound` boolean
        - `Podium` boolean
        - `Autoswitch` boolean
        - `Punisher` boolean
      - `UndoLog` Sequence
        - `Sequence` integer
        - `Action` Action[]
          - `Number` integer
          - `Action` string
          - `Points` integer
          - `RoundNumber` integer
          - `Player` Player
            - `UID` integer
            - `Name` string
            - `Nickname` string
            - `Image` string
            - `ThrowRounds` ThrowRound[]
              - …
            - `TotalThrowCount` integer
            - `Score` Score
              - …
            - `LastThrows` Throw[]
              - …
            - `ThrowSum` integer
            - `Average` number
          - `GameID` string
          - `NumberIndex` integer
          - `Modifier` integer
          - `PreviousGameState` string
          - `PreviousScore` integer
          - `PreviousParkScore` integer
          - `PreviousPlayerIndex` integer
          - `PreviousThrowSum` integer
          - `PreviousAverage` integer
          - `PreviousLastThree` Throw
            - `Number` integer
            - `Modifier` integer
          - `PreviousMessage` string
          - `PreviousNumberToHit` integer
      - `Podium` Player[]
        - `UID` integer
        - `Name` string
        - `Nickname` string
        - `Image` string
        - `ThrowRounds` ThrowRound[]
          - `Round` integer
          - `Done` boolean
          - `Throws` Throw[]
            - `Number` integer
            - `Modifier` integer
        - `TotalThrowCount` integer
        - `Score` Score
          - `Score` integer
          - `ParkScore` integer
          - `InitialScore` integer
          - `Numbers` unknown[]
            - unknown
          - `Closed` unknown[]
            - unknown
          - `CurrentNumber` integer
          - `Split` boolean
          - `Hit` boolean
        - `LastThrows` Throw[]
          - `Number` integer
          - `Modifier` integer
        - `ThrowSum` integer
        - `Average` number
      - `CricketController` object
        - `NumberClosed` unknown[]
          - unknown
        - `Numbers` unknown[]
          - unknown
        - `NumberRevealed` unknown[]
          - unknown
        - `Random` boolean
        - `Ghost` boolean

## Other responses

- `400` — bad combination of body parameters
- `500` — game could not be created

## Changes

- **2026-07-17** `b41f08fc12c8` — 2 warning
  - removed the request property `elimination`
  - removed the optional property `elimination` from the response with the `200` status
- **2021-08-31** `c7586dd3c257` — 2 warning, 2 info
  - removed the request property `punisher`
  - removed the optional property `punisher` from the response with the `200` status
  - added the new optional request property `elimination`
  - added the optional property `elimination` to the response with the `200` status
- **2021-08-30** `d91d59590ad9` — 2 info
  - added the new optional request property `punisher`
  - added the optional property `punisher` to the response with the `200` status

[Change history](https://skmtc.dev/dascr/apis/dascr-board-api/changes/game/:id/post.md)

---

[API](https://skmtc.dev/dascr/apis/dascr-board-api.md) · [All operations](https://skmtc.dev/dascr/apis/dascr-board-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dascr/dascr-board-api/revisions/b41f08fc12c8/schema)
