Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌾 Idle Farm Game

A JavaScript-based idle farming game with a 2D overhead view. Grow crops, harvest them, and upgrade your farm to maximize your income!

Features

  • Visual Farm Display: 2D canvas-based overhead view showing your farm plots
  • Dynamic Crop Growth: Watch your crops grow from seedlings to golden wheat
  • Four Upgrade Paths:
    • 🏞️ Expand Property: Increase your farm size
    • 🚜 Better Harvester: Automate and speed up harvesting
    • 🌱 Auto Planter: Automatically replant empty plots
    • 🌽 Better Crops: Increase the value of each harvest
  • Real-time Stats: Track your money, farm size, and income rate
  • Self-contained: No dependencies, just open and play!

How to Play

  1. Open index.html in your web browser
  2. Start with a 3x3 farm with crops already planted
  3. Click "Manual Harvest" to harvest ready crops (shown in golden color)
  4. Use your earnings to buy upgrades
  5. Unlock auto-harvester and auto-planter to automate your farm
  6. Watch your farm grow and profits increase!

Embedding

This game is fully self-contained and can be embedded in any website using an iframe:

<iframe src="path/to/index.html" width="800" height="700" frameborder="0"></iframe>

Development

The game consists of three files:

  • index.html - Game structure
  • style.css - Styling and layout
  • game.js - Game logic and mechanics

No build process or dependencies required!

License

Feel free to use and modify for your own projects.

About

Simple javascript idle farming game

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages