[four-in-a-row] Blink more.



commit b1f4036180e8f29c5828e14cbb52b52dbefe4a56
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Mon Dec 23 00:54:46 2019 +0100

    Blink more.

 src/four-in-a-row.vala | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/four-in-a-row.vala b/src/four-in-a-row.vala
index 0c11a4d..49efee3 100644
--- a/src/four-in-a-row.vala
+++ b/src/four-in-a-row.vala
@@ -362,9 +362,9 @@ private class FourInARow : Gtk.Application
         {
             anim = AnimID.BLINK;
             blink_on = false;
-            blink_n = n;
+            blink_n = 2 * n;
             blink_line = 0;
-            var temp = new Animate (0, this, n);
+            var temp = new Animate (0, this, 2 * n);
             timeout = Timeout.add (SPEED_BLINK, temp.exec);
             while (timeout != 0)
                 main_iteration ();
@@ -484,7 +484,7 @@ private class FourInARow : Gtk.Application
             scorebox.update (score, one_player_game);
             prompt_player ();
             if (winner != PlayerID.NOBODY)
-                blink_winner (6);
+                blink_winner (3);
         }
         else
         {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]