Skip to content

CocosTechLabs/flappy-bird

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flappy-bird

This is an example of a game developed on the Ton chain using the Cocos game engine.

Features

Demo Telegram APP

https://t.me/cocos_demo_bot/game

Screenshots

game screenshots

Get started

client

Import using cocos creator 3.8.3 Build option configuration Target Environments > 0.5

Install client dependencies:

cd client
npm install

cocos-telegram-miniapps extension

Install extension dependencies and build:

cd client/extensions/cocos-telegram-miniapps
npm install
npm run build

server

  1. Copy server/env_example to server/.env
  2. Open BotFather, run /newbot command and fill your new bot token to TELEGRAM_BOT_TOKEN variable.
  3. Fill MNEMONIC variable with your test wallet seed phrase. You can create one using assets-sdk by running assets-cli setup-env.
  4. Install dependencies and run the server:
cd server
npm install
npm run start

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published