From a3894eda03b994a493790038872328cb5b1ddbd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20R=C3=BCmpelein?= Date: Wed, 22 Oct 2014 18:08:51 +0200 Subject: [PATCH] First basic-game doc draft --- src/jsds.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/jsds.js b/src/jsds.js index f31d664..a7fbe98 100644 --- a/src/jsds.js +++ b/src/jsds.js @@ -81,6 +81,7 @@ // Probe-Function: checks, whether a given "effort" is succesfull, according to the rules of DS // Not yet implemented: Tests for values larger than 20 + // 1 var dice = function(probe) { var diceval = Math.floor(Math.random() * (21 - 1)) + 1; if ( diceval <= probe ) {