A browser-based cultivation game built with React, Vite, and TailwindCSS.
Created by Shuhan Sun
Shuhan 自制
Immortal is a lightweight web game inspired by Chinese cultivation fantasy.
The project is currently implemented as a single-page browser game where the player starts as a mortal, grows through cultivation, manages resources, fights enemies, buys items, and progresses through higher realms.
This project is designed as an experimental indie game prototype:
- fast to run
- easy to modify
- simple to deploy
- suitable for continuous feature iteration
- Realm-based growth system
- Experience accumulation and breakthrough progression
- Multiple cultivation stages from 凡人 to 筑基
- Turn-based or stat-driven combat flow
- Enemies with different strength levels
- Combat rewards and loot drops
- Spirit stones as currency
- Herbs, pills, talismans, weapons, shields, and manuals
- Buying and selling through an in-game shop
- Weapons and defensive equipment
- Cultivation methods with passive bonuses
- Consumables for healing, growth, and breakthrough support
- Cultivation-themed enemies such as wild beasts and demon beasts
- Item names and progression systems rooted in xianxia-style design
- React
- Vite
- TailwindCSS
- Lucide React
immortal/
├── public/
├── src/
│ ├── App.jsx
│ ├── main.jsx
│ └── index.css
├── index.html
├── package.json
├── vite.config.js
├── tailwind.config.js
├── postcss.config.js
└── README.md
git clone https://github.com/ShuhanSun/immortal.git
cd immortalnpm installnpm run devnpm run buildThis project includes GitHub Pages deployment scripts.
npm run deployIf deployment is configured correctly, the production build will be published from the dist directory.
The current prototype focuses on a compact cultivation gameplay loop:
- cultivate and gain experience
- improve realm and attributes
- gather and trade resources
- use pills and manuals to strengthen the character
- fight stronger enemies
- move toward long-term immortal progression
Possible next steps for the project:
- save/load system
- map exploration
- sect system
- quests and story events
- alchemy refinement system
- equipment rarity and random affixes
- more realms beyond
- boss encounters
- audio and animation polish
- mobile-friendly UI improvements
This project is an experiment in combining:
- browser-native game development
- xianxia-inspired system design
- rapid prototyping
- AI-assisted development workflow
It is intentionally lightweight and iteration-friendly.
MIT License
Shuhan Sun
GitHub: ShuhanSun