greglab
GamesLive

greglab Games

One lobby and shared player identity for the greglab game collection.

The shared lobby and profile service for the greglab browser-game collection, combining discovery, player identity, a wallet, and guest-friendly integrations.

Hosting
Railway
Catalog
11 games and the Classroom
Data
PostgreSQL
First commit
2026-06-25

What it is

greglab Games is the front door to the browser-game collection. Its server-rendered lobby lists each playable title and gives players a consistent route from the hub into an individual game.

The profile service centralizes player names and wallet state in PostgreSQL. Participating games use signed integration requests to look up a player and award shared currency.

Games are expected to fail open to guest play when the hub is unavailable. That keeps identity and rewards useful without making the lobby a hard dependency for basic gameplay.

Name validation includes profanity filtering, and the server owns profile and wallet mutations rather than trusting values supplied by a game client.

The hub also owns the learning API used by the Classroom. Players opt in before any progress is recorded, completed lessons earn learning credits, and each game validates the unlocks it sells for those credits.

Highlights

  • ●Unified game lobby
  • ●Shared player profiles and wallet
  • ●Guest-friendly game integration
  • ●Opt-in learning progress and credits

Captured features

Inside the project

Game lobbyThe lobby grid collects the live greglab games in one launch point.

Capabilities

Key features

Game lobby

A single grid introduces the collection and links directly to each live browser game.

Shared player identity

Players can carry one hub profile and display name across participating games.

Shared wallet

Server-side endpoints record balances and signed reward grants from trusted game services.

Guest fallback

Each integration is designed so a hub outage does not prevent someone from playing as a guest.

Name safeguards

Profile creation validates player names and blocks profanity before persistence.

Learning progress and credits

Opt-in Classroom progress, badges, and learning credits travel with the player's profile into participating games.

Under the hood

How it works

  1. 1Express renders the lobby and profile views and serves the game catalog.
  2. 2PostgreSQL stores profiles and wallet balances behind server-owned validation.
  3. 3Participating games call signed service endpoints for profile lookup and reward grants.
  4. 4Client integrations retain a local guest mode when hub requests fail.

Games in the hub

Recent changes

Full changelog →
  1. Registered Big Mac Man

    Added the multiplayer burger maze game to the lobby.

  2. Required balanced lesson answers

    A lesson now needs two right answers of each question type before it is complete.

  3. Registered Turbo Dirt

    Added the retro motocross racer to the lobby.