Slime Farmer – HTML5 Game
Instructions
In Slime Farmer, you play as a slime farmer tasked with raising and selling slime for profit. Slime reproduce automatically when they eat the correct food type. Follow these instructions to manage your slime and maximize your earnings:
How to Play
- Buy food: Click the food icon in the top menu. The price is displayed below.
- Feed slime: Click and drag the food icon onto the slime. Slime will consume any food they pass over.
- Move slime: Click and drag individual slime to reposition them.
- Reproduction: Different slime types require varying amounts of food before reproducing.
- Sell slime: Drag slime to the Sell Chest to earn profit.
- Evolution: Slime evolve after consuming Evolution Crystals. Each crystal produces a new slime type.
- Manage space: Use Fence Posts to control slime movement and separate different types.
Project Goals
This project was inspired by my exploration of NodeJS and Electron, which allow web pages to run like desktop applications. Seeing developers create HTML, CSS, and JavaScript games for platforms like STEAM motivated me to build my own game.
Over the course of three weeks, I created Slime Farmer from scratch, including:
- All graphics, sound effects, and music
- Core gameplay mechanics
- Fully interactive browser-based controls
No third-party libraries or tools were used. This project demonstrates how web technologies can be leveraged to create engaging, standalone games.
Improvements & Future Development
This was my first project using a state machine, and while the core mechanics are polished, there are several opportunities for optimization and feature expansion. Feedback on gameplay has been very positive, and I plan to explore similar interactive browser games in the future.