> ## Documentation Index
> Fetch the complete documentation index at: https://transcension.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Start Game

> Initiates a previously created game, setting the turn length and beginning the gameplay.



## OpenAPI

````yaml api-reference/cubic-api.json post /api/v1/cubic/startGame
openapi: 3.0.0
info:
  title: Cubic Game API
  description: >-
    API documentation for the Cubic game, providing endpoints for game
    management, ship actions, and retrieving game state information.
  version: '1.0'
  contact:
    name: Cubic Game Support
servers:
  - url: http://50.187.81.221:4000
    description: Rendezvous Cubic Server.
  - url: https://cubic.ngrok.app
    description: Ender's Cubic Server.
security: []
tags:
  - name: Cubic
    description: Operations related to the Cubic game mechanics.
paths:
  /api/v1/cubic/startGame:
    post:
      tags:
        - Cubic
      summary: Start Game
      description: >-
        Initiates a previously created game, setting the turn length and
        beginning the gameplay.
      operationId: CubicController_startGame
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StartGameDTO'
            examples:
              startGameExample:
                summary: Example of starting a game
                value:
                  gameID: uniqueGame123
                  turnLength: 60
        description: >-
          Information required to start a game, including the game ID and the
          duration of each turn in seconds.
      responses:
        '201':
          description: Game successfully started.
components:
  schemas:
    StartGameDTO:
      type: object
      properties:
        gameID:
          type: string
          description: The unique identifier of the game to start.
        turnLength:
          type: number
          description: The duration of each turn in seconds.
      required:
        - gameID
        - turnLength
      description: Data transfer object for initiating a game.

````