How jeremygamer13/slopwaster works
SlopWaster is a Node.js library with a CLI for locally orchestrating minigame generation through Ollama. The intended flow is a prompt and optional chat history into a central agent, then a response associated with a playable output path. In the sampled implementation, generate initializes workspace folders and chats with Ollama; it does not show code or asset generation, and iterate is unimplemented. README and prompt constants describe broader text/code, imagery, and audio ambitions, but those stages are not evidenced as runtime components.
Main entry points: generator.js Game generator · cli.js CLI · src/index.js Library API · index.js Node launcher
Components 8
Entry points
- CLI
src/cli.js - Library API
src/index.js - Node launcher
index.js
Generation
- Game generator
src/generator.js - Output workspace
src/generator.js - Ollama service
Prompts and models
- Prompt configuration
src/enums.js
Other components
- User
Connections 12
- User → Node launcher: invokes
README.md - Node launcher → Library API: loads library
index.js - Node launcher → CLI: runs CLI
index.js - CLI → Library API: imports API
src/cli.js - Library API → Game generator: exports
src/index.js - Library API → Prompt configuration: exports
src/index.js - CLI → Game generator: invokes generation
src/cli.js - CLI → Game generator: sets options
src/cli.js - Game generator → Prompt configuration: loads prompts
src/generator.js - Game generator → Ollama service: sends chat prompt
src/generator.js - Game generator → Output workspace: creates folders
src/generator.js - Game generator → User: returns response
src/generator.js