Python Pokepon Simulator

Hey all, I just made a quick simulator for Pokepon as a little side project for my Compsci course. I know the code is messy and maybe Ill improve it along the way? Just click the link and press run.

Known Issues: You can get Girafarigite more than once. The percentages on the wiki didn’t even add to 100 and I had no idea how it changed after obtaining the item. Maybe Ill change that once I get some actual numbers (which i won’t) You can’t hold down enter which is the fault of the actual interpreter. Not sure if it works better on IDLE (python interpreter program) but give it a go i guess?

If you find any problems, please tell me through this thread, enjoy!

https://repl.it/Bsn4/5

My numbers are correct, and you can only get Girafarigite once per time you compile the script. You can also hold down Enter :tipsfedora:

Dammit deuk you could’ve waited another week or so before posting that

1 Like

still really fun to play xD

Play it on deuks, mines flawed
Note it took me 1789 tries till i got a shiny output

Got bored, here is a version that allows you to roll X amounts of times, returning the percentages of the items you get. You can change @hasGiraf to true or false, depending on whether you want to know what the chances are with Girafarigite or without. Because Rubys random number generator is a pseudo random number generator, return chances may differ from each other, even on larger numbers. This is the same in the game, not much to do about this.

deuk you are bae