๐Ÿ‘Moonsheep Cannon

Shoot the sheep

Moonsheep Cannon is a collaborative game between Witty and @moonsheepversearrow-up-right, where players bet, aim, and launch sheep across chaotic, cartoonish landscapes filled with mushrooms, aliens, and volcanoes. Every shot is a mix of skill, timing, and luck, and every meter your sheep travels increases your payout.

๐ŸŽฏ How to Play

  1. Choose your game mode: Classic or Alien Invasion.

  2. Set your launch angle using the up or down buttons (between 15ยฐ โ€“ 75ยฐ).

  3. Choose your bet amount.

  4. Press Launch or hit the spacebar to fire your sheep.

  5. Watch it fly. Distance and interactions with objects determine your reward.

For every 100 m traveled, you earn 1ร— your bet. For example, reaching 330 m gives a 3.3ร— return.

๐ŸŽฎ Game Modes

Classic

A pure distance-based mode. Your payout is determined solely by how far your sheep travels. UFOs, mushrooms, and volcanoes may boost flight distance, but alien interactions do not grant bonus multipliers or penalties. Flags or batteries instantly end the run โ€” hitting them means you lose your bet.

Alien Invasion

Alien Invasion adds bonus multipliers and penalties when your sheep hits aliens during its flight. In addition to the distance-based payout, aliens come in three types:

  • ๐ŸŸก Gold Alien: +10ร— bonus

  • ๐ŸŸข Green Alien: +3ร— bonus

  • ๐Ÿ”ด Red Alien: +0.3ร— bonus

UFOs, mushrooms, and volcanoes still boost flight distance. Flags or batteries instantly end the run โ€” hitting them means you lose your bet.

โšก Terrain Bonuses & Hazards

  • UFOs, mushrooms, and volcanoes boost flight distance in both modes.

  • Alien bonuses and penalties apply only in Alien Invasion mode.

  • Flags or batteries instantly end the run. Hitting them means you lose your bet.

๐Ÿ›ก๏ธ Verifiable Fairness

Moonsheep Cannon is mathematically provable and verifiably fair. We use a Signed Commit-Reveal system secured by a smart contract on Abstract. This ensures the game outcome is locked by the server before you play, but the final result is only determined once you add your own User Salt. This prevents the house from rigging the result or pre-selecting a losing outcome.

How the Game is Locked

  1. The Server's Commitment: When you prepare to launch, the server generates a Secret Seed and its Hash. It signs this hash and sends it to your browser.

  2. Your Input (User Salt): When you click launch, you generate a unique User Salt. You send both the server's signature and your salt to the smart contract via the createGame function.

  3. The Lock: The contract saves the gameSeedHash on-chain. Because the server has already signed this hash, it is permanently bound to it and cannot change the seed later to make you lose.

  4. The Reveal: After the flight finishes, the server calls cashOut or markGameAsLost and reveals the raw Secret Seed. The contract hashes this seed and compares it to the hash you locked on-chain. If they do not match, the transaction fails entirely.

๐Ÿ” How to Verify Your Round

The game doesn't "decide" your outcome on the fly. It uses your combined entropy to select a deterministic result from Pre-simulated Terrains. For every possible angle (15ยฐ โ€“ 75ยฐ), we have pre-computed thousands of unique flight paths stored on IPFS.

You can audit any round manually using the CommitReveal Contract (0x8134...1699)arrow-up-right.

Step-by-Step Verification:

  1. Find the Hash: Locate your createGame transaction on Abscan. In the Logs tab, look for the GameCreated event and copy the gameSeedHash.

  2. Find the Seed and Salt: Locate the transaction that ended the game (cashOut or markGameAsLost). In the Logs tab, copy the gameSeed and the salt.

  3. Check the Math:

    • Integrity Check: Hash the revealed gameSeed using a Keccak-256 generator. It must perfectly match the gameSeedHash from Step 1.

    • Result Check: Use the TypeScript logic below with your gameSeed and salt to derive the exact index. Match this index against the IPFS datasets to verify the flight distance.

Verification Code

The following logic is used to select your flight path. This can be run by anyone to independently verify the outcome.

TypeScript


๐Ÿ“‚ Open Data Sources (IPFS)

Transparency is at the core of Moonsheep Cannon. You can audit the game engine or verify specific runs by accessing our simulation datasets directly via IPFS. These datasets contain the coordinate and event data for every possible seed at every launch angle.

Resource

Link

Alien Invasion Data

๐Ÿ’ฐ RTP and Risk

Classic

  • The Return to Player (RTP) varies slightly by launch angle, typically between 96.00% ~ 96.08%.

  • Across all angles combined, the overall RTP is 96.04%.

Alien Invasion

  • The Return to Player (RTP) varies slightly by launch angle, typically between 96.00% ~ 96.08%.

  • Across all angles combined, the overall RTP is 96.03%.

General

  • Lower angles carry higher risk and higher potential payout.

  • Higher angles provide more consistent, lower-variance returns.

Last updated