SWIPE-GAME is just a simple game that uses HTML, CSS and vanilla javascript by detecting the mouseDown , touchstart , mouseup , and touchend event lists.
Demo Game --- HERE
This SWIPE-GAME provides a simple way of setting up a modern web development environment. Here is a list of the current features:
- GULP 4 Automate and enhance your workflow.
- ES2015 Babel transpiler that allows you writing JS Code in ES2015/ES6 style.
- Sass: CSS pre-processor with gulp-autoprefixer.
- Browsersync with Live reload.
- Minifies and optimize your javascript.
This should be installed on your computer in order to get up and running:
- Node.js Required node version is >=
10.0 - npm Version
6.0.*
If you've previously installed gulp globally, run
npm rm --globalgulp before following these instructions.
As a prerequisite it's assumed you have npm or yarn installed.
-
Clone Repo Make sure you have a SWIPE-GAME clone repository.
https://github.com/Alphabet-Team/swipe-game.git -
Gulp Setup you just execute this script
npm install --global gulp-cli, and make sure your Gulp CLI is currently in the version2.0.* -
Install dependencies
npm installif you have done the syntax above before, there is no need to do a step 3 process. but if you are not sure then just do it for check updated.
-
Serve or deploy When we start the
serveprocess, the task runner below hasenvdevelopment and automaticallywatchthe changes you make to the code.yarn serveor
npm run serve -
Deployment
yarn buildor
npm run build