https://github.com/Pong420/Spacecraft
a simple socket.io game prototype
https://github.com/Pong420/Spacecraft
Last synced: about 1 month ago
JSON representation
a simple socket.io game prototype
- Host: GitHub
- URL: https://github.com/Pong420/Spacecraft
- Owner: Pong420
- Created: 2017-12-04T03:50:19.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-18T13:19:59.000Z (about 7 years ago)
- Last Synced: 2024-11-18T13:44:12.612Z (7 months ago)
- Language: JavaScript
- Size: 122 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-hk-open-source - Spacecraft - 基於 Socket.io 的 game prototype,電腦 browser 做 screen,然後手機做 touch pad。[](https://github.com/Pong420/Spacecraft/stargazers) (Javascript)
README
# Spacecraft
> a simple socket.io game prototype
## Usage
```
git clone https://github.com/Pong420/Spacecraft.git
npm install
npm run dev
```[](https://heroku.com/deploy)
Open ```http://localhost:8080``` and click on the QRCode icon at the upper right corner
if you are ussing localhost, replace 'localhost' in the url under QRcode to your desktop IP address assigned by the router ( [How can I access my localhost from my Android device](https://stackoverflow.com/questions/4779963/how-can-i-access-my-localhost-from-my-android-device) ) then scan the QRCode with your mobile phone
Enter a nickname and submit
## Reference
- [Multi-touch game controller in JavaScript/HTML5 for iPad](http://seb.ly/2011/04/multi-touch-game-controller-in-javascripthtml5-for-ipad/)
- [sokect.io](https://socket.io/)