[gnome-games] quadrapassel: Make the difficulty increase less in the higher levels



commit a34bcce4b5121c1f03f58f6e4bd360fa427f777e
Author: Thomas Hindoe Paaboel Andersen <phomes gmail com>
Date:   Mon Apr 12 20:26:10 2010 +0200

    quadrapassel: Make the difficulty increase less in the higher levels
    
    GNOME bug #610891

 quadrapassel/tetris.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/quadrapassel/tetris.cpp b/quadrapassel/tetris.cpp
index e2d449e..50c4ac8 100644
--- a/quadrapassel/tetris.cpp
+++ b/quadrapassel/tetris.cpp
@@ -836,7 +836,7 @@ Tetris::generateTimer(int level)
 		g_source_remove(timeoutId);
 
 	// With 0.8, the old level 10 should be hit at about level 20.
-	int intv = (int) round (1000.0 * pow (0.8, level - 1));
+	int intv = (int) round (80 + 800.0 * pow (0.75, level - 1));
 	if (intv <= 10)
 		intv = 10;
 



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