Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Variables

Let SOLUTION_ROOT

SOLUTION_ROOT: string = path.join(__dirname, '../../gist-solutions/')

Const pkg

pkg: IPackage = require('../../package.json') as IPackage

Functions

first2Lines

  • first2Lines(filePath: string): Promise<string>

percentComplete

playGame

  • playGame(data: GameData, currentLevelNum: number, recordings: ISaveFile, ticksToRunFirst: string, absPath: string, solutionPath: string, cliUi: boolean, onlyOneLevel: boolean): Promise<void>
  • Parameters

    • data: GameData
    • currentLevelNum: number
    • recordings: ISaveFile
    • ticksToRunFirst: string
    • absPath: string
    • solutionPath: string
    • cliUi: boolean
    • onlyOneLevel: boolean

    Returns Promise<void>

promptChooseLevel

promptGame

promptPixelSize

promptPlayAnother

  • promptPlayAnother(): Promise<boolean>

run

  • run(): Promise<void>

showControls

  • showControls(): void

shuffleArray

  • shuffleArray<T>(array: T[]): T[]

sleep

  • sleep(ms: number): Promise<Object>

startPromptsAndPlayGame

  • startPromptsAndPlayGame(gamePath: string, gistId: Optional<string>, cliResume: boolean | undefined, cliLevel: number | undefined): Promise<void>
  • Parameters

    • gamePath: string
    • gistId: Optional<string>
    • cliResume: boolean | undefined
    • cliLevel: number | undefined

    Returns Promise<void>

toUnicode

  • toUnicode(theString: string): string

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc