16 lines
523 B
Lua
16 lines
523 B
Lua
---@type LudoState
|
|
return {
|
|
current_player = "red",
|
|
phase = "waiting_roll",
|
|
dice_index = 0,
|
|
dice_values = {6, 3, 5, 2, 6, 4},
|
|
selected_piece = nil,
|
|
players = {"red", "blue"},
|
|
pieces = {
|
|
red_1 = { id = "red_1", owner = "red", path_index = 0, status = "home" },
|
|
red_2 = { id = "red_2", owner = "red", path_index = 0, status = "home" },
|
|
blue_1 = { id = "blue_1", owner = "blue", path_index = 0, status = "home" },
|
|
blue_2 = { id = "blue_2", owner = "blue", path_index = 0, status = "home" }
|
|
}
|
|
}
|