Buyam-SellamHow to play

🎯 Goal

Finish the game with the highest balance to win. Each round you roll the dice, read the markets, and trade β€” buy low, sell high, and don't forget the taxes and entry fees.

🎲 Dice & prices

You roll two dice (2d6, total 2–12) every round. Your dice price is the total Γ— 100 FCFA, and it decides what you can do at each market:

  • β–ΈHigh roll β†’ higher dice price β†’ good for selling (the market pays more).
  • β–ΈLow roll β†’ lower dice price β†’ good for buying (you pay less).

🌐 Markets

Each round a few markets are active on the board's edges. Every market trades one product at a fixed price, with a supply, a tax rate and a sell entry fee.

  • β–ΈProducts: 🍚 Cooked Rice Β· πŸ₯˜ Fufu Β· 🌽 Corn Flour Β· πŸ₯œ Peanut Butter Β· 🐟 Smoked Fish
  • β–ΈTax is added on buys and taken from sells β€” a 10% tax on a 1,000 FCFA sale costs you 100 FCFA.
  • β–ΈSelling in a market costs a fixed entry fee, paid no matter what happens.

🧠 Strategy phase β€” plan your moves

Each player, in turn, picks an action for every active market:

  • ▸⬇ Buy β€” plan to buy that product.
  • ▸⬆ Sell β€” plan to sell it (only possible if you own some).
  • β–Έβ€” Skip β€” do nothing there.

On the board, tap a market space to cycle Skip β†’ Buy β†’ Sell, or use the buttons in the centre. Bots finalize their own plans automatically.

⚑ Action phase β€” trades resolve

Players act in dice-roll turn order (highest first). When it's your turn, the board's centre shows your dice and a prompt:

  • β–ΈBuy: if your dice price β‰₯ the market price, you buy at the market price β€” cheapest sell orders first, then market supply. Quantity is limited by your dice roll, the stock, and your balance.
  • β–ΈSell: if your dice price ≀ the market price, the market buys your stock at your dice price (minus tax), after the entry fee.
  • β–ΈIf the condition isn't met, the action is skipped automatically.

πŸ‘₯ Multi-player (hot-seat)

Several humans can sit at the same table and share the screen. The turn ribbon above the board always shows whose turn it is: who has planned (βœ“), who's planning now (β—Œ), and the action turn order with dice. AI bots fill the remaining seats and play on their own.

πŸ€– Bot strategies

Which strategies can sit at the table depends on the difficulty: Easy gets a fixed roster of weak bots (you only pick the count), Medium the classic heuristics, Hard only the probability-aware traders. The number of opponents is tied to the level too β€” Easy seats 0–4, Medium 4–8, Hard 6–10 (more traders drain market supply, so bigger tables are harder). With two or more humans the limit is lifted.

  • β–ΈRandom β€” picks at random (baseline).
  • β–ΈConservativeTrader β€” only trades on very favorable conditions.
  • β–ΈBuyLowSellHigh β€” hunts profit margins (classic arbitrage).
  • β–ΈAggressiveBuyer β€” buys everything, hoards stock.
  • β–ΈMarketSniper β€” targets high-supply, low-price markets.
  • β–ΈExpectedValue β€” buys/sells using the real 2d6 odds and expected value.
  • β–ΈArbitrageur β€” buys the cheap market, sells the expensive one for the same product.
  • β–ΈEndgame β€” EV trading that liquidates before spoilage and adjusts risk by its chances of winning.

πŸ—ΊοΈ Reading the board

  • β–ΈCorners = each player's home base (token + balance).
  • β–ΈEdges = the active market spaces (icon, name, price).
  • β–ΈCentre = the dice, the message, and the controls.
  • β–ΈThe active player gets a PLANNING / TRADING badge on their corner, and their token moves onto the market they're trading at.

πŸ’Ύ Save & resume

Your game is saved in your browser. If you leave and come back, the lobby offers β–Ά Continue for a running game (or View results after it ends). When it's over you can ♻️ Rematch with the same table or start a 🏠 New Game.