Inspiration

As we are students still learning about the intricacies of NEAR and Rust, we decided to try something fun and engaging to explore our creative endeavors. We settled on a game involving arguably the two biggest people in this space : Illia Polosukhin and Gary Gensler! From there, we were able to form a very cheeky game! Home Screen!

What it does

This game is based on the NEAR blockchain. We initially wanted to try and use the NCon Tokens, but we decided to use TestNet NEAR. The idea is to wager a certain amount of NEAR, and if you win, you'll gain that amount of TestNet NEAR from another wallet, or else, you'll lose that amount from your wallet. Once the wallet is connected, the goal is to get as much NEAR as possible but also avoiding as much of the companies Gary throws at you!

How we built it

The frontend was build using React, Typescript, pixi.js, and TailWind. We created multiple screens: The beginning opening screen, the connect wallet screen, the playable screen, and finally the game over screen. The backend was built with NodeJs and MongoDB to store the leaderboard data, and the smart contract was obviously in Rust using the NEAR API.

![Home Scree](

Challenges we ran into

We ran into a lot of challenges regarding the smart contract creation. Deploying the wallet using the TestNet NEAR was a challenge as we kept running into errors regarding connecting a simple contract with the front end. Somehow, storing the current Wallet Address and accessibility was always a problem. Ultimately, once we got the wallet to connect, we then had to figure out how payment would work. We wrote unit tests and tested it using frontend to check if words would change to confirm transactions were made. Testing was the main crux of a lot of our problems.

Accomplishments that we're proud of

Some accomplishments we're proud of are fully updating the Frontend to make it NEAR themed and using real people to make our game come to life. The game is not easy in the least, as almost always the main character will die. The point of the game is to get on the leaderboard, and make the most amount of Testnet NEAR! You bet big, you win BIGGER! We were able to come up with a project that taught us RUST and NEAR's API, which is the biggest takeaway from this game. We hope to continue to use NEAR and work on its applications in the future.!

What we learned

Some takeaways we learned were how to use RUST, how to use NEAR, how to connect wallets in NEAR, and how to connect frontend and deployment of wallets from the backend.

What's next for The End is NEAR

Ultimately deploying the game and showing this masterpiece to the World! And maybe even Illia :)

Video

https://www.loom.com/share/51997b94193b4bf9afb6b3cd82ad1559?sid=10e5f38f-f06d-4caf-aa07-5d1e98695077 https://github.com/Amitten77/TheEndisNear

Share this project:

Updates