This repo contains the codebase for Mirai Shooter Game (MSG) - a 3D shooter game built using the Unity game engine. The game is built using the Unity game engine and is written in C#.
- This is a web3-based shooting game that follows a P2E protocol built using Unity and Chainsafe gaming SDK.
- In the game, the currency is an ERC20 token named Mirai token (MRI in short). All players are given 20 MRI tokens when they connect with the game for the first time using a Web3 wallet.
- 10 MRI tokens are needed to play a match. Players can buy MRI tokens from the shop.
- Inside the game, players can choose between any two guns and use them to destroy randomly generated targets to score points. If the points they scored are their highest points then they will be updated on the leaderboard on the website.
- Each match in the game is of 2 minutes. The targets are spawned randomly in a 3d world space and as time progresses the number of target appearing simultaneously will increase. The closer you hit a target to its center, the more damage you deal to it.
- If the users shoot anywhere besides the generated targets, the points scored by the user will be deducted. This ensures users to make precise yet quick decisions which makes for a challenging gameplay.
- Every day at 12 am, the leaderboard gets a reset and the top three winners are given ETH as a reward as well as a chance to mint an awesome NFT which will be generated randomly.
- Finally, there is also a DEMO mode where players don't need to pay anything to play. In this mode, they can hone their skills and master the game mechanics.
- Run command:
git clone https://github.com/Mirai-Research-Lab/mirai-game.git
- Open the project in Unity Hub (preferably v2021.3.2f1).