Skip to content

Commit 90a77fd

Browse files
authored
Export betting strategies
1 parent 9173ef1 commit 90a77fd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
'use strict'
22

33
const settle = require('./settle.js')
4+
const betting = require('./betting.js')
45

56
function rollD6 () {
67
return 1 + Math.floor(Math.random() * 6)
@@ -86,5 +87,6 @@ function playHand ({ rules, bettingStrategy, roll = rollD6 }) {
8687
module.exports = {
8788
rollD6,
8889
shoot,
89-
playHand
90+
playHand,
91+
betting
9092
}

0 commit comments

Comments
 (0)