diff --git a/README.md b/README.md index f2181309..9bd99757 100755 --- a/README.md +++ b/README.md @@ -1,9 +1,4 @@ -JavaScript Snake
-By Patrick Gillespie
-License: MIT
-http://patorjk.com/games/snake -This is a DOM-based game of Snake that I wrote in JavaScript a few years back. Other than the full screen mode demonstrated in the code, it can also be initialized in div tags within a page. Example: @@ -11,8 +6,8 @@ initialized in div tags within a page. Example: var mySnakeBoard = new SNAKE.Board( { boardContainer: "game-area", fullScreen: false, - width: 580, - height:400 + width: 1000, + height:1000 }); The comments are formatted a little strange because at the time I was playing diff --git a/js/snake.js b/js/snake.js index 02b6653f..4d1d71e7 100644 --- a/js/snake.js +++ b/js/snake.js @@ -115,7 +115,7 @@ SNAKE.Snake = SNAKE.Snake || (function() { var me = this, playingBoard = config.playingBoard, myId = instanceNumber++, - growthIncr = 5, + growthIncr = 500, lastMove = 1, preMove = -1, isFirstMove = true,