Introduction Implementing Rock-Paper-Scissors (RPS) on-chain is surprisingly tricky. The moment you choose "Rock" and send a transaction, your opponent can read your move from the public ledger. The game is over before it even starts. I tried implementing a commit-reveal pattern manually, but managing salts, preventing front-running, and ensuring fair judging logic... it quickly became a rabbit
I needed to coordinate background scripts running across different machines. The obvious answer was Redis. Everyone uses Redis for this. The tutorials all use Redis. The Stack Overflow answers all say "just use Redis." So I looked at what deploying Redis would actually cost me: A running Redis server I had to maintain A broker to connect workers to it Celery or RQ on top of that Memory-based stora