Skip to content

LFW! A fast-paced, fun Telegram game where players choose between Fire, Water, and Leaf to outwit their opponent! Fire burns Leaf, Leaf floats on Water, and Water extinguishes Fire. Challenge your friends, climb the leaderboard, and test your strategy in this quick and engaging game of wits and reflexes. ๐Ÿ”ฅ๐Ÿ’ง๐Ÿƒ

Notifications You must be signed in to change notification settings

payxn-io/bnb-lfw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

95 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Payxn LFW (Leaf Fire Water) Game + Zombie Crush

Integrating TG mini app and Gaming with the BNB Chain and other protocols to attract a new generation of unique users. 

A fast-paced, fun Telegram game where players choose between Fire, Water, and Leaf to outwit their opponent! Fire burns Leaf, Leaf floats on Water, and Water extinguishes Fire. Challenge your friends, climb the leaderboard, and test your strategy in this quick and engaging game of wits and reflexes. ๐Ÿ”ฅ๐Ÿ’ง๐Ÿƒ

Telegram Bot Link:

Deployed Smart Contract BNB Smartchain Testnet

Deployed Smart contracts BNB Smartchain Mainnet

To do list

  • Create new telegram bot: @lfwbnb_bot
  • Create new webapp
  • yarn create vite
  • use react
  • use typescript + SWC
  • git init, add ., commit -m
  • yarn add @vkruglikov/react-telegram-web-app
  • test run: npm run dev
  • deploy to vercel
  • new mini-app link: https://t.me/lfwbnb_bot/lfwbnb
  • add webthird sdk
  • create client.ts for webthird sdk
  • Build the fire, water & leaf game

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:

  • Configure the top-level parserOptions property like this:
export default tseslint.config({
  languageOptions: {
    // other options...
    parserOptions: {
      project: ['./tsconfig.node.json', './tsconfig.app.json'],
      tsconfigRootDir: import.meta.dirname,
    },
  },
})
  • Replace tseslint.configs.recommended to tseslint.configs.recommendedTypeChecked or tseslint.configs.strictTypeChecked
  • Optionally add ...tseslint.configs.stylisticTypeChecked
  • Install eslint-plugin-react and update the config:
// eslint.config.js
import react from 'eslint-plugin-react'

export default tseslint.config({
  // Set the react version
  settings: { react: { version: '18.3' } },
  plugins: {
    // Add the react plugin
    react,
  },
  rules: {
    // other rules...
    // Enable its recommended rules
    ...react.configs.recommended.rules,
    ...react.configs['jsx-runtime'].rules,
  },
})

About

LFW! A fast-paced, fun Telegram game where players choose between Fire, Water, and Leaf to outwit their opponent! Fire burns Leaf, Leaf floats on Water, and Water extinguishes Fire. Challenge your friends, climb the leaderboard, and test your strategy in this quick and engaging game of wits and reflexes. ๐Ÿ”ฅ๐Ÿ’ง๐Ÿƒ

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published