yoink

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Yoink - Capture the Flag on Base

Yoink - 基于Base链的夺旗游戏

Play Yoink, an onchain capture-the-flag game on Base. Yoink the flag from the current holder to start your clock.
游玩Yoink,一款部署在Base链上的链上夺旗游戏。从当前持有者手中夺取旗帜,开启你的计时。

Contract

合约地址

0x4bBFD120d9f352A0BEd7a014bd67913a2007a878
on Base (chain ID 8453)
0x4bBFD120d9f352A0BEd7a014bd67913a2007a878
(Base链,链ID 8453)

Game Rules

游戏规则

  1. Yoink the flag - Call
    yoink()
    to take the flag
  2. Cooldown - 10 minutes (600 seconds) between yoinks
  3. No self-yoink - You cannot yoink from yourself
  4. Accumulate time - While holding the flag, your time score increases
  5. Trophy - Player with most yoinks holds the trophy
  1. 夺取旗帜 - 调用
    yoink()
    函数夺取旗帜
  2. 冷却时间 - 两次夺取操作间隔10分钟(600秒)
  3. 禁止自夺 - 你不能从自己手中夺取旗帜
  4. 累计时长 - 持有旗帜期间,你的时长分数会增加
  5. 奖杯 - 夺取次数最多的玩家持有奖杯

Commands

命令

Status

状态查询

/yoink status                    Current flag holder and game stats
/yoink score <address>           Get player score
/yoink leaderboard               Top yoinkers
/yoink status                    当前旗帜持有者及游戏统计数据
/yoink score <address>           获取玩家分数
/yoink leaderboard               夺取排行榜

Play

游玩操作

/yoink                           Yoink the flag!
/yoink cooldown                  Check your cooldown status
/yoink                           夺取旗帜!
/yoink cooldown                  查看你的冷却状态

Examples

示例

/yoink status
/yoink score 0x1234...
/yoink
/yoink status
/yoink score 0x1234...
/yoink

Setup

设置

bash
export PRIVATE_KEY="0x..."  # For yoinking
bash
export PRIVATE_KEY="0x..."  # 用于夺取旗帜