aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoop Kiefte <ikojba@gmail.com>2020-09-14 09:48:09 +0200
committerJoop Kiefte <ikojba@gmail.com>2020-09-14 09:48:09 +0200
commit16f8079f83bf770038c71e88b17b83ca6b17edbd (patch)
treee233e15793418b85d457db9adc1953b519c6f4c3
parent1a6538d9cf451e5775319946f892279159afa5d8 (diff)
make scores for clearing lines higher and worthwilev0.3.1
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 14f63a4..26ffd17 100644
--- a/main.go
+++ b/main.go
@@ -156,7 +156,7 @@ func main() {
l, f = f.Lines() // count and remove full lines
if l > 0 {
linescleared += l
- score += level * l * l
+ score += 40 * level * l * l
}
fmt.Print("\033[2J") // Clear screen
b, p = b.Pick() // ... and pick a new piece from the bag