From c98678d46b80ba7e0508fcbcb9cecec7f69e299d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=BCnevver=20Aslan?= Date: Fri, 10 Apr 2026 21:31:42 +0100 Subject: [PATCH 1/2] Redesign landing and app experience --- package.json | 8 +- public/app.html | 4220 ++++++++++++++++++++++--- public/favicon.svg | 10 + public/index.html | 5506 +++++++++++++++++++++++++++++---- public/logo-alternatives.html | 354 +++ server.ts | 51 +- src/db.ts | 32 + src/gameManager.ts | 217 +- src/matchmaking.ts | 93 +- src/worker.ts | 30 + 10 files changed, 9371 insertions(+), 1150 deletions(-) create mode 100644 public/favicon.svg create mode 100644 public/logo-alternatives.html diff --git a/package.json b/package.json index da1a167..2ba70ca 100644 --- a/package.json +++ b/package.json @@ -15,16 +15,16 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/proveuswrong/schelling-game.git" + "url": "git+https://github.com/0xferit/schelling-game.git" }, "keywords": [], - "author": "", + "author": "Ferit Tuncer", "license": "ISC", "type": "module", "bugs": { - "url": "https://github.com/proveuswrong/schelling-game/issues" + "url": "https://github.com/0xferit/schelling-game/issues" }, - "homepage": "https://github.com/proveuswrong/schelling-game#readme", + "homepage": "https://github.com/0xferit/schelling-game#readme", "dependencies": { "better-sqlite3": "^12.8.0", "ethers": "^6.16.0", diff --git a/public/app.html b/public/app.html index b416a01..5ab1815 100644 --- a/public/app.html +++ b/public/app.html @@ -3,93 +3,250 @@ -Schelling Game + + +Play The Schelling Game | Live Multiplayer Coordination Game + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -158,69 +969,150 @@
-

Schelling Game

-
-

Connect Wallet

-

Connect your Ethereum wallet to sign in.

- +

Sign In

+

Choose how to identify yourself.

+ +

Creates a wallet in this browser. Clearing site data will erase it.

+ +
or
+ +
-
-

Public Queue

-

Waiting for players. Matches form automatically with 3, 5, or 7 players.

-
Players in queue: 0
-
    - -
    - - -
    -
    - - -
    +
    +
    +
    +
    +

    Public Lobby

    +

    Public Queue

    +

    Waiting for players. Matches form automatically with any crowd from 3 to 21 players.

    +
    +
    + Players Waiting + 0 +
    +
    +
    +
    +
    Live Queue Roster
    +
    0 visible
    +
    +
      +
      +
      + + +
      + + + +
      +
      +
      +
      +
      -
      Commit
      -
      +
      Commit
      +
      30
      -
      Game 1 / 10
      +
      +
      Game 1 / 10
      + +
      +
      Waiting for game...
      -