Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/misterhat/coke-music-client
client for coke-music recreation
https://github.com/misterhat/coke-music-client
Last synced: 1 day ago
JSON representation
client for coke-music recreation
- Host: GitHub
- URL: https://github.com/misterhat/coke-music-client
- Owner: misterhat
- License: agpl-3.0
- Created: 2021-10-05T13:12:38.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2021-11-25T20:54:38.000Z (almost 3 years ago)
- Last Synced: 2024-10-20T12:46:24.486Z (18 days ago)
- Language: JavaScript
- Homepage:
- Size: 5.26 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# coke-music-client
client for [Coke Music/MyCoke](https://en.wikipedia.org/wiki/MyCoke) recreation,
for use with
[coke-music-server](https://github.com/misterhat/coke-music-server).uses assets from https://github.com/frostover/cokemusic.
## install
$ git clone https://github.com/misterhat/coke-music-client
$ cd coke-music-client
$ npm install
$ npm run build-dev # or build for production
$ npm start # or host the contents of dist/## usage
```javascript
const Game = require('coke-music-client');(async () => {
const game = new Game(document.getElementById('coke-music-container'), {
server: 'websocket server ip', // defaults to localhost
port: 43594, // websocket port
ssl: false // use wss://
});await game.start();
})();
```## license
Copyright 2021 Zorian MedwidThis program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your option)
any later version.This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.You should have received a copy of the GNU Affero General Public License along
with this program. If not, see http://www.gnu.org/licenses/.