Skip to content

lsliwaradioluz/vue-snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vue Snake

Simple game created during flights to Italy and back

The Rules

This game was created to resemble an old-school Nokia Snake Game that we all remember and like. Players can choose one of three speed levels (from turtle-like to cheetah-like). Our snake has to eat food particles appearing in random areas of the screen. The more it eats, the longer and harder to manouver it becomes! Eating a single food particle means adding 7 points to the score. In addition, every five foods eaten, a special food worth 40 points appears on the screen. How to play?

  • control the snake using arrow keys
  • if the snake touches any of the walls - game over
  • if the snake eats itself - game over
  • if you want to make a quick, ninety degree turn (by pressing for example arrow up and left) - do not press them simultanously! There must be a small break between pressing these two keys to make it work. That's the hardest part and that's what this game is all about - fast fingers :)

Screenshots

screenshot

Technologies

  • HTML5
  • CSS
  • Vue 2.5.11
  • axios 0.19.0
  • vuex 3.1.1

Demo

Go on and play it!

Contact

Feel free to email me: lukasz.mateusz.sliwa@gmail.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published