Skip to main content

An idle farming game built with tkinter and pygame

Project description

Farmer Game

Description: My project is Farmer Game, a mostly UI clicker and simulation game. The user can level up by doing things such as planting crops, selling crops, and buying seeds. When you first boot up the game, one of only buttons you can click is the "Plant Potato" button. When you plant potatoes you get level points; level points are not shown to the user, but they are used as a universal points system that lets the user level up. At level 2 the user unlocks planting corn, and level 3 unlocks wheat.

There is a "Sell Crops" button which picks a random crop you have, removes one from storage, and gives money depending on crop type: $3 for potatoes, $5 for corn, and $7 for wheat. If a crop is unavailable, the game picks another until there are no crops left, then the button is disabled.

Next to "Sell Crops" is "Buy Seeds", which buys 5 seeds for $10. Planting a crop uses 2 seeds. The user starts with a balance of $20 and 20 seeds. In the top right corner there are four buttons: Upgrade Storage, Hire Farmers, Upgrade Tools, and Hire Marketers.

Upgrade Storage increases max crops, Hire Farmers plants one crop per second, Upgrade Tools increases plants per click, and Hire Marketers automatically sells one crop every second and buys two seeds for $3 every two seconds. You can only upgrade storage once per level. Upgrade Storage is available from level one. Upgrading Tools unlocks at level three, Farmers at four, and Marketers at five.

Run locally

python project.py

Build and publish

python -m pip install --upgrade build twine
python -m build
python -m twine upload dist/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

idle_farmer_game-0.1.1.tar.gz (553.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

idle_farmer_game-0.1.1-py3-none-any.whl (552.9 kB view details)

Uploaded Python 3

File details

Details for the file idle_farmer_game-0.1.1.tar.gz.

File metadata

  • Download URL: idle_farmer_game-0.1.1.tar.gz
  • Upload date:
  • Size: 553.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for idle_farmer_game-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6ce3d3022c2700cd63150ba98182a1bc0073e29619a95142fefffebaf46ed339
MD5 3a0e0dbe4e58fff9872dcb4ad14af290
BLAKE2b-256 a25e755b3631b7c8b9dbce83eab219acf5214d50224415f63e6a49b52c9fa8b1

See more details on using hashes here.

Provenance

The following attestation bundles were made for idle_farmer_game-0.1.1.tar.gz:

Publisher: publish.yml on MesonicBrake450/Idle-Farmer-Game

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file idle_farmer_game-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for idle_farmer_game-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bf7585053fb2bdc20c5fc0cb6458012161584271a309df213aa9a117a582226d
MD5 c244be7107aba6966a9ea598416f4df8
BLAKE2b-256 4896c7d4aefbe258c353e3dd446533e898c09a66e75d5adc30c86d6c5ddf560d

See more details on using hashes here.

Provenance

The following attestation bundles were made for idle_farmer_game-0.1.1-py3-none-any.whl:

Publisher: publish.yml on MesonicBrake450/Idle-Farmer-Game

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page