From 31f68db65467054922dfeb5c4fa00b64ab51d522 Mon Sep 17 00:00:00 2001 From: "claude (blind_chess)" Date: Tue, 28 Apr 2026 14:24:06 -0400 Subject: [PATCH] =?UTF-8?q?feat(client):=20two-section=20landing=20?= =?UTF-8?q?=E2=80=94=20friend=20vs=20Casual=20bot?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/client/src/lib/Landing.svelte | 149 ++++++++++++++++++++----- 1 file changed, 121 insertions(+), 28 deletions(-) diff --git a/packages/client/src/lib/Landing.svelte b/packages/client/src/lib/Landing.svelte index 952c854..8c8956e 100644 --- a/packages/client/src/lib/Landing.svelte +++ b/packages/client/src/lib/Landing.svelte @@ -1,30 +1,60 @@ @@ -36,18 +66,19 @@
-

Create a game

+

Play with a friend

+

Get a shareable link, send it to someone, play together.

Mode
-
- {#if error} -

Error: {error}

- {/if} +
+

Play vs computer

+

Always-available opponent. No link to share — game starts immediately.

+ +
+ Mode +
+ + +
+
+ +
+ You play as +
+ + + +
+
+ +
+ +
+ +
+ + +
+

+ Casual: fast, plays simple moves, makes mistakes. Good for a quick game. +

+ {#if aiError}

Error: {aiError}

{/if}