Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/littleboycoding/spacetextwar
small text based game to demonstrat how WebSocket work
https://github.com/littleboycoding/spacetextwar
Last synced: 16 days ago
JSON representation
small text based game to demonstrat how WebSocket work
- Host: GitHub
- URL: https://github.com/littleboycoding/spacetextwar
- Owner: littleboycoding
- License: unlicense
- Created: 2020-07-03T04:47:01.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-30T15:25:19.000Z (over 3 years ago)
- Last Synced: 2023-03-04T11:07:37.546Z (almost 2 years ago)
- Language: JavaScript
- Size: 303 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SpaceTextWar 🚀
![In game overview](https://raw.githubusercontent.com/littleboycoding/spacetextwar/master/spacetextwar.gif)
Small text based game to demonstrat how WebSocket work (with node as server)
WebSocket library used: [ws](https://github.com/websockets/ws)
## How to setup
- Serve file in ./client with any web server you want
- Run node WebSocket server with node ./server/server.js**You might need to edit WebSocket server configuration in ./client/game.js**
That's it ! 🔥