Skip to content

Instantly share code, notes, and snippets.

@russelllim22
Last active September 7, 2021 06:16
Show Gist options
  • Save russelllim22/2100a0b3f9f1bbca9c3c0aedd57fe002 to your computer and use it in GitHub Desktop.
Save russelllim22/2100a0b3f9f1bbca9c3c0aedd57fe002 to your computer and use it in GitHub Desktop.
<div id="game-board" >
<UnitCircle {currentAngle} {showAngle} {showLength}/>
<ProgressBar {currentScore}/>
<ToolBar {toolBarOpen}
bind:trigFunctions
bind:angleTypes
bind:angleQuadrants
bind:settingChanged
bind:gameTimer
/>
{#if gameOver}
<GameOver
bind:currentScore
bind:numErrors
bind:gameOver/>
{:else}
<Question {currentQuestion}/>
<MCOptions {correctClickFunc} {wrongClickFunc} {theOptions}/>
<Timer {gameTimer}/>
{/if}
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment