Initial flame_lua_runtime package
This commit is contained in:
15
example/assets/games/ludo/scripts/state.lua
Normal file
15
example/assets/games/ludo/scripts/state.lua
Normal file
@@ -0,0 +1,15 @@
|
||||
---@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" }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user