make 1 player option work

dev
LeRoyce Pearson 2024-02-18 16:29:59 -07:00
parent 9b512d9b58
commit 51e6b293e9
1 changed files with 8 additions and 1 deletions

View File

@ -145,6 +145,13 @@ function TIC()
end
function handler_main_menu(action)
if action=="start-1-player" then
return { redirect=handler_draw_card }
elseif action=="start-2-player" then
elseif action=="start-3-player" then
elseif action=="start-4-player" then
end
local player_count_cards={
Card:new(1, 1),
Card:new(2, 2),
@ -170,7 +177,7 @@ function handler_main_menu(action)
table.insert(elements, {
visual=card,
x=x, y=68,
action=card,
action="start-"..i.."-player",
})
x=x+24+space_around
end