Skip to content

Repository files navigation

The Turing Game

Party games where one to three machines hide among the players. Answer, draw, rank, and bluff — then read the tells, vote with conviction, and put your reputation onchain.

Stack

  • Next.js 16 (App Router, React 19) + TypeScript + Tailwind CSS v4
  • Solana via @solana/kit, token/system/memo programs
  • Privy (@privy-io/react-auth) for wallet auth with devnet/mainnet/custom RPC support
  • anime.js for brutalist shell and entrance motion

Getting Started

npm install
npm run dev

Open http://localhost:3000.

Environment: set NEXT_PUBLIC_PRIVY_APP_ID (Privy app id) and your RPC endpoints in .env.

Scripts

Command Description
npm run dev Start dev server
npm run build Production build
npm run start Serve production build
npm run lint ESLint

Structure

  • app/ — Next.js app (routes, providers, components, shared lib/)
  • app/lib/network.ts — network selection store (devnet/mainnet/custom RPC, shared RPC pings)
  • backend/ — backend scaffolding (WIP)
  • public/ — static assets

Network Selection

The network selector persists your choice to localStorage (ttg-network) and shares it across the app via a window event; a custom RPC URL is supported and pinged for live status. Selected network (including custom RPC) is wired into Privy's solana.rpcs.

About

Party games where one to three machines hide among the players. Answer, draw, rank, and bluff — then read the tells, vote with conviction, and put your reputation onchain.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages