THIS PROJECT HAS BEEN "VIBE-CODED" USING CURSOR EDITOR. IT IS NOT MY BEST WORK... OR EVEN MY WORK NOW THAT I THINK ABOUT IT.
A fast-paced real-time strategy game where players compete to conquer a galaxy by capturing planets and deploying fleets. Inspired by Galcon.
In Stellar Conquest, you'll compete to control a galaxy by strategically sending fleets from your planets to conquer neutral and enemy planets. Each planet continually produces ships that can be deployed to expand your territory or attack your opponents.
- Planets: Vary in size (small, medium, large) which determines their maximum garrison capacity and production rate
- Planet Upgrades: Planets can be upgraded to increase production rates and capacities
- Fleets: Send ships from your planets to capture others or reinforce your existing territory
- Combat: When fleets reach a planet, they either add to the garrison (if friendly) or attack (if neutral/enemy)
- AI Opponents: Play against AI opponents with adjustable difficulty levels (easy, medium, hard)
- Start by configuring your game on the start screen
- Click on one of your planets (blue) to select it
- Click and drag to another planet to send ships
- Use the percentage buttons to control how many ships to send (25%, 50%, 75%, 100%)
- Capture neutral planets (gray) to expand your territory
- Attack enemy planets (red) to decrease their control
- Win by eliminating all enemy planets
# Clone the repository
git clone https://github.com/yourusername/stellar-conquest.git
# Navigate to the project directory
cd stellar-conquest
# Install dependencies
yarn install
# Start the development server
yarn dev# Build for production
yarn build
# Preview the production build locally
yarn previewThis project is configured for GitHub Pages deployment through GitHub Actions. When you push to the main branch, it will automatically deploy to GitHub Pages.
- React 19 with TypeScript
- Vite for build tooling
- HTML5 Canvas for game rendering
- CSS for UI styling
- GitHub Actions for CI/CD
src/game/- Game logic, AI and core mechanicssrc/components/- React components for UI and renderingsrc/utils/- Utility functions
To contribute to the project:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the GLWTS(Good Luck With That Shit) Public License - see the LICENSE file for details.
Basically, you can do whatever you want with this code, but you're on your own. Good luck!
