STRAX Race as the name suggests is a Car racing game, where you can win real STRAX.
We are a group of unity and python developers. We wanted to integrate both the technologies to come up with something that has real-world usage, and which can be taken forward. So we decided to create a racing car game with a web-based digital wallet using PyStratis.
It's a racing car game, in which you need to pay small fees of 1 Strax to start the game. To pay the amount you will be directed to the web-based wallet. Once the fee is paid you will be redirected to play the game. Once the game end, if you win you will be credited 2 Strax in the wallet
Install STRAX Race with git :
git clone https://github.com/kampy15/STRAX-RaceAfter completion of cloning run the following commands one by one :
cd STRAX-Race
pip install -r requirements.txtNow you have to clone the Stratis Fullnode into your system:
git clone https://github.com/stratisproject/StratisFullNode.git
git checkout -b release/1.1.1.0Next you have to move at the directory where StraxD is placed, you can simply do this by the command below:
cd StratisFullNode\src\Stratis.StraxDNow open this file in your Command Prompt and run the next command
dotnet run --env testnetNow leaving this cmd window just like that, move again to the root directory where you cloned STRAX Race initially & open a new command prompt for next command.
python manage.py runserverYou can also check our Database using http://127.0.0.1:8000/admin. Username : wallet Password : wallet
Note: To play the game you need to have some STRAX in your wallet.
After you are done installing and setting up. Go to UNITY/The Strax Race folder and click on index.html.
After which you will presented with the following

Click on Wallet and then "Link Wallet". You will be directed to the web-based wallet.

If you have not created a account, you can

After you login you will be taken to the wallet dashboard

You need to make a paymnet of 1 STRAX, click on "Send Strax".

You can find your details under "Profile".

After making the payment of the entry fees you are all set to enter the game.

Select the accessiories you like and click "select track".

After you are done with the selection, click "Start".
After the game end you will be presented with the following screen.

We have used unity and Stratis Unity SDK to build the car racing game. The game has multiple tracks. We used the Django framework and PyStratis to build the web-based Stratis wallet.
- Since Stratis was new to us, learning and building anything around it was difficult and time-consuming.
- PyStratis created some issues, solving those issues took much of our time.
- We are proud that we have built and completed our project, and have made a successful submission. We have little knowledge of blockchain and the Stratis platform.
- We successfully used and implemented Stratis Unity SDK and PyStartis in our project.
- We were able to achieve our "Aim" of creating something which has real-world usage.
- We learned how to use and build products around Stratis Blockchain.
- Blockchain has infinite possibilities in terms of building applications around it, with security and trust.
- We learned to use and make application using Stratis Blockchain
We will build onto the current project, and
- try to integrate NFTs into our project
- Add an in-game interface to purchase from various Marketplaces like Stratisphere