{"id":42510881,"url":"https://github.com/arkits/ludo","last_synced_at":"2026-01-28T14:11:41.812Z","repository":{"id":327907956,"uuid":"1111569555","full_name":"arkits/ludo","owner":"arkits","description":null,"archived":false,"fork":false,"pushed_at":"2025-12-10T09:20:37.000Z","size":200,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-10T09:47:12.624Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://ludo.archit.xyz","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arkits.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-07T07:50:57.000Z","updated_at":"2025-12-10T09:20:41.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/arkits/ludo","commit_stats":null,"previous_names":["arkits/ludo"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/arkits/ludo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arkits%2Fludo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arkits%2Fludo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arkits%2Fludo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arkits%2Fludo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arkits","download_url":"https://codeload.github.com/arkits/ludo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arkits%2Fludo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28846058,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T13:02:32.985Z","status":"ssl_error","status_checked_at":"2026-01-28T13:02:04.945Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-28T14:11:41.263Z","updated_at":"2026-01-28T14:11:41.804Z","avatar_url":"https://github.com/arkits.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ludo Multiplayer Web App\n\nA real-time multiplayer Ludo game built with React and Convex.\n\n## Features\n\n- Real-time multiplayer gameplay (2-4 players)\n- Room-based system with password protection\n- Anonymous play with nicknames\n- Classic Ludo rules implementation\n- Responsive UI with animations\n\n## Tech Stack\n\n- **Frontend**: React + TypeScript + Vite\n- **Backend**: Convex (real-time database and backend)\n- **State Management**: React Context API + Convex React hooks\n- **Styling**: CSS Modules\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js (v18 or higher)\n- npm (v9 or higher)\n\n### Installation\n\n1. Clone the repository\n2. Install dependencies:\n\n```bash\nnpm install\n```\n\n3. Set up Convex:\n   - Create a Convex account at [convex.dev](https://convex.dev)\n   - Run `npx convex dev` to initialize your Convex project\n   - This will create a `.env.local` file with your `VITE_CONVEX_URL`\n\n### Running the Application\n\n1. Start the Convex backend (in one terminal):\n```bash\nnpx convex dev\n```\n\n2. Start the development server (in another terminal):\n```bash\nnpm run dev\n```\n\nThe application will run on `http://localhost:5173`\n\n**Note**: Make sure you have set up your Convex project and have the `VITE_CONVEX_URL` environment variable configured.\n\n## How to Play\n\n1. **Create a Room**: Enter your nickname and optionally set a password\n2. **Join a Room**: Enter the room ID, your nickname, and password if required\n3. **Start the Game**: The room creator can start the game when 2+ players have joined\n4. **Play**: Roll the dice, move your tokens, and be the first to get all 4 tokens home!\n\n## Game Rules\n\n- Roll a 6 to move a token from home to the board\n- Rolling a 6 gives you an extra turn\n- Landing on an opponent's token sends it back to their home\n- Safe zones (star squares) protect tokens from capture\n- First player to get all 4 tokens home wins\n\n## Project Structure\n\n```\nludo/\n├── src/             # React frontend source\n│   ├── components/  # UI components\n│   ├── contexts/    # React contexts\n│   ├── hooks/       # Custom hooks\n│   ├── types/       # TypeScript types\n│   └── utils/       # Utility functions\n├── convex/          # Convex backend functions\n│   ├── game.ts      # Game state management\n│   ├── gameLogic.ts # Game logic\n│   ├── rooms.ts     # Room management\n│   ├── password.ts  # Password utilities\n│   └── schema.ts    # Database schema\n├── package.json\n└── README.md\n```\n\n## Development\n\n### Building for Production\n\nBuild the application:\n```bash\nnpm run build\n```\n\nThis will compile TypeScript and build the Vite bundle for production.\n\n### Linting\n\nLint the codebase:\n```bash\nnpm run lint\n```\n\n### Deploying\n\n1. Deploy your Convex backend:\n```bash\nnpx convex deploy\n```\n\n2. Build and deploy your frontend to your preferred hosting platform (Vercel, Netlify, etc.)\n\n## License\n\nMIT\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farkits%2Fludo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farkits%2Fludo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farkits%2Fludo/lists"}