Skip to content
Proyek

Tentang

The classic "Snake" game implemented in Vue3

Gim dan emulasi

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
0
dalam 1 bulan
0

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

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

Jelajahi proyek terkait

Memuat…