If you'd like to know about how to play the game, you can find about it here: HOW_TO_PLAY.md
You need to install and setup the following:
- node.js
- yarn
- git
- 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!
- You can do this by running a
- Clone the repository by running the following command:
git clone https://github.com/ekinkaradag/snake-vue3.git
-
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
Thanks to all the supporters of the project! If you would like to contribute, make sure to check out CONTRIBUTING.md
Stargazers:
Forkers: