IG
igor-240340/EasyRoulette
European roulette game prototype
EasyRoulette - European Roulette Game Prototype
This repository contains a prototype of a European Roulette game developed using TypeScript and Cocos Creator.
video.mp4
Features
- Betting Mechanics: Fully implemented betting system that simulates the classic European Roulette experience.
- Unit Tests: Unit tests are integrated as game objects.
- Integration with YandexGames: Reward for watching Ad, store configuration and balance on the server side. Local server for testing.
- Background music: On/Off.
- Simple rank system: It's just function of the current balance.
How to run local server
npx @yandex-games/sdk-dev-proxy -p <path_to_build_dir> --app-id=<yandex_app_id>
Then open url:
https://yandex.ru/games/app/<yandex_app_id>?draft=true&game_url=https://localhost:8080
TODO (just for reference, there is no plans to implement this)
- Mute the music when showing Ad.
- Show message when rank is up.
- Play sound effects when betting and winning.
- Make UI responsive.
Music
Swingin' by Purrple Cat
On this page
Languages
JavaScript93.4%TypeScript6.0%EJS0.6%
Contributors
Created October 16, 2023
Updated March 10, 2026