Skip to content

argenturatbek/toguz-korgool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toguz Korgool

A minimal, responsive Toguz Korgool (Toguz Kumalak) board game for web.

Play locally or share a link to play with someone else online.

Play locally

Play online (share link)

  1. Dev: Same as above (server + dev app).
  2. Click Create online game → you get a URL like http://localhost:5173/play/abc123.
  3. Click Copy link and send it (e.g. by message). The other person opens the link and joins as the second player.
  4. Production: Build and run the server so one URL serves both app and API:
    • npm run build
    • npm run server
    • Open http://localhost:3000. Create a game and share that URL (e.g. http://localhost:3000/play/abc123).

Scripts

  • npm run dev – Vite dev server (frontend only; use with npm run server for online play).
  • npm run server – Express API (and, if present, serves dist/ for production).
  • npm run build – Build frontend to dist/.
  • npm run test – Run game logic tests.

Rules

Game rules follow the official description and infographic from Sputnik Кыргызстан: Тогуз коргоол — правила древней стратегической игры кыргызов. The in-app "Rules" link opens this page.

Tech

  • Frontend: TypeScript, Vite, vanilla DOM. Responsive, touch-friendly UI.
  • Backend: Express, in-memory game store. REST: POST /api/games, GET /api/games/:id, POST /api/games/:id/join, POST /api/games/:id/move.

About

web based toguz korgool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors