Intro
COMP9001 final: a 2D fan prototype inspired by CloverPit, not affiliated with Panik Arcade, Future Friends Games, or the official release. Four rooms — slot machine, ATM, store, door — at 1240×820 and 60 fps, with original bitmap art.
An earlier pygame sketch existed in a lab folder. That copy is gone. This tree is the one with tests, packaging, and a leaderboard server.
Method
Buy a 7-spin or 3-spin round. Emergency 3-spins cost tickets when coins are zero. The grid is 5×3 (Lemon through Seven). Score is symbol value × symbols multiplier × pattern value × patterns multiplier. Patterns include HOR, VER, DIAG, longs, zig/zag, eye, jackpot; low-value lines play first, then combos.
ATM: three rounds per deadline, escalating debt, chunked deposits, interest. Miss it, or hit zero coins and tickets with rounds left, and the pit opens. From deadline 3, a 666 roll can wipe the round, then held coins. Thirty Lucky Charms, restocks of four unique cards, red-button charges, phone upgrades after a clear. pytest plus unittest.
packaging/build_macos_dmg.sh builds CloverPit2D.app / DMG. leaderboard_server.py (Docker, Render blueprint) takes name, coins + deposited, deadline. Local best sits in ~/.cloverpit2d/high_score.json.
Demo
pip install -r requirements.txt && python3 main.py. Walk four rooms, land a scored spin, deposit, buy a charm, press B, take a phone upgrade, open records. On a classmate Mac: DMG, drag to Applications, right-click Open if unsigned.
Conclusion
This is the finished game in the workspace: rules, art, tests, a class ranking, a real macOS package. Caption it as a fan prototype. Unfinished engine templates (Unity HDRP Mario stubs, a Metal cube with undrawn platforms) stayed on disk and off this inventory.


