-
Notifications
You must be signed in to change notification settings - Fork 0
/
BidGame.jl
46 lines (40 loc) · 859 Bytes
/
BidGame.jl
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
module BidGame
using DataStructures
using Random
include("params/standard_params.jl")
include("src/types.jl")
include("src/state.jl")
include("src/game_functions.jl")
include("src/player_prompts.jl")
include("src/parse_bets.jl")
include("src/resolve.jl")
include("src/field_functions.jl")
include("cards/cards.jl")
include("cards/decks.jl")
include("src/card_functions.jl")
include("src/round_script.jl")
include("src/Bot.jl")
include("src/show.jl")
using .Bot
#globals
state = deepcopy(BlankState)
params = get_standard_params()
cardDict
deckDict
function get_state()
global state
return state
end
function set_state(newState::Dict)
global state = newState
return state
end
function get_params()
global params
return params
end
function set_params(newParams::Dict)
global params = newParams
return params
end
end #module