|
|
|
@@ -37,7 +37,7 @@
|
|
|
|
|
<div class="bb">
|
|
|
|
|
<div class="bb-tag">JOIN</div>
|
|
|
|
|
<div class="bb-title">JOIN<br />GAME</div>
|
|
|
|
|
<button type="button" class="bb-btn" (click)="openJoinDialog()" [disabled]="joiningGame">
|
|
|
|
|
<button type="button" class="app-btn" (click)="openJoinDialog()" [disabled]="joiningGame">
|
|
|
|
|
{{ joiningGame ? 'JOINING...' : 'JOIN GAME →' }}
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
@@ -62,7 +62,7 @@
|
|
|
|
|
<div class="bb">
|
|
|
|
|
<div class="bb-tag">BOT</div>
|
|
|
|
|
<div class="bb-title">PLAY WITH<br />A BOT</div>
|
|
|
|
|
<button type="button" class="bb-btn" (click)="openDifficultyDialog()" [disabled]="creating">
|
|
|
|
|
<button type="button" class="app-btn" (click)="openDifficultyDialog()" [disabled]="creating">
|
|
|
|
|
{{ creating ? 'CREATING...' : 'GET STARTED →' }}
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
@@ -94,7 +94,7 @@
|
|
|
|
|
<div class="bb-tag">WELCOME</div>
|
|
|
|
|
<div class="bb-title" style="font-size:clamp(16px,1.8vw,26px);">WELCOME TO<br />NOWCHESS</div>
|
|
|
|
|
<div class="bb-subtitle">Play your next move from the skyline.</div>
|
|
|
|
|
<button type="button" class="bb-btn" style="padding:7px 20px;font-size:11px;" (click)="startOneVsOne()"
|
|
|
|
|
<button type="button" class="app-btn" style="padding:7px 20px;font-size:11px;" (click)="startOneVsOne()"
|
|
|
|
|
[disabled]="creating">
|
|
|
|
|
{{ creating ? 'CREATING...' : 'START NOW →' }}
|
|
|
|
|
</button>
|
|
|
|
@@ -121,7 +121,7 @@
|
|
|
|
|
<div class="bb">
|
|
|
|
|
<div class="bb-tag">OPTIONS</div>
|
|
|
|
|
<div class="bb-title">MORE<br />OPTIONS</div>
|
|
|
|
|
<button type="button" class="bb-btn" (click)="openOptionsDialog()">OPEN MENU →</button>
|
|
|
|
|
<button type="button" class="app-btn" (click)="openOptionsDialog()">OPEN MENU →</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="wins" style="grid-template-columns:repeat(6,1fr);">
|
|
|
|
@@ -192,9 +192,9 @@
|
|
|
|
|
<div class="dialog-card" (click)="$event.stopPropagation()">
|
|
|
|
|
<div class="dialog-title">SELECT DIFFICULTY</div>
|
|
|
|
|
<div class="dialog-actions">
|
|
|
|
|
<button type="button" class="dialog-btn" (click)="startVsBot('easy')" [disabled]="creating">EASY</button>
|
|
|
|
|
<button type="button" class="dialog-btn" (click)="startVsBot('medium')" [disabled]="creating">MEDIUM</button>
|
|
|
|
|
<button type="button" class="dialog-btn" (click)="startVsBot('hard')" [disabled]="creating">HARD</button>
|
|
|
|
|
<button type="button" class="app-btn" (click)="startVsBot('easy')" [disabled]="creating">EASY</button>
|
|
|
|
|
<button type="button" class="app-btn" (click)="startVsBot('medium')" [disabled]="creating">MEDIUM</button>
|
|
|
|
|
<button type="button" class="app-btn" (click)="startVsBot('hard')" [disabled]="creating">HARD</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@@ -205,7 +205,7 @@
|
|
|
|
|
<div class="dialog-card" (click)="$event.stopPropagation()">
|
|
|
|
|
<div class="dialog-title">MORE OPTIONS</div>
|
|
|
|
|
<div class="dialog-actions">
|
|
|
|
|
<button type="button" class="dialog-btn" (click)="openImportDialog()">IMPORT GAME</button>
|
|
|
|
|
<button type="button" class="app-btn" (click)="openImportDialog()">IMPORT GAME</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@@ -218,11 +218,11 @@
|
|
|
|
|
<input type="text" class="dialog-input" [(ngModel)]="gameIdInput" placeholder="Paste game ID here"
|
|
|
|
|
[disabled]="joiningGame" (keyup.enter)="submitJoinGame()" />
|
|
|
|
|
<div class="dialog-actions">
|
|
|
|
|
<button type="button" class="dialog-btn" (click)="submitJoinGame()"
|
|
|
|
|
<button type="button" class="app-btn" (click)="submitJoinGame()"
|
|
|
|
|
[disabled]="joiningGame || !gameIdInput.trim()">
|
|
|
|
|
{{ joiningGame ? 'JOINING...' : 'JOIN' }}
|
|
|
|
|
</button>
|
|
|
|
|
<button type="button" class="dialog-btn" (click)="closeJoinDialog()" [disabled]="joiningGame">CANCEL</button>
|
|
|
|
|
<button type="button" class="app-btn" (click)="closeJoinDialog()" [disabled]="joiningGame">CANCEL</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@@ -248,11 +248,11 @@
|
|
|
|
|
[placeholder]="importMode === 'fen' ? 'Paste FEN here' : 'Paste PGN here'" [disabled]="importing"
|
|
|
|
|
rows="5"></textarea>
|
|
|
|
|
<div class="dialog-actions">
|
|
|
|
|
<button type="button" class="dialog-btn" (click)="submitImportGame()"
|
|
|
|
|
<button type="button" class="app-btn" (click)="submitImportGame()"
|
|
|
|
|
[disabled]="importing || !importText.trim()">
|
|
|
|
|
{{ importing ? 'IMPORTING...' : 'IMPORT' }}
|
|
|
|
|
</button>
|
|
|
|
|
<button type="button" class="dialog-btn" (click)="closeImportDialog()" [disabled]="importing">CANCEL</button>
|
|
|
|
|
<button type="button" class="app-btn" (click)="closeImportDialog()" [disabled]="importing">CANCEL</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|