From 3b1c287b8bddd892d72bd89814ff71ba30e8faf0 Mon Sep 17 00:00:00 2001 From: Joop Kiefte Date: Sun, 20 Sep 2020 23:17:44 +0200 Subject: Remove end wait and correct GAME OVER positioning --- main.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/main.go b/main.go index 3f91622..cd0471f 100644 --- a/main.go +++ b/main.go @@ -114,7 +114,6 @@ func main() { x = p.X - 1 default: ppos(22, 0, "...escape, escape!") - time.Sleep(2 * time.Second) return } case 'x': @@ -131,11 +130,9 @@ func main() { harddrop = true case 'q': ppos(22, 0, "...that was exciting!") - time.Sleep(2 * time.Second) return case 'Q': ppos(22, 0, "...never let an engineer pick the name of your software?") - time.Sleep(2 * time.Second) return } select { @@ -172,8 +169,7 @@ func main() { } if topout { - ppos(4, 5, " GAME OVER ") - time.Sleep(2 * time.Second) + ppos(4, 15, " GAME OVER ") return } } -- cgit v1.2.3-70-g09d2