-
Brody is a cop space doge. Every night, he can check the true alignment of one doge in the village to see if they're secretly mafia!
-
Vito is a member of the mafia, and is terrorizing a nearby town of doges. He, and the rest of the mafia, chooses to kill one person a night.
-
Jenny, the alien doctor doge, can choose to save one person, including herself, per night from death by mafia.
-
Luigi is one of the original doges that left Planet Shiba to pursue dogekind's multiplanetary feature. Use him as a limited edition avatar!
-
Kenny is an undead doge member of the mafia. Rumor has it that he has some special abilities beyond normal mafia.
Inspiration
Our inspiration for Cryptomafia came from the amazing times that we've had throughout our lives playing mafia with our friends. We used to play mafia online competitively because it was so fun and deceptively intricate, and would often wake up at 4am for weeks at a row for a chance to win a tournament. Over a decade later, we stumbled upon a massive world of blockchain where state transitions can be cheaply and quickly executed by smart contracts on platforms like Solana. We thought back to the incredibly fun times, and after digging online, found that the most popular mafia platforms we used to use have all been shutdown or have become inactive. Enter Cryptomafia. We want to take the best parts of online competitive mafia play, which to us often felt like chess or poker, and use smart contracts to make decentralized wagers on game and tournament outcomes possible. By making the stakes real, and by building out an ecosystem of adorable and epic characters to play as in-game, we hope to usher in the next generation of competitive social deduction games on blockchain.
What it does
Cryptomafia is primarily a web application where users can log in and play games of text-based mafia. Users will be able to message each other, join games with friends, participate in an online forum, and experiment with new setups before testing their mettle in ranked play. Additionally and crucially, users will be able to bet on the outcome of games and tournaments using their SOL. Cryptomafia is also a place to mint, share, and trade your Cryptomafia avatar NFTs. We plan on building our primary marketplace shortly after our first NFT minting event and subsequent game launch.
How we built it
We built Cryptomafia using mostly TypeScript, React, Node, and an assortment of frameworks like GeistUI for our front-end. For our back-end, we have opted for Node, Python, Rust, and Java. We use GraphQL for our API, Apollo to run our GraphQL server, Firestore as our primary database, and GCP to perform our cloud functions. Last we use Rust for our smart contracts.
Challenges we ran into
We come from a web development and computer science background, so this kind of project was up our alley, but we underestimated the challenges of algorithmically generating art. Neither of us are trained artists, so we had a lot of fun figuring out what kind of base model we should use for our first set of minted avatars and what attributes to define and generate.
Accomplishments that we're proud of
Recently, we're proud of generating 10,000 unique and adorable doges, building out an initial website, and finishing over half of the backend of our core game within just a couple of weeks. More broadly, members of our team have rebuilt entire ad services for unicorn companies, performed cutting-edge machine learning research at IoT startups, can parallel park blind, and have been top 200 on the North American League of Legends ladder.
What we learned
What's next for Cryptomafia
Built With
- apollo
- graphql
- java
- javascript
- node.js
- python
- react
- rust
- typescript
Log in or sign up for Devpost to join the conversation.