GitXplorerGitXplorer
j

nibbles

public
2 stars
2 forks
0 issues

Commits

List of commits on branch master.
Unverified
2a04b15e95cc09024a8ceb388600ffd1ac4afbb4

Fix deprecations, unused variables

committed 9 years ago
Unverified
52a71514e7a1101b0b9f489404849a98da3af386

Merge branch 'master' of github.com:johnste/nibbles

committed 9 years ago
Unverified
3ddabc0fb94a9b52872dc4c2b58e1ccacf0b9183

A small comment

committed 9 years ago
Unverified
cdf8a1f2a9961ba9ba94a69bcfea4a8448890a2f

Update README.md

jjohnste committed 9 years ago
Unverified
7874464698883f41bf485a34bea898b95a9ed0a8

Nibbles

committed 9 years ago
Unverified
8c9d4d24123d5dfb8cdefa647b9f8ae0181ae04a

Initial commit

committed 9 years ago

README

The README file for this repository.

Snake game built with Pixi.js

spec:

  • Snake can be controlled by arrows.
  • Snake food will be placed randomly on screen.
  • Snake food has a random timeout between 4 to 10 seconds
  • Snake elongates itself after eating the food.
  • Every food intake gives 1 point.
  • If the snake hits a boundary, the size of the game area should reduce by 113px and the direction of the snake reverses.
  • Game is over when snake gets in contact with itself.
  • Dimensions of food should be equal to dimension of one segment of the snake.
  • Dimension of food should be 16px X 16px.
  • The game area should be of size 800px X 800px.
  • "Play Again" button should appear once the game is over.
  • In the subsequent gameplays, if the score is greater than the previous gameplay score, then change the color of the score.