4. A lightweight shooter game integrated with on-chain staking and instant player stats.


Prize Pool
This project is a hybrid Web3 gaming experience where players unlock and access a 2D browser shooter game by staking tokens on-chain. The gameplay is built with JavaScript, HTML, and CSS, while Solidity smart contracts handle staking, rewards, and player eligibility. Users connect their wallet, stake, and instantly see their dashboard with live data such as balances, rewards, and match history. I integrated The Graph to index all staking and gameplay events, which allows the frontend to load player stats, leaderboards, and protocol metrics in real time without heavy backend work. The result is a smooth blend of on-chain progression and lightweight browser gameplay, creating a unique system where staking directly enhances the gaming experience.
I built this project by combining a simple browser game with on-chain staking and rewards. The gameplay itself runs in JavaScript, HTML, and CSS, which let me quickly prototype movement, shooting, and UI elements. On the blockchain side, I wrote Solidity contracts to handle staking, rewards, and player eligibility. Everything connects through a small JavaScript frontend that lets users sign in with their wallet and interact with the contracts. I also integrated The Graph, which honestly saved me a lot of timec rather than manually reading tons of contract data, I used a Subgraph to index all the important events like stakes, withdrawals, and game results. This made it really easy to load player stats and leaderboard info instantly. Overall, it’s a mix of a lightweight 2D game and a simple Web3 flow, pieced together in a way that feels smooth for the user and manageable for a hackathon build.

