Skip to content
Cosmic Drive

Cosmic Drive

Cosmic Drive is a fun and simple game whose reward system is based on the Polygon blockchain.

Created on 19th March 2023

Cosmic Drive

Cosmic Drive

Cosmic Drive is a fun and simple game whose reward system is based on the Polygon blockchain.

The problem Cosmic Drive solves

We all have heard about games like CS:GO and world of warcraft right? Those games really proved how much in-game items mean for players. Gamers treat in-game items like assets in various marketplaces online. But there are some problems with that. First, the asset will just be limited within the game's ecosystem and it is very easy to get scammed in those types of tradings. Our project Cosmic Drive demonstrates how we can use NFTs as in-game rewards. In Cosmic Drive, there are two levels. After completing the game the player will get a limited-time NFT minted on polygon's test network as a reward. Only 100 NFTs will be minted which makes it a valuable asset. Players won't just be limited within the game's ecosystem for trading.

Challenges we ran into

We encountered several problems while building this project. The major ones are :

  • At first, it wasn't our intention to make export the game in WebGL format. So, our level designing, game assets, and game design all were completely different. The game was meant to be a downhill racing game. But soon we found out that it will be very difficult for us to implement the NFT reward system if we do not export it as WebGL version. But the problem is, WebGl is not capable of rendering such assets which we used in our game earlier. So, we had to completely change our idea so that the game is at least playable and enjoyable in the browser. 

  • Next issue we faced choosing which blockchain technology to use for our reward system. We didn't have any previous knowledge about blockchains. But after doing some research we found out about Polygon. We also came to know that Polygon also offers a Test network called Mumbai which we can use for free. So, after thinking about the efficiencies we chose Polygon.

Prerequisites for testing the project - 

  • Donwload the github rep zip.
  • Servez for local hosting.
  • Metamask chrome extension and metamask account. 
  • Transfer some Polygon Testnet (Mumbai) tokens to your wallet. You can use the Polygon Faucet

Tracks Applied (6)

Best use of IPFS and/or Filecoin

Our project uses Polygon network
Filecoin

Filecoin

Microgrants

Our project uses Polygon network
Filecoin

Filecoin

Certification

Our project uses Polygon network

Give My Certificate

Young Gun

Our project uses Polygon network
Solana

Solana

Rising Teknoking

Our project uses Polygon network
Solana

Solana

Master Glasseater

Our project uses Polygon network
Solana

Solana

Discussion

Builders also viewed

See more projects on Devfolio