#NEUTRAL
    #all players dead (draw)
    execute if score playersAlive gameInfoValues matches 0 run function subchronos:game/end/ini

#NO TEAMS
    execute if score teams gameInfoValues matches 0 if score playersAlive gameInfoValues matches 1 run function subchronos:game/end/ini

#TEAMS
    #Only one team (2v2)
    execute if score teams gameInfoValues matches 2 if entity @a[tag=!spectating,team=t1] unless entity @a[tag=!spectating,team=t2] run function subchronos:game/end/ini
    execute if score teams gameInfoValues matches 2 if entity @a[tag=!spectating,team=t2] unless entity @a[tag=!spectating,team=t1] run function subchronos:game/end/ini
    #Only one team (4v4)
    execute if score teams gameInfoValues matches 4 if entity @a[tag=!spectating,team=t1] unless entity @a[tag=!spectating,team=t2] unless entity @a[tag=!spectating,team=t3] unless entity @a[tag=!spectating,team=t4] run function subchronos:game/end/ini
    execute if score teams gameInfoValues matches 4 if entity @a[tag=!spectating,team=t2] unless entity @a[tag=!spectating,team=t1] unless entity @a[tag=!spectating,team=t3] unless entity @a[tag=!spectating,team=t4] run function subchronos:game/end/ini
    execute if score teams gameInfoValues matches 4 if entity @a[tag=!spectating,team=t3] unless entity @a[tag=!spectating,team=t2] unless entity @a[tag=!spectating,team=t1] unless entity @a[tag=!spectating,team=t4] run function subchronos:game/end/ini
    execute if score teams gameInfoValues matches 4 if entity @a[tag=!spectating,team=t4] unless entity @a[tag=!spectating,team=t2] unless entity @a[tag=!spectating,team=t3] unless entity @a[tag=!spectating,team=t1] run function subchronos:game/end/ini
