https://github.com/rewired/weed-breed-js
This project is a simulation game for breeding and growing weed. It includes a simulation engine that models plant growth, environmental factors, and costs.
https://github.com/rewired/weed-breed-js
cannabis economy-simulator esm game javascript jest nodejs procedural-generation simulation tycoon-game
Last synced: 2 months ago
JSON representation
This project is a simulation game for breeding and growing weed. It includes a simulation engine that models plant growth, environmental factors, and costs.
- Host: GitHub
- URL: https://github.com/rewired/weed-breed-js
- Owner: rewired
- Created: 2025-08-14T13:39:02.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-09-20T06:52:16.000Z (9 months ago)
- Last Synced: 2025-10-14T13:14:05.231Z (8 months ago)
- Topics: cannabis, economy-simulator, esm, game, javascript, jest, nodejs, procedural-generation, simulation, tycoon-game
- Language: JavaScript
- Homepage:
- Size: 3.1 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Weed-Breed Simulation
This project is a simulation game for breeding and growing weed. It includes a simulation engine that models plant growth, environmental factors, and costs.

## Getting Started
### Prerequisites
* Node.js (v23 or higher)
* npm
### Installation
1. Clone the repository:
```sh
git clone
```
// .
[.](.)
2. Navigate to the project directory:
```sh
cd weed-breed-js-zwo
```
// .
[.](.)
3. Install the dependencies:
```sh
npm install
```
// package.json
[package.json](package.json)
### Running the Simulation
To run the main simulation scenario, use the following command:
```sh
npm run sim
```
// src/demos/structure_rooms_zones_demo.js
[src/demos/structure_rooms_zones_demo.js](src/demos/structure_rooms_zones_demo.js)
This will execute the simulation defined in `src/index.js`.
To start the web server and interact with the simulation through the frontend, use:
```sh
npm run dev
```
// src/server/index.js
[src/server/index.js](src/server/index.js)
### Logging
The default log level is conservative (`warn`) to keep the console output tidy.
When you need more insight for debugging, raise the verbosity by setting
`LOG_LEVEL`:
```sh
LOG_LEVEL=debug npm run dev
```
### Plant Detail View
The frontend includes a plant detail view reachable via the structure tree. Navigate to a zone, open its plant list and select a plant to inspect. The view compares current environmental readings with the strain's preferred ranges, highlights stress factors across plants in the zone and lists all plants for quick navigation.
## Documentation
See the consolidated [documentation](docs/README.md) for architecture, data model, frontend and reference guides.