Skip to content

Commit

Permalink
Removed reference of yarn as yarn is not a beginner package manager a…
Browse files Browse the repository at this point in the history
…nyways

Updated as well the readme.md to be more geared towards beginners
  • Loading branch information
Shin-Aska committed Aug 20, 2020
1 parent 55c120b commit 5b8dd98
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
6 changes: 0 additions & 6 deletions .directory

This file was deleted.

32 changes: 19 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,24 @@ have.

[![Game](https://img.youtube.com/vi/RlSc0fsRZg0/0.jpg)](https://www.youtube.com/watch?v=RlSc0fsRZg0E)

How to run the example (yarn):
How to run example:

git clone https://github.com/Shin-Aska/Robo-JS.git
yarn
yarn run webpack-dev-server

Run in npm:

git clone https://github.com/Shin-Aska/Robo-JS.git
npm
npm run webpack-dev-server

The demo runs at [http://localhost:8080](http://localhost:8080)

Shout out to Prof. Solomon See from DLSU for the inspiration for this game (Since the idea popped-in during his class)
cd Robo-JS
npm install webpack-cli -g (add sudo if on linux)
npm install http-server -g (add sudo if on linux)
npm install
webpack --config webpack.config.js
http-server

You can replace http-server with other http server that you wish to use. If you are going to host the project on Apache
You only need to copy the following files and folders:
1. assets
2. sprites
3. build
4. index.html
5. robo.js

The demo runs at [http://127.0.0.1:8080](http://127.0.0.1:8080)

Shout out to Prof. Solomon See from DLSU for the inspiration for this game (Since the idea popped-in during his class)

0 comments on commit 5b8dd98

Please sign in to comment.