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!
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.