Skip to content

Tag: percentage

Catch fish by percentage – pygame

I want to create a fishing game. Whenever the player press a button, the game will return a fish. Every fish has a percentage ( small fish , 45% ; medium fish, 25% ; big, 15%; huge, 4.9%; shark,0.1). fish_size = [(“small”,45),(“medium”,25),(“big”,15),(“huge”,4.9…