Inspiration

learning rust and Solana ecosystem. We began by creating a simple counter app and then we tried to go from there. Once we had a simple counter ready we were thinking about how to make this counter more unique and hence we decided to go a game route. Once the game was actually completed, we decided to branch out Rudransh was going after another contract that would use PDAs as HashMap, meanwhile, Alfred used the simple counter app.

What it does

stores player data by incrementing scores by calling a smart contract. It also has another Game a Simple 2048 game which uses a different contract. The Puzzle Game is the one that uses the simple counter app. Whereas the 2048 game is supposed to work with the advanced contract which uses PDAs. The puzzle game is a simple click to swap until you actually create the image properly. Whereas, 2048 is a classic 2048 game only.

How we built it

using type script, JavaScript (React) front end and Solana back end written with Rust

Challenges we ran into

connecting the fronteends to the backend and getting familiar with solana. Not just that OMG, there were so many issues. Learning Rust for the first time and learning and how it works with Solana ecostsystem. Understanding PDAs and making it work was def the hardest the best part is that it works but we weren't able to actually link the frontend with the backend on the PDA contract in a manner which was error free

Accomplishments that we're proud of

making use of a Solana counter in an interesting way. Understanding PDAs to a great extent. Not saying we understand all of it, but we actually can use them and work a few more hours with breaking the code and fixing it hopefully we would become better at PDAs.

What we learned

how change and store values on the solana blockchain. PDAs, RUST

What's next for Solana Game

Fixing the connection with frontend and backend on the PDA contract and publishing it better.

Built With

Share this project:

Updates