A chess-like game themed around bees, featuring:
Visit this page to try it!
The game is played by two players, taking turns. Each player starts with a queen, a drone, and two nurses. During your turn, you can either move a piece, capture an enemy piece or use a piece's special ability.
Every piece can move to any of the six tiles adjacent to it, as long as there is no other piece or wall there. Moreover, if a piece is adjacent to a piece of the same team, it can 'hop over' that piece, as long as that tile is accessible (either empty or they can capture the piece standing there).
Most pieces can capture an enemy piece adjacent to them by moving their piece onto the same tile. However:
Summarized, pieces can only capture the same or 'weaker' pieces, where guards > gatherers > builders > nurses > workers > drones. Additionally:
Some pieces have special abilities:
As I said, I never implemented a win condition, so you can continue playing for as long as you want. Originally, I intended to implement the following win conditions:
But the second didn't feel fair if you already had many promoted pieces to win the game with, and the third made the game drag on for way too long. Instead, you can pretend that guards can capture enemy queens normally, and doing so ends the game.
To further limit how long the game takes, you can pretend that a queen may only spawn up to 3 drones before getting tired, and nurses may only promote 15 pieces in total. Stalemates may happen, I didn't playtest enough.
cargo install wasm-pack
rustup target add wasm32-unknown-unknown
cargo install typeshare-cli
npm install -g pnpm
pnpm install
Repeat these commands every time the beegone
library changes:
typeshare -l typescript -o wasm/types.d.ts beegone
wasm-pack build --release --out-dir ../wasm --scope beegone beegone
pnpm -C front_end run dev
Beegone Copyright (C) 2024 Rick van der Wal
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.