> ## 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.

# Reset Game

> Resets the state of a specified game, returning it to its initial configuration (e.g., clearing ship placements, scores, and turn data).



## OpenAPI

````yaml api-reference/cubic-api.json post /api/v1/cubic/resetGame
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/resetGame:
    post:
      tags:
        - Cubic
      summary: Reset Game
      description: >-
        Resets the state of a specified game, returning it to its initial
        configuration (e.g., clearing ship placements, scores, and turn data).
      operationId: CubicController_resetGame
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResetGameDTO'
            examples:
              resetGameExample:
                summary: Example of resetting a game
                value:
                  gameID: uniqueGame123
        description: Information required to reset a game, primarily the game ID.
      responses:
        '201':
          description: Game successfully reset.
components:
  schemas:
    ResetGameDTO:
      type: object
      properties:
        gameID:
          type: string
          description: The unique identifier of the game to be reset.
      required:
        - gameID
      description: Data transfer object for resetting a game to its initial state.

````