Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+3)

Hi! While I appreciate you testing out my game, I'm pretty sure your math is wrong. nCr is the formula for choosing r objects from a set of n. Note that these choices are dependent—choosing item 1 means you can't choose it again. 

To be frank, I don't know why you thought the Choose formula was the appropriate formula to use. Each choice of object per cell should be independent.

Here's the correct calculation:

To pick the location of the player, choose 1 cell out of the 25. For each of the remaining 24 cells, independently select one of the following: Empty, Crate, Target, Crate and Target, Wall. This is clearly 25*(5^24).

(I left out putting a target under the player, which would multiply the total by 2.)

My code is pretty bad and probably broken, but this bit of math is not. 

Also, you say my library is infinite, but it clearly has a finite number of levels inside it. It does wrap around, but that isn't infinity, it's a torus.

Finally, it's pretty rude to sign off a message to a stranger with "with disappointed looks."

Have a nice day,

Beekie

chess battle advanced