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.0.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.0-py3-none-any.whl (552.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: idle_farmer_game-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 e6dc14a0f344152c6a94940758529d496f7e9deff1343e32336dea0a4dbb4d44
MD5 6262c94b37a1bb9b484d51289b8bef43
BLAKE2b-256 f705ed2526f8ff5975f543e4050099f4c5af336c36a886bd4eb247bf1220e5c4

See more details on using hashes here.

Provenance

The following attestation bundles were made for idle_farmer_game-0.1.0.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.0-py3-none-any.whl.

File metadata

File hashes

Hashes for idle_farmer_game-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3ac0b7211e15ef264190883fb51ec5da41c827a7fa0bafa80ef5630c8d71016b
MD5 e7b751f6a7eba71aa8be53d53673da8d
BLAKE2b-256 3a0e24c621cc5a2ec430a09462318113976b781b948acd4d9f1542085a662c43

See more details on using hashes here.

Provenance

The following attestation bundles were made for idle_farmer_game-0.1.0-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