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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6dc14a0f344152c6a94940758529d496f7e9deff1343e32336dea0a4dbb4d44
|
|
| MD5 |
6262c94b37a1bb9b484d51289b8bef43
|
|
| BLAKE2b-256 |
f705ed2526f8ff5975f543e4050099f4c5af336c36a886bd4eb247bf1220e5c4
|
Provenance
The following attestation bundles were made for idle_farmer_game-0.1.0.tar.gz:
Publisher:
publish.yml on MesonicBrake450/Idle-Farmer-Game
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
idle_farmer_game-0.1.0.tar.gz -
Subject digest:
e6dc14a0f344152c6a94940758529d496f7e9deff1343e32336dea0a4dbb4d44 - Sigstore transparency entry: 1853983634
- Sigstore integration time:
-
Permalink:
MesonicBrake450/Idle-Farmer-Game@2453eac53d207d86566b79819c0e078a135d19d6 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/MesonicBrake450
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2453eac53d207d86566b79819c0e078a135d19d6 -
Trigger Event:
release
-
Statement type:
File details
Details for the file idle_farmer_game-0.1.0-py3-none-any.whl.
File metadata
- Download URL: idle_farmer_game-0.1.0-py3-none-any.whl
- Upload date:
- Size: 552.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ac0b7211e15ef264190883fb51ec5da41c827a7fa0bafa80ef5630c8d71016b
|
|
| MD5 |
e7b751f6a7eba71aa8be53d53673da8d
|
|
| BLAKE2b-256 |
3a0e24c621cc5a2ec430a09462318113976b781b948acd4d9f1542085a662c43
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
idle_farmer_game-0.1.0-py3-none-any.whl -
Subject digest:
3ac0b7211e15ef264190883fb51ec5da41c827a7fa0bafa80ef5630c8d71016b - Sigstore transparency entry: 1853983669
- Sigstore integration time:
-
Permalink:
MesonicBrake450/Idle-Farmer-Game@2453eac53d207d86566b79819c0e078a135d19d6 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/MesonicBrake450
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2453eac53d207d86566b79819c0e078a135d19d6 -
Trigger Event:
release
-
Statement type: