diff options
author | Joop Kiefte <ikojba@gmail.com> | 2020-09-20 23:17:44 +0200 |
---|---|---|
committer | Joop Kiefte <ikojba@gmail.com> | 2020-09-20 23:17:44 +0200 |
commit | 3b1c287b8bddd892d72bd89814ff71ba30e8faf0 (patch) | |
tree | c4f5079468426713472eaff7dbd709bfcc52e3db | |
parent | 2eb179b4c63de8fe9e18972aab4f10912a63f817 (diff) |
Remove end wait and correct GAME OVER positioningv1.1.1
-rw-r--r-- | main.go | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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 } } |