-
-
Players must buy and spend PACKS tokens to get CARDS.
-
CARDS of varying rarity a minted by the player based on a Chainlink VRF request.
-
Players choose cards from their wallet to add to their decks.
-
Players place military units and attach heroes to those units.
-
Military units have different costs, strengths, and weaknesses.
Inspiration
Rome Card Game is a two-player, turn-based strategy game inspired by the rich history of Rome and the Ancient World.
What it does
Players purchase an ERC-20 token called PACKS. This token can be redeemed for 7 ERC-721 tokens called CARDS.
CARDS are minted based on a VRF request for 7 random numbers from a Chainlink Oracle. The results of this request are used to mint CARDS of varying rarity.
CARDS can be used in the Rome Card Game and provide the player with characters, military units, and special items and effect cards based on the history of Rome and the Ancient World.
How I built it
Rome Card Game was built using the ImpactJS Game Engine and other open source technologies such as the OpenZeppelin Contract Library for token standards. The project was written using vanilla JavaScript, the Web3JS plugin, PHP, CSS, MySQL, Solidity, and Chainlink Oracles.
Accomplishments that I'm proud of
I like how the buying process works. I think it's pretty slick and provides a good user experience. I also think the cards look pretty cool.
What's next for Rome Card Game
I'd like to create several hundred more cards and then finish the game. It will take months, but I'm excited to work on it, because I have a complete vision and know how to bring it all together.
Smart Contracts
ROME CARD GAME ERC-721 CARDS MINTER CONTRACT
URI SETTER CONTRACT (Called by Chainlink Consumer Contract)
Log in or sign up for Devpost to join the conversation.