The Fishing Game
Explore your way through the different regions by catching the rarest fish you can. Catch em all to fill up your fishedex!
Hi!! This my fishing game. Here's a bit of an explanation that you also get ingame:
Welcome to my fishing game! The aim of the game is to reach level 100 as quickly as possible. Catch the rarest fish you can and level up! You can sell your fish in the shop. Rarer fish bring in more gold. You can use this gold to purchase bait, which is needed to catch fish, and rods, which make catching rarer fish easier. Careful, bait gets more expensive as you level up. New types of fish are unlocked as you level up, and at higher levels, it's easier to catch fish. You can also see information about all the fish you've come across in the 'fishedex' in the shop. Catch them all! You might also find some treasure when you're fishing! The game saves your progress at the end of each day, so you can just log in again and pick up where you left off. Good luck! Press enter to continue.
Not gonna lie, it's pretty fun.
I made this game last July. The reason I choose fishing was mainly because it makes plurals easier - the plural of most types of fish is the same as the singular ;) (This doesn't work for anchovies though... or mythical creatures. Oh well). To make it I did have to learn a little about using classes and objects - I find them really useful now though. My coding's definitely developed a bit since I made this (it's a mess), but I can't really be bothered to make the code any neater (I did a tiny bit). I have edited it a bit since I originally made it to make it ready for the game jam. Here are some of the additions (spoiler for past level 100!!) :
- There are new "mythicals" which are extremely rare fantasy creatures, like mermaids. They can only be encountered after level 100. You can't sell them, though the game remembers which ones and how many you've seen. You need the special new moonstone rod.
- The game's harder now, in that the XP needed to level up increases exponentially as you go up the levels. I really should have had that from the beginning, because levelling up was way too quick.
- Some new types of fish!
- Highscore board for how many days it takes to reach level 100. I'm not sure if this was in the original fishing game that I posted in July, but I don't think it was. It's empty currently because the new XP-level scale has made all the previous highscores made by me and my family during testing unfair. Let's see who get's the lowest!
- Rarest fish stat. Within the rarity boundaries like common, uncommon, rare ect, there are varying rarities based on a number. If you catch a fish with the same rarity number as your rarest fish stat, it counts as rarer if it's unlocked at a higher level. Basically, higher level is used to decide rarity in a couple of cases. The point is, I wanted to add something that made the game more orientated to getting the rarest fish - kinda like pokemon. Anyone got the blue whale?
- Changed the rod names from "default, alright, decent, good, great" ect. to "wooden, bamboo, copper, iron, steel" ect, just for added character. The only one that stayed the same was the awesome golden rod ;)
In the Future...
I've got a few ideas for what I want to add to the fishing game...
- A little addition of telling you the current highscore when you sign up, or when you log in, or at the top each day in game. I just don't really know which one would be best. Let me know what you want!
- More fish of course! I just don't want to bombard you with them. Maybe if some of you guys really like the game I'll put a personalised fish in for you ;)
- More ideas post level 100. Maybe some cool non-mythical fish.
- Having the option to change rods using ones you've already bought, because at the moment if you want to change your rod you have to repurchase any you've already bought and that's just dumb.
- New rods with cool properties, like extra attempts per day, or unlocking specific types of fish, unlocked at certain levels.
- Maybe, but probably not, lengths of fish - they'd be a mean length for each type, and the fish you caught would be around this. The price could depend on length. There could be a new stat with longest fish caught? I feel like this is just too complicated for my simple little fishing game though.
- Music! I feel like it would really benefit from some tunes but I don't know how to implement that. I'd have to look in to it.
- Your suggestion here. Seriously, I would really love it if you guys could tell me what you want to see, if you like the game of course.
PLANS FOR THE FINAL DAY
- Rainforest and/or
fire biome?DONE fire, I think rainforest would be cool but too much Settings page with options to reset account, see highscores, see game info/help, see current number of accounts on the game?DONE Work on fish rarity colours and fishedex/treasuredex colouring.DONE End biome highscores page?DONE and in settings Mythicals for the other biomes !!!DONE Better names than "normal biome" "ice biome" "desert biome"DONE but they were stolen from game of thrones... oops Weathers with different fish for different weathersDONE
Well that's it. I really hope you guys like it. If there's any bugs let me know, and if you want any improvements, let me know too! Thanks so much for trying it out! (also sorry that it doesn't fit the cash theme. I edited it to make it more appropriate to the cash theme, but it kinda sucked. I prefer the cutesy fishing element)
On a final note, let me know if you encounter all the mythicals! That would be seriously cool!
Edit: don't really care if you don't like that it's in all lower case. I think it looks nicer.
Change Log since posting
- Input validation for a, b, c at the start of the day, to avoid the "press enter and run up your days" error
- Input validation for logging in or signing up
- More input validation for selling some fish, plus added capability for selling multiple fish at a time (not all fish) and fixing a bug that would've prevented fish with spaces in their name - eg electric eel - to be sold.
- Fixed the printing of high scores so that it's in actually in the correct order, plus accounting for ties.
- Disallowed "-" characters in the username, which would've messed up the accounts file, had it been working anyway.
- Lowered the power of the rods and raised the prices for a more difficult game ... sorry if the highscores are now unfair but I can't let it be the same game forever :(
- More input validation in the shop... it never ends
- Weirdly, more input validation in the shop, I thought I caught it all, but nope. thanks for catching that, TechGamer
- Added the "fishedex"!! It's amazing! It's literally just a pokedex. Go to the shop to see it. If you do manage to catch em all then tell me if my code works and you get a congratulations. Hope you all like the fishedex, thanks to Hamloid for the idea!
- Accounts and highscores saving error fixed!
- You don't get as much info about a fish each time you catch one now, only the first time you do. I think it looks a lot nicer.
- The code now has the grammar knowledge of a 6 year old and can appropriately use "a" or "an" now.
- If you put in "log in" but you should've put in "sign up", you no longer need to refresh, the code will sort it out for you.
- Fixed password security thanks to ebest!
- Added treasures and treasuredex!
- Fish are now coloured based on rarity, inspired by Runescape!
- Different biomes with different fish, different treasures, harder xp gradients, and dangers [dangers are so cool]! Level resets to 1 in these biomes. You can travel between biomes by ships (your old levels stay the same, don't worry). Biomes are only unlocked past level 100. I only have the ice biome now, but more are coming (unlocked at ice level 100, ect.)
- Biome specific rods! [only 1 per biome, but they're both great at getting rare fish, and allow mythicals (at the moment mythicals can only be caught in normal, but I'm going to add ice and desert mythicals)
- Desert biome added!! I know, the names suck. I'm working on it.
- Bait price increases as you level up. It's also more expensive as you go through the biomes.
- Dangers added for normal.
- "One use" items! These are pretty cool and last for 1-2 weeks, increasing your chance at either: catching a fish, catching a treasure or catching rarer fish, or keeping you safer. There's 2 "levels" of item for each, with the better being rarer. They can't be bought in the shop and are instead found when fishing.
- Added weathers, which are specific to biomes. Most fish can only be caught in certain type(s) of weather.
- Added settings page with options to reset account, see highscores, see total number of accounts signed up, see game info and see game help. Going to settings doesn't use up your day, unlike the shop.
- Improved fish rarity colours suggested by Mavrick and each line in the fishedex is coloured according the what biome the fish is found in.
- Fire biome, which is the last one! Highscores page for when you complete it.
- Mythicals for different biomes.
- Biomes are no longer called biomes and are now named after locations in game of thrones.
- Massive bug exodus just before deadlines oops
- Inputs except user and password are now not case sensitive
- Slight edits to reaching level 100 & ship functions
- cats_ur_cool77's awesome fishing game tribute can be found in settings!
- credits when you reach endgame!
Anyone who can reach level 100 in under 300 days can have a personalised mythical! Screenshot the highscore board once you reach 300 and tell about what you want your mythical to be. Maybe they'll have even more XP than normal mythicals. Good luck!!
Account bug FIXED! Finally! Thanks so much to leon332157 for their json store module - https://repl.it/talk/share/jsonstoreio/10956. Your account information and highscores should always be saved now! (let me know if you find a bug though)
Issue with account security is definitely improved now. Don't try too hard to hack it though aha Edit: account security is much better now!! thanks to ebest!
Don't forget to upvote if you enjoyed the game! Thanks so much to everyone who has done so, or commented, already!
Notes to judges
- Sorry that there are no screenshots of game play. I was planning to take some today but I have definitely ran out of time :(
- Please don't mark me down because it's all in lowercase. It's inspired by a dark room, and it's super easy to change at the end of the day.
- PLEASE play until you reach at least
the ice biomeBeyond the Wall because I worked so hard on the biomes!! And don't you want to log a highscore?
- Sometimes, I worked on the file by forking it and editing the fork. I then copied and pasted it back into the original. I deleted some forks to make more room in my repl. I swear I used repl.it!
- I used this file a lot to change the data that is held for the accounts. It was necessary when the new developments in the game required more data to be stored. https://repl.it/@AmeliaBlackwell/Fishing-Game-Account-Handler
- Of course I really hope you enjoy my game :)
I recommend playing in a new tab
This game is awesome!
In the future you could make this into an 8-bit game (kinda like pokemon, or stardew valley!)
why does it say username and password do not match when i made them the same?
I know we literally have like a day left on the project and you're probably either not working on this at all or working on it like crap... So I'm gonna give you more suggestions!
First of all I want to say congratulations on the great game, and I do expect that you're going to get first place, and if you don't the person who does better have something pretty damn good.
First suggestion: usually game rarity levels and colours go like this:
Common - White (or gray or another dull colour, to show that it's common and not worth that much)
Uncommon - Green (To show that this is pretty good, but green not being that much of a colour that pops)
Rare - Blue (A colour that will pop against other stuff, to show that this is a very rare thing to get)
Epic - Purple (This colour is associated with wealth, power and royalty, so it would make sense that it is related to something so rare.)
Legendary(if that even exists) - Yellow or Gold (I mean it's gold, which is one of the most expensive metals and a universal symbol for extreme wealth. Naturally this would be the rarest)
Suggestion 2: I literally forgot my other suggestions so hopefully that's enough
@Mavrick Haha definitely the working on it like crap one, I am so tired haha! Thank you so much for your support, I want to win so bad! I'm almost following those colours. But the main text of the game is white, so I shunted the colours along: common is green, uncommon is blue, rare is purple, super rare is orange, epic is gold, and legendary is light blue (and mythical which is slightly apart from these is lilac). Maybe I will try it out with light grey for common and the colours shunted down one again. I think maybe the super rare group should be absorbed into rare because it gets pretty confusing with a lot of colours. I'm gonna make the purple brighter as well.
Thank you so much! If you remember your other ideas I'd love to hear them :)
I have worked until day 134 and it didnt save my progress XD is there a way to get my progress back? username is RogueKing and password is 1234
Aw man... I didn't read the part where I needed to comment my stats to get entered, that's my fault tho here I'm gonna grind and I'll finish this comment when I am as good as I was... ok here:
gold - 19229
bait - 299
rod - bronze
level - 55
rarest fish caught - plaice
inventory - empty
Edit: rlly good game btw its addictive
Edit2: updated my stats, except inventory cause that's a lot of work
Edit3: updated everything
lol i made i made it in 321 days lol
you caught a blue whale! a blue whale is a legendary fish that can be sold for 5000 gold
CONGRATULATIONS! YOU REACHED LEVEL 100!
you reached level 100 in 321 days
these are the high score rankings for how many days other players have reached level 100 in
1. wbt - 321 days
2. tjb0411 - 341 days
3. l33g - 357 days
4. spencer - 379 days
now that you've reached level 100, you have the ability to encounter mythical creatures. these are extremely rare and can only be found with the moonstone rod, which is now unlocked in the shop. they can't be sold, but encountering them gives you a lot of experience!
How you've managed put all of this together is seriously impressive, well done! There's one small problem if you haven't noticed, anyone can come along and see what's in
accounts.txt, so the whole login thing isn't exactly 100% secure 😛
@AmeliaBlackwell No problem! ^^
I'd say the easiest way to get around it is by encrypting the username and password in some way. If you haven't heard of it before, try googling "caesar cipher" (it isn't as scary as it sounds). This won't exactly stop someone from figuring it out if they wanted to, but now they would at least have to read the source code to do it.
But if you really want to make sure that no one can find out, what I'd do is use Google Sheets to store everything in
accounts.txt, and use their api to access and modify the data.
@AmeliaBlackwell Anytime! doing caesar cipher should take you only take you around 5-10 minutes and it shouldn't be too hard at all if you've seen it before.
And yeah, using google's APIs is definitely harder, but it's also pretty interesting to learn how to do something like that and I'd say it's quite a useful skill to have so it might be worth your time. Or don't bother at all, you do you 😛
all the things i caught in one run(and stats)
gold - 0
bait - 8498
rod - silver
level - 91
rarest fish caught - dolphin
inventory - 17 minnow, 18 tuna, 12 catfish, 24 prawn, 21 spider crab, 6 trout, 11 seahorse, 13 pike, 13 sardine, 18 salmon, 10 crab, 10 mackerel, 31 shrimp, 16 crayfish, 3 blobfish, 13 dogfish, 10 stingray, 14 bass, 6 squid, 12 cod, 21 anchovies, 13 electric eel, 21 jellyfish, 5 rainbow trout, 1 swordfish, 9 herring, 6 turtle, 5 shark, 2 plaice, 7 sunfish, 1 dolphin
it is easy to get a lot of money it should be at least 2 gold for bait
very good game overall well done
it is awesome
@17hama4141 okay added to the accounts file. Username: 17hama4141 . password - "pass". thank you so much I'm really glad you like it!! :) I'll think about raising the price of bait but honestly I think that could just make the very early game difficult and the rest of the game annoying. Maybe at level 100 it could increase to 10 gold. as for the moonstone rod... reach level 100 to find out what it does ;)
Congrats on over 100 votes. Might I ask how the account system works? I've been trying to find a way to do something like this forever.
@Mavrick thank you very much! Of course. So at the start od each game each user has to make a username and password which creates the player object, using the username and password and the starting stats (day 1, 0 gold, 10 bait, empty inventory ect). This object is used and updated over each in game day. At the end of each day all the attributes of the player object are written to the accounts.txt file, seperated by special characters. You will need to make sure your code only overwrites the account in current use by checking the usernames. All data must be strings so I have a printing inventory function - inventory is an object with an attribute containing all the objects inside the inventory, so each object is written as its name and quantity, seperated by different special characters. (1 account per line)
When logging back in, the accounts file is read. The username and password must match a line of the accounts file. If they do a player object is created using the details within the accounts file. Objects like inventories are reconverted from their string data back into the object. Then the game continues using this player object.
I hope you understood that. It's easier than it sounds. If you have a problem please ask.
I love the game, but please make a better security system. Maybe do some form of simple encryption? For example, in a program I made called, XDOS, I made an admin password that is an encryption of something else:
XD_str = 71118
XD_str2 = ""
Later In The Code:
for x in range(XD_str):
if x < 10:
XD_str2 += "01010"
if x == 10:
XD_str2 += "1010"
if 10 < x < 64:
XD_str2 += "1001010"
Later In The Code:
code = input(colored("Input admin code > ",colour))
if code == encrypt(XD_str):
print(colored("You have been granted admin access",colour))
admin = True
admin = False