Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 ! 🔥