From 5f64610109de8e6b1acf32f5166fc4b87ff087ee Mon Sep 17 00:00:00 2001 From: Jabadamazo <58558376+Jabadamazo@users.noreply.github.com> Date: Mon, 16 Dec 2019 08:11:44 -0500 Subject: [PATCH 1/2] Update snake.js --- js/snake.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, From 38d9124605ca6414d251d603557dc9d698247bf8 Mon Sep 17 00:00:00 2001 From: Jabadamazo <58558376+Jabadamazo@users.noreply.github.com> Date: Mon, 16 Dec 2019 08:13:18 -0500 Subject: [PATCH 2/2] Update README.md --- README.md | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) 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