Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/voithos/endgame
A WebRTC-enabled 3D chess game
https://github.com/voithos/endgame
chess endgame firebase threejs webgl webrtc
Last synced: 3 days ago
JSON representation
A WebRTC-enabled 3D chess game
- Host: GitHub
- URL: https://github.com/voithos/endgame
- Owner: voithos
- License: mit
- Created: 2015-02-08T05:24:13.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2021-09-25T19:51:04.000Z (about 3 years ago)
- Last Synced: 2024-04-14T18:09:44.503Z (7 months ago)
- Topics: chess, endgame, firebase, threejs, webgl, webrtc
- Language: CSS
- Homepage: https://endgame-chess.web.app
- Size: 5.25 MB
- Stars: 16
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: MIT-LICENSE.txt
Awesome Lists containing this project
README
_
___ _ __ __| | __ _ __ _ _ __ ___ ___
/ _ \ '_ \ / _` |/ _` |/ _` | '_ ` _ \ / _ \
| __/ | | | (_| | (_| | (_| | | | | | | __/
\___|_| |_|\__,_|\__, |\__,_|_| |_| |_|\___|
|___/A WebRTC-enabled 3D chess game. [endgame-chess.web.app](https://endgame-chess.web.app/)
## Intro
endgame is a simple online 3D chess game. Load the page, share the link,
connect up and play chess!endgame began as an entry for Static Showdown 2015, and has slowly crystallized
into existence from that point on. The goal was to build an interesting way of
playing chess with remote friends or family, while using it as an excuse to
learn about
[WebRTC](https://developer.mozilla.org/en-US/docs/Web/Guide/API/WebRTC) and
[WebGL](https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API).## Development
Get the code and install the Node packages. See package.json for the version of node required.
git clone https://github.com/voithos/endgame.git
cd endgame
npm installThen just run `gulp` to build and serve the app locally!
### Deployment
For deployment, there are a set of `dist` gulp tasks that can be used to
isolate, concatenate, and minify endgame's source.- `gulp dist` will build and minify a distributable set of files for endgame,
under the `dist` directory
- `gulp dist-serve` will launch a local web serve for the minified source
- `gulp dist-clean` will clean and remove the `dist` filesendgame was made to be hosted on Firebase. See their docs for directions on how
to set up Firebase hosting and DB. To use a custom Firebase DB, modify the
`FIREBASE_CONFIG` constant in `src/config.js`.After configuring Firebase, simply run `gulp dist` to generate the
distributable and then `firebase deploy` to deploy to hosting.## Attribution
This project wouldn't be possible without the generosity of open source
creators and contributors. See `ATTRIBUTION.md` for a list of the libraries,
tools, and assets used.