Polish One Life mini-rounds and spectating

This commit is contained in:
Leshyi committed 2026-11-30 00:03:48 +05:00
1 parent 0c949fadf0
commit ebe8db5359
12 files changed
+175 -17

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
--!strict
return function(rules: any)
assert(rules.winner(2,1)=="Blue" and rules.winner(1,2)=="Orange")
assert(rules.winner(2,2)==nil and rules.winner(0,0)==nil)
assert(rules.finished(3,1) and rules.finished(0,3) and not rules.finished(2,2))
end