Home

Awesome

monk

Beer Baron - The Game Guide

An dojo onchain simulation masked as a beer brewing game. It is designed to work with 10 - 10,000 players.

Overview:

In the game of Beer Baron, you step into the shoes of a monk with a flair for entrepreneurship. Hailing from an unknown Realm, your primary resource is a humble sum of gold. With this capital, you must use your abacus to navigate the hop market, grow hop flowers, brew beer, and sell it to the traverns to make a profit. The game is played over a period of 2 weeks, with the player with the largest fortune at the end of the game being crowned the winner.

Game Loop:

  1. Buy hop seeds
  2. Grow hop flowers
  3. Brew Beer
  4. Bottle beer
  5. Sell beer

Novel Game Mechanics:

Current Game Mechanics:

  1. Hop Market: Logistic VRGDA auction dictates the price of the hop. Each hop type is sold on the Market and the price is driven by the VRGDA. The desired outcome of this is an extremly dynamic market, where the price of hops is constantly changing. This will force players to adapt their strategy to the market conditions.

  2. Farm land: Farm land is limited, and players must choose what hop flowers to grow wisely. Each farm can only grow one type of hop flower at a time. The hop flower will take time to grow, and will produce flowers. The hop flower can then be used to brew beer.

  3. Brewing: Different recipes for different beers. Each recipe requires a different combination of hop flowers. Starting beers:

  1. Selling Beer: Sell your beer into the market to increase your gold. The beer market is an inverse VRGDA, meaning the more you sell into it the cheaper it becomes. Brew the right been and sell at the right time to maximise your profits.

  2. Winning: After 2 weeks the markets will close, the player with the biggest pile of Gold takes the entry fee.

To implement Game Mechanics

  1. P2P Trading of Hop Flowers: Right now players cannnot trade Hop flowers, but this will be a key feature to implement, as it adds another way for players to make money and win.

  2. Dynamic Weather systems: Random weather events will affect the hop market, and the hop flower growth rate as well as influencing the beer market. No one wants to drink Stout in the summer!!

Technology Stack:

Other notable features:

Launch the Example in Under 30 Seconds

Make sure you have dojo installed:

We are currently using:

dojoup

After cloning the project, execute the following:

  1. Terminal 1 - Katana:
cd contracts && katana --disable-fee --block-time 1000
  1. Terminal 2 - Contracts:
cd contracts && sozo build && sozo migrate
  1. Terminal 3 - Client:
cd client && yarn && yarn dev

Building on Slot

Upon completion, launch your browser and navigate to http://localhost:5173/. You'll be greeted by the running example!

slot deployments create beer-baron-prod-2 katana

slot deployments create beer-baron-prod-2 torii --world 0x69666385e91e62f0ac01f1cb1524cb9e8e56cb4267515c6bd913c73fdec82 --rpc https://api.cartridge.gg/x/beer-baron-prod-2/katana --start-block 1