Coder Social home page Coder Social logo

gsl-hockey-game's Introduction

GSL-Hockey-Game

Vanhackaton 4.0 challenge for GSL Group

This is just a proof of concept to show what can be done, but more development would be needed to make a server to serve the current game informations to the Websocket server, and one to register the users on a central database no matter where the user is. Also there is a need to add functionality so that a "Man of the Match" can only be chosen before the last quarter and would automatically be decided by the outcome of the game.

Instructions:

For running under localhost:
1. Deploy the file in dist folder to an Java web container (e.g. Apache Tomcat) on the 8080 port
2. Open http://localhost:8080/HockeyGame/clock.html in a browser window to initialize the representation of the Score Clock and send team and player informations to the server.
3. Open http://localhost:8080/HockeyGame in another browser window to  serve as the representation of what a spectator would open on their cellphone.
4. Put both windows in view at the same time to see the interaction between the clock and the spectator game.
5 Make guesses in the spectator game window and then, on the clock window, click on the buttons to change the score, or choose a name from dropdown list to send notifications of points gained to the players.
Optional: multiple spectator game windows can be opened at the same time.

For running on multiple devices or if another port is used:
* After deploying, change the diplay.js, websocketClock.js and websocketHockey.js files, located in HockeyGame\src\main\webapp\js, service URLs to the IP/domain used to access the server.

gsl-hockey-game's People

Contributors

brazilrules 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.