GoGuesser

100 ms live sync

GoGuesser

Real-time multi-user web service: session-authenticated voting and rate-limited, sanitized chat over Socket.IO, 100 ms state broadcasts, automated SGF puzzle rotation, and an automated Node test suite, deployed on Render.

Hosted on a free tier: the first load after idle can take 30–60 seconds to wake.

Overview

GoGuesser is a deployed, full-stack real-time web game that challenges Go players worldwide to predict the next move in real tournament positions, comparing their intuition against superhuman AI engines and human professionals.

Key Features & Engineering Highlights

  • ✦Full-stack real-time service deployed on Render with Node.js, Express.js, Socket.IO, and Tailwind CSS
  • ✦Session-based authentication (express-session), chat sanitization (sanitize-html), profanity filtering, and per-user rate limits
  • ✦Automated server tests using the Node.js built-in test runner (node --test)
  • ✦High-frequency (100ms) community vote synchronization across candidate moves
  • ✦Three-way move analysis contrasting top AI evaluations, professional human moves, and tactical blunders
  • ✦Automated 30-second SGF puzzle rotation parsing match trees into interactive WGo.js boards
  • ✦Integrated rate-limited chat system displaying player rank metadata and session authentication
⚠️

The Problem

Traditional Go study is solitary and passive. Players review game records without active prediction pressure or community interaction, making it hard to develop sharp positional judgment.

💡

The Solution

Built a fast-paced multiplayer platform where players vote in real time on 3 candidate moves under a 30-second countdown timer, seeing live consensus shifts and chatting with fellow players categorized by ranking.

Key Engineering Decisions

High-Frequency 100ms State Broadcasts

Aggregated incoming client vote deltas on the server and broadcast updates in 100ms batches to deliver responsive UI animations without overwhelming socket throughput.

Hardened Public Chat

The public realtime room is sanitized with sanitize-html, profanity-filtered, and rate-limited to one message per second per user (256 characters max), keeping an open community space usable without moderation staff.

WGo.js Vector Board Integration

Leveraged WGo.js for lightweight, sharp vector stone rendering with customized CSS theme integration to match the modern dark/light site aesthetic.

Results & Impact

  • ✓Shipped and deployed to Render with live continuous rotation
  • ✓Server logic covered by an automated node --test suite; chat hardened with sanitization, profanity filtering, and rate limits
  • ✓Built-in rate limiting, session-based authentication, and SGF tree parsing

Limitations & Next Steps

  • →Free-tier Render hosting sleeps when idle, so the first load can take up to a minute.
  • →Single server instance: no horizontal scaling, and state lives in sessions rather than a database.
  • →Session-based identity rather than full user accounts; puzzle sets are curated monthly folders.

Related Projects

Other work that shares technologies or themes with GoGuesser.