#Project created by the koncept

execute as @a[tag=bingo.game.visibility,scores={bingo.timer.game.settings=1}] at @s run function koncept.bingo:bingo/timer/display

scoreboard players add t bingo.timer.game 1

execute if score t bingo.timer.game matches 20 run scoreboard players add s bingo.timer.game 1
execute if score t bingo.timer.game matches 20 run scoreboard players set t bingo.timer.game 0

execute if score s bingo.timer.game matches 60 run scoreboard players add m bingo.timer.game 1
execute if score s bingo.timer.game matches 60 run scoreboard players set s bingo.timer.game 0

execute if score m bingo.timer.game matches 60 run scoreboard players add h bingo.timer.game 1
execute if score m bingo.timer.game matches 60 run scoreboard players set m bingo.timer.game 0
