Skip to content
Projects

About

The classic "Snake" game implemented in Vue3

Games & Emulation

How these counts are measured

Measured star growth

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
0

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

Snake 🐍

asd

follow on Twitter

How to play 📕

If you'd like to know about how to play the game, you can find about it here: HOW_TO_PLAY.md

Development 👨‍💻

Prerequisites 🗹

You need to install and setup the following:

  • node.js
  • yarn
  • git

Clone the repository 🤖

  • Open up a terminal (Linux, macOS), or a command prompt (Windows)
  • Navigate to the directory you would like to download this repository in
    • You can do this by running a cd command like so:
    cd /directory/for/this/repo
    
    • Do not forget to change /directory/for/this/repo with the directory of your own choosing!
  • Clone the repository by running the following command:
git clone https://github.com/ekinkaradag/snake-vue3.git

Run the game 🕹

  • If the cloning process went well, you need to change the directory to the newly created snake-vue3 folder in order to install the dependencies

    • To Change the directory, run the following command:
    cd snake-vue3
    
    • This can be done by running the following command:
    yarn
    
    • Or, if you prefer to use npm, you can run this:
    npm install
    
  • Once the dependencies are installed, you can start the game in a live dev environment.

    • This can be done by running the following command:
    yarn dev
    
    • Or, if you prefer to use npm, you can run this:
    npm run dev
    
  • If you would like to build it:

    • This can be done by running the following command:
    yarn build
    
    • Or, if you prefer to use npm, you can run this:
    npm run build
    
    • When you do this, the built files will be available in the dist folder.
  • If you would like to deploy it to GitHub Pages:

    • This can be done by running the following command:
    yarn deploy
    
    • Or, if you prefer to use npm, you can run this:
    npm run deploy
    

Thank you 👏

Thanks to all the supporters of the project! If you would like to contribute, make sure to check out CONTRIBUTING.md

Explore related projects

Loading…