Git Product home page Git Product logo

dodgeball-game's Introduction

README

What is this repository for?

Student project: Utilization of NodeJS and WebSockets for a cross device game. The Game: https://www.youtube.com/watch?v=TVqBVEjtVl4&feature=youtu.be Usually, a computer initiate the game and will play the field role (players will watch this screen during the game). Each player will connect their smartphone/tablet to the game (used like joystick). Two teams, one team throw the ball, the other dodge it and the role alternate.

How do I get set up?

You will need node.js

First, config.js sould be changed. You can keep the same Websocket port and server port. Change the ip adress with the ip adress of the device who launch the server (ipconfig give this IP.

In your node.js command window, go to the folder which have the file server.js, then write : $ node serveur.js

Connect your other devices on the same network that the server, enter in your web browser the URL : x.x.x.x:8080 where "x.x.x.x" is the ip adress you fill in config.js.

Create a game ("Créer une partie") with one device (the larger screen is better) et join the game ("Rejoindre la partie") with the others. Start the game ("Commencez la partie") and enjoy.

Contribution guidelines

Creators: Victor AMBONATI, Alexandre VIDAL

Who do I talk to?

Whoever wanting to see our project.

dodgeball-game's People

Contributors

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