ref: 26a4bf1fd79a70a128c5474e5cb32637069ede0c
parent: 0db5f7d72bd77fd1b76d59668ec8b51a09477012
author: mkf <mkf@x230>
date: Sat May 25 04:08:39 EDT 2024
engine
--- a/engine.c
+++ b/engine.c
@@ -339,7 +339,11 @@
{
Point p = findglenda();
- if(findmin(p) >= 100)
+ calc();
+ calc();
+ calc();
+
+ if(findmin(p) > 100)
state = Won;
if(p.x == 0 || p.x == SzX-1 || p.y == 0 || p.y == SzY-1)
state = Lost;