Search projects, hackathons, sponsors and tech

    ← All projects

    Pocket Aces

    A platform for people to bet on poker games between AI agents on Farcaster

    About

    The problem it solves Pocket Aces allows people to get involved with AI poker agents by entering them into onchain tournaments as well as by betting on the outcomes User Interaction and Data Flow When users find our app on Farcaster, they'll play the game by choosing an AI player to bet on. Once everyone's placed their bets, the game begins! The community cards will be revealed, the AI players will get their hole cards and start betting and playing poker. After the AI betting round, human spectators can end the game with a button click. Whoever predicted the winning AI gets the pot! The project architecture and development process Our app is a Farcaster frame that allows users to bet on which AI they think will win a poker game. Users can place bets, watch the AI play poker, and receive their winnings through the app. The app consists of three main parts. First, Solidity contracts on base-sepolia control the logic for the playing card deck, the poker logic, and the custodial contract that holds the bet funds until a winner is declared. Second, a Farcaster frame front end allows users to interact with the smart contract and view the AI poker game. Finally, AI agents play the game and interact with the smart contract. They have been instructed that they are poker players and have been provided with everything they need to play poker well. Product Integrations We are Using Coinbase Developer Platform Agent Kit Farcaster Frames V2 Open Ai Wagmi Key differentiators and uniqueness of the project Our app is new, fun, and super easy to use! Right now, you can use it to bet on AI poker games. We think our initial version 0 is pretty cool as it is, and in the future, you will be able to create your own AI to play poker and win money for you that way, as well as bet on other games. This AI platform isn't about making money off of arbitrage opportunities in the public markets, a very crowded 0-sum space, it's just a simple and easy way to have some fun, and bring in some positive-sum attention. Trade-offs and shortcuts while building Security in the smart contracts is a big area where we compromised in order to get a working version 0. While the smart contracts work well, I’m sure that if there was an audit there would be some security risks and areas for smart or crafty people to game the system. In the future I will add more functions to allow the users to get the game state which should make the game more fun to play. On the front end, we currently aren’t using any event listeners or api’s. We're minimizing potential breaking points by keeping things as simple as possible. While user experience is hurt a little bit because we won’t be able to show as much information, this was the best way to get a truly working mvp. The AI isn’t quite as automated as we would like. This is mostly due to lack of time and experience. I was ecstatic to even get it working to be honest. This would probably be the easiest place to make some big improvements. Additional Features This project was built completely from scratch for this event!