As blockchain programmers and gamers, we have long wished to create a project that would allow us to combine our respective strengths. After considering what Polygon offers, we considered combining the two.
The problem SpaceOz solves
Most of the games existing in the current Web3 space are focused on the Play To Earn (P2E) model. The fundamental reason for utilizing the P2E model by these games is to allow the players to accumulate as many prizes as possible, even though they are not very enjoyable to play. Players treat the game as a task in order to earn rewards and withdraw them, thus not contributing to the growth of the community. This leads to lower loyalty towards the games, resulting in the games’ having a weaker token economy. This has a major impact on the future survival of these games.
Rather than focusing on a “Play-to-earn” centric game, our focus is on building the game on top of the “Play-and-earn” model.
Our belief is that a “Play-and-earn” game will help our community and the project create a long-term success roadmap for each other rather than just hype-based gameplay that falls short in creating a sustainable, strong gamer community in the long run.
We utilized the Polygon elements in order to successfully develop this solution.
- Ability to buy new ships and bullet upgrades
- All modern browsers supported
- Utilized the Tezos network for the In Game Token management
- Simple and fun to play Game
- Multi-Ownership of NFTs
- Light/Dark Mode Available
- Search for specific upgrades
- Sort the upgrades based on their popularity, strengths and price
- [x] Player To Earn
- [x] Multiple Owner Ownership
- [ ] Multiplayer Support like a open-world a arena
- [ ] OpensSea.io integration
- [ ] Security Enhancements/ Auditing in the Smart Contract
- [ ] More upgrades and abilities
- [ ] Improve gaming expereince
- [ ] Improve UI/UX for the Inventory
Challenges we ran into
For our team, this was the first time we were building a Gaming Platform on the Polygon blockchain, we were quite confused at the start but made it through all the hurdles. Some of the challenges we ran into are:
Smart Contract Development
For the first time, we were confused as to how to create the in-game tokens and the Semi Fungible Token. However, with the help of the ERC 1155 & ERC 721 Standards, we were able to create the contract for the in-game tokens and the Inventory.
Unity Game Development
We used the next.js framework for the frontend, but it was quite complex to integrate the unity. With the help of Unity's React WebGL tool, we were able to integrate the Unity engine into the frontend. One of the struggles was to get all the semi-fungible tokens from the smart contract. However, with the help of the Moralis SDK, we were able to get a list of the token IDs the smart contract has minted up to and get all the owners of the particular token.