This project, the "RPS Algo Tournament," was built with Bolt.new to create a unique Rock-Paper-Scissors experience where players design and battle with their own algorithms.

Inspiration

I was inspired by the idea of the Prisoner's Dilemma game theory strategy but with Rock-Paper-Scissors. Instead of just picking moves, players craft intelligent sequences that then fight other players automatically, kinda like an RPS auto chess.

How IT Was Built

The RPS Algo Tournament is a full-stack application:

Frontend: Built with React and Tailwind CSS for an interactive user interface. Backend: A Node.js Express server handles game logic, opponent matching, and player stats. Data: All game data, including player streaks and the leaderboard, is stored using Redis. Platform: The game is integrated directly into Reddit posts using the Devvit framework, leveraging its capabilities for user authentication and Redis access.

Most of the work came from bolt.new

Challenges Faced

Key challenges faced included implementing complex algorithmic move resolution, ensuring seamless state synchronization between the client and server, and navigating the specific nuances of the Devvit environment for asset loading and server-side interactions. Luckily, bolt.new was able to seamlessly integrate it

Share this project:

Updates