GithubHelp home page GithubHelp logo

music-game's Introduction

UV5 Music Game
==============

Description
-----------

This is a music game developed by Telecom Bretagne students in F2B UV506. The goal is to guess the title and the artist of a music before the other players.

This project uses a Node.js web application using Socket.io and a control point (for the connected objects) using the UPnP protocol.


Run the game
------------

Install node.

In the `WebApp` folder, run :

    npm install

This will install the npm dependencies for the web application.

Then, to run the server of the web application, simply run :

    node server.js

Create a new Eclipse project and add the 2 source files from `ControlPoint`. Add the external libraries found in this archive http://public.enst-bretagne.fr/~irebai/UPnP/Cyberlink/lib/xerces2-9.rar. Run the `MyControlPoint.java`.

Run the upnp-sample-light device from Cybergarage.

Try it
------

 - List of players

In a browser, go to http://localhost:8080/. In other instances of web browser, go to http://localhost:8080/player, fill in the username and click on "Rejoindre la partie". You should see the list of players' name on the main page.

 - Buzz

Once a player joined the game, you can click on "Commencer le jeu". If a player push the buzzer, a dialog opens with the name of the player.

 - Control a device

Then, by clicking on the red button the light should turn on!

music-game's People

Contributors

chloebrz avatar jianfeipan avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.