Use two (or more) randomly generated numbers for the distributed value.
example:
random (1,6) + random (1,6) will generate a result from 2 to 12 with 7 being the normal value.
Develop games in your browser. Powerful, performant & highly capable.