aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2015-10-07 23:26:09 -0400
committerTeddy Wing2015-10-07 23:26:09 -0400
commit7fea60241b1c88a5a17087bce9ca0cc916119092 (patch)
tree4262ac666ff0ff2008d79e283f2561d16aca85a0
parent794d8f872a36a29c56a4e921d33fc1a4ee497910 (diff)
downloadvim-space-vlaze-7fea60241b1c88a5a17087bce9ca0cc916119092.tar.bz2
game#GameOver: Add a descriptive comment about what the math is for
-rw-r--r--autoload/space_vlaze/game.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/autoload/space_vlaze/game.vim b/autoload/space_vlaze/game.vim
index 37d4da4..b445a72 100644
--- a/autoload/space_vlaze/game.vim
+++ b/autoload/space_vlaze/game.vim
@@ -137,6 +137,7 @@ function! space_vlaze#game#GameOver()
\ ['O', ' ', 'V', ' ', 'E', ' ', 'R'],
\ ]
+ " Put "Game Over" text in the middle of the board
let text_y = s:BOARD_HEIGHT / 2
let text_x = s:BOARD_WIDTH / 2 - 2
let text_x_orig = text_x