# Forest Survival Simulation - Sonic Mobius Hackathon Submission
## Project Overview
Forest Survival Simulation (FSS) is a fully on-chain, Don't Starve-inspired survival game built on Sonic, the first SVM network extension on Solana. Players are immersed in a procedurally generated forest ecosystem where they must gather resources, craft tools, build shelters, and survive against dynamic environmental challenges and on-chain adversaries. Leveraging Sonic’s high-performance infrastructure and the HyperGrid framework, FSS delivers a seamless, scalable, and engaging Web3 gaming experience with a sustainable on-chain economy.
## Demo link
https://solana-vibe-coding.vercel.app/
## Demo video
https://www.loom.com/share/d3729f54610448f5811b8ea3e069e805?sid=3822d207-118d-465d-ae45-cfb1daf4f94c
## Github:
https://github.com/trankhacvy/vibe-coding
(invited hackathon@sonic.game)
## Program:
Address:
[FB8UD7iRkmCNkPko1bWfzuJgq1X4YeBVhx6THHjp2cAS](https://explorer.sonic.game/address/FB8UD7iRkmCNkPko1bWfzuJgq1X4YeBVhx6THHjp2cAS?cluster=testnet.v1)
## Team introduction:
## Game Features and Mechanics
Forest Survival Simulation is designed to meet the Gaming track’s focus areas: simple but engaging mechanics, retention and virality, progression and replayability, and scalability with economy design. Below is how FSS addresses each:
1. Simple but Engaging Mechanics
- Players start with basic survival tasks: gathering wood, stone, and food to craft tools and build shelters.
- The game introduces dynamic challenges, such as randomized weather events and enemy spawns, keeping gameplay fresh and engaging.
- All mechanics are fully on-chain, leveraging Sonic’s millisecond-level RPC responses for real-time interactions without compromising user experience.
2. Retention and Virality
- Social Challenges: Players can form tribes with friends, compete on global leaderboards, and participate in time-limited survival challenges to earn exclusive rewards.
- Leaderboards: On-chain leaderboards track metrics like survival time, resources gathered, and enemies defeated, fostering competition.
- Referral System: Players earn bonus resources or NFTs by inviting friends, driving virality within the Sonic ecosystem.
3. Progression and Replayability
- Evolving Mechanics: As players survive longer, they unlock advanced crafting recipes, rare resources, and new biomes to explore, ensuring a dynamic experience.
- Unlockable Content: Players can earn or purchase NFTs, such as cosmetic skins, rare tools, and land plots, which enhance gameplay and provide status within the community.
- Dynamic Experiences: Procedurally generated maps and on-chain events (e.g., seasonal changes, rare enemy invasions) ensure no two playthroughs are the same.
4. Scalability and Economy Design
- On-Chain Economy: Players can trade resources, tools, and NFTs on an in-game marketplace powered by Sonic’s scalable infrastructure, ensuring low transaction fees and fast settlement.
- Sustainable Design: The game’s economy is balanced with resource sinks (e.g., tool durability, crafting costs) and faucets (e.g., daily challenges, staking rewards) to prevent inflation and maintain long-term value.
- Scalability: By leveraging Sonic’s HyperGrid framework, FSS can handle thousands of concurrent players and millions of on-chain transactions per second, ensuring a seamless experience even during peak usage.
## Integration with Sonic
FSS is built natively on Sonic, taking full advantage of its high-performance infrastructure:
Low-Latency Gameplay: Sonic’s millisecond-level RPC responses enable real-time gameplay, such as instant resource gathering and enemy interactions, without the delays common in other blockchain games.
- Scalability: The HyperGrid framework allows FSS to scale horizontally, processing millions of transactions per second and settling them back to Solana L1, ensuring the game remains performant as the player base grows.
- Interoperability: FSS is fully composable with Solana’s ecosystem, integrating with protocols like Metaplex for NFT minting and Pyth for real-time data feeds (e.g., dynamic weather events).
- Cost Efficiency: Sonic’s 50% lower transaction fees compared to Solana mainnet make FSS accessible to a wide audience, reducing barriers to entry for casual players.