I'm working on a web based game where we have multiple minigames. We're insisting on also adding a Crash game, which is pretty popular in the gambling world. However we have been struggling to understand the concept of generating a random (almost unpredictable) number. Most gambling sites provide hashes etc to prove that the numbers are untampered with. We don't really need this because there's no real money involved in our game. So we're only looking for a way to generate a (almost unpredictable) random number (which starts from 1 and goes to infinity) but which gives us a bit of house edge (1/2%).