iteratec / sphero-rallye-client

Javascript client to play the rallye with one Sphero.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sphero-rallye-client

Javascript client to play the rallye with one Sphero. The corresponding game server can be found here.

screenshot

Usage

The communication between game server and client works via the MQTT protocol. The MQTT server needs to listen on TCP and websockets. Therefore a very simple MQTT configuration is provided: mosquitto.conf. Start the MQT server:

mosquitto -c mosquitto.conf

In index.js the host and port of the MQTT server are configured.

Start the node.js web server with the following command:

npm start

About

Javascript client to play the rallye with one Sphero.

License:Apache License 2.0


Languages

Language:JavaScript 48.2%Language:HTML 26.6%Language:CSS 25.2%