HUMAN: its bedtime its mostly done, ill run prompt 5 tomorrow to fix up some gameplay and luck

This commit is contained in:
2026-10-09 01:54:33 -04:00
parent b4d2f2dc72
commit a954cb0fbc
3 changed files with 16 additions and 8 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
############################################### ###############################################
Prompt to Kiro AI (Default): Prompt to Kiro AI (Default):
Hard fish should be more difficult AND rarer to catch than easy fish (easy = lower difficulty number). However, im not getting the opportunity to catch a lot of hard fish in the first place, and it really feels like this game isn't very balanced. Can you go ahead and modify any of the numbers you need (but not logic nor code unless absolutely necessary, and you must ask first) to improve the balance, chance, and fairness of the game? Hard fish should be more difficult AND rarer to catch than easy fish (easy = lower difficulty number). However, im not getting the opportunity to catch a lot of hard fish in the first place, and it really feels like this game isn't very balanced. Can you go ahead and modify any of the numbers you need (but not logic nor code unless absolutely necessary, and you must ask first) to improve the balance, chance, and fairness of the game? It feels like some fish are insanely possible to catch, while others are too easy.
Response: Response:
+14 -6
View File
@@ -61,8 +61,7 @@ def loadSave(path="save.json"):
"cash": 0, "cash": 0,
"owned_baits": ["Worms"], "owned_baits": ["Worms"],
"owned_upgrades": [], "owned_upgrades": [],
"current_bait": "Worms", "current_bait": "Worms"
"catch_log": []
} }
try: try:
with open(path, "r") as f: with open(path, "r") as f:
@@ -371,6 +370,7 @@ def onKeyPress(app, key):
if key == "m": if key == "m":
app.save["cash"] = 1000000 app.save["cash"] = 1000000
if key == "escape": if key == "escape":
writeSave(app.save)
os._exit(0) #suggested by AI, instantly exits without hanging like sys.exit(0) os._exit(0) #suggested by AI, instantly exits without hanging like sys.exit(0)
if key == "r": if key == "r":
#reset save #reset save
@@ -463,7 +463,10 @@ def buyBaitLicense(app, baitId):
name, max_difficulty, price, img_file = bait name, max_difficulty, price, img_file = bait
print("attempting buy",bait) print("attempting buy",bait)
if name in app.save["owned_baits"]: return False if name in app.save["owned_baits"]:
setActiveBait(app, name)
print("activated bait", name)
return False
if price > app.save["cash"]: return False if price > app.save["cash"]: return False
print("success!") print("success!")
@@ -478,7 +481,7 @@ def setActiveBait(app, baitId):
# license for. Free action. Updates app state so the next cast's creature # license for. Free action. Updates app state so the next cast's creature
# pool reflects the new bait. Reject the switch if the bait isn't owned. # pool reflects the new bait. Reject the switch if the bait isn't owned.
bait = [b for b in AVAILABLE_BAITS if b[0] == baitId][0] #find the specified upgrade bait = [b for b in AVAILABLE_BAITS if b[0] == baitId][0] #find the specified upgrade
name, max_difficulty, price = bait name, max_difficulty, price, img_url = bait
if name in app.save["owned_baits"]: if name in app.save["owned_baits"]:
app.save["current_bait"] = name app.save["current_bait"] = name
@@ -509,6 +512,7 @@ def redrawAll(app):
drawSkillCheck(app) drawSkillCheck(app)
if app.scene == "result": if app.scene == "result":
drawCatchDisplay(app) drawCatchDisplay(app)
drawHud(app)
if app.debug: if app.debug:
drawDebug(app) drawDebug(app)
@@ -606,7 +610,7 @@ def drawShopEntities(app):
#Image creds: ALL ICONS FROM https://www.flaticon.com #Image creds: ALL ICONS FROM https://www.flaticon.com
drawImage(BASE_IMAGE_URL + "bait-icons/" + img_file, left + (right-left) / 2, top + (bottom-top) / 2 - 10, width=80,height=80,align="center") drawImage(BASE_IMAGE_URL + "bait-icons/" + img_file, left + (right-left) / 2, top + (bottom-top) / 2 - 10, width=50,height=50,align="center")
def drawSkillCheck(app): def drawSkillCheck(app):
# Draw the active skill-check overlay: the circle, the target bars placed # Draw the active skill-check overlay: the circle, the target bars placed
@@ -696,7 +700,10 @@ def drawHud(app):
# every scene so the player always sees their core stats. # every scene so the player always sees their core stats.
#I dont really need this unless I decide to add alert/tutorial messages #I dont really need this unless I decide to add alert/tutorial messages
pass #but i can draw the current bait in the corner
img_file = [b[3] for b in AVAILABLE_BAITS if b[0] == app.save["current_bait"]][0]
drawRect(app.width - 75, app.height - 75, 70, 70, fill='saddleBrown', border="black")
drawImage(BASE_IMAGE_URL + "bait-icons/" + img_file, app.width - 10, app.height - 10, width=60,height=60,align="bottom-right")
def drawDebug(app): def drawDebug(app):
debugStr = f"""\ debugStr = f"""\
@@ -704,6 +711,7 @@ def drawDebug(app):
Scene: {app.scene} Scene: {app.scene}
fishingTimer: {rounded(app.fishingTimer)} fishingTimer: {rounded(app.fishingTimer)}
hookedFish: {app.hookedFish["name"] if app.hookedFish else "N/A"} @ {app.hookedFish["difficulty"] if app.hookedFish else "N/A"} difficulty hookedFish: {app.hookedFish["name"] if app.hookedFish else "N/A"} @ {app.hookedFish["difficulty"] if app.hookedFish else "N/A"} difficulty
activeBait: {app.save["current_bait"]}
""" """
debugLines = debugStr.splitlines() debugLines = debugStr.splitlines()
size = 16 size = 16
+1 -1
View File
@@ -1 +1 @@
{"cash": 810706.0, "owned_baits": ["Worms", "Prawns", "Tuna", "Bass"], "owned_upgrades": ["Spectral Rod", "Galaxy Rod", "Glowing Rod", "Massive Bobber", "Huge Bobber", "Large Bobber", "Medium Bobber"], "current_bait": "Worms", "catch_log": []} {"cash": 947510.0, "owned_baits": ["Worms", "Prawns", "Tuna", "Bass"], "owned_upgrades": ["Massive Bobber", "Huge Bobber", "Large Bobber", "Medium Bobber", "Glowing Rod"], "current_bait": "Tuna", "catch_log": []}