A browser-based farming simulation game built with TypeScript and Vite.
- Tile-based farming grid
- Crop growth system
- Tools for interacting with the land
- Save/load game state
- Modular UI components
- Git
- Node.js (LTS)
- npm (comes with Node.js)
- VS Code (or another code editor)
- Clone the repository:
git clone <repo-url> cd farming
- Install dependencies:
npm install
Start the development server:
npm run dev
The game will be available at the local address shown in your terminal.
To build for production:
npm run build
src/core/
- Core game logic (area, growth, save, state, tile, tools)src/render/
- Rendering logic (grid, HUD, tile renderer)src/ui/
- UI components (controls, tooltip)src/utils/
- Utility functionssrc/types/
- TypeScript type definitions
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.