Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(+1)

Cool game, interested in how you implemented the probability of one of the boxers winning

(1 edit)

It wasnt too involved actually. I just set up a turn based system where I had 2 separate functions, one for blue and one for red. At the end of the function it would call the other colors turn. These functions would set up animations and choose the power of the punch. (That was just a random number generator 0-20) All in all the fight should be an even 50/50 shot. But! Whoever throws the first punch always has a nice advantage (I randomized who goes first). Luck also plays a big part in the fight because whichever fighter you choose he gets his punches multiplied by your luck 0-30% roughly.  

Just for some laughs I created a luck chance called 'Godmode' (approx 1/50) which multiplies your punches by 1000% lol - if you see godmode you should bet all your money

That is pretty cool, I for one have always struggled with probability and stats