This repository has been archived by the owner on Jan 6, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathconfig.js
72 lines (72 loc) · 1.81 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
exports = module.exports = {
logging: true,
server: {
secure: false, // false=ws, true=wss
port: 8000,
host: '0.0.0.0'
},
sequelize: {
logging: false,
},
common: {
startGameTimeOut: 3000, // 2000 stock
startingRooms: 1, // Default 4, How many rooms to create at start
roomZeroBotCount: 5,
roomOneBotCount: 2,
roomTwoBotCount: 2,
roomOthersBotCount: 0, // For production set to 0
},
neuralNetwork: {
learningRate: 0.3
},
games: {
holdEm: {
bot: {
giveRealNames: true, // true => random from assets/names.txt, false => Bot<numbers>
startMoney: 10000,
turnTimes: [1000, 1500, 2000, 2500, 3000],
minMoney: [
50, // Low bet game
200, // Medium bet game
2000 // High bet game
],
betAmounts: [
[25, 35, 100, 500], // Low bet game
[125, 150, 200, 250], // Medium bet game
[1100, 1200, 1500, 2000] // High bet game
]
},
holdEmGames: [
{
name: 'Texas Hold\'em with low bets',
typeName: 'Low bets',
max_seats: 6,
minPlayers: 2,
turnCountdown: 20,
minBet: 10,
afterRoundCountdown: 10
},
{
name: 'Texas Hold\'em with medium bets',
typeName: 'Medium bets',
max_seats: 6,
minPlayers: 2,
turnCountdown: 20,
minBet: 100,
afterRoundCountdown: 10
},
{
name: 'Texas Hold\'em with high bets',
typeName: 'High bets',
max_seats: 6,
minPlayers: 2,
turnCountdown: 20,
minBet: 1000,
afterRoundCountdown: 10
}
],
},
fiveCardDraw: {},
blackJack: {}
}
};