Leaguify cheating
[troll.git] / src / main / java / com / codingame / game / Model.java
index 108b5a6..217388a 100644 (file)
@@ -26,6 +26,11 @@ class Model {
             hit = false;
         }
 
+        void loseRound() {
+            hit = true;
+            winner = 1 - index;
+        }
+
         private int castlePosition;
         public int getCastlePosition() { return castlePosition; }
         public void setCastlePosition(int pos) { castlePosition = pos; }