Giter Club home page Giter Club logo

webhockey-src's Introduction

TinyHockey

B65 - Projet synthèse

Par Félix-Olivier Landry

TinyHockey est un simple jeu web de hockey de style arcade où l'utilisateur contrôle son joueur à partir de son téléphone intelligent.

Mise en place

Utilisateur technique

Pour bien configurer l'environnement dans lequel le serveur Node s'executera, il faut s'assurer en premier lieu d'avoir Node et npm d'installé. Ensuite, après avoir cloné le projet, il faut installer les dépendences du jeu en ouvrant une console dans le fichier racine (où se situe le fichier server.js) et executer la commande:

npm install

Quand l'installation est terminée, il ne reste qu'a partir le serveur en executant la ligne de commande suivante au même endroit que tentot:

npm start

Cette commande partira le serveur sur le port 8000 de l'ordinateur et le jeu est prêt!

Utilisateur général

Simplement ouvrir un navigateur web et accéder l'adresse de l'ordinateur sur lequel le serveur s'execute au port 8000. Par exemple, si un ordinateur en réseau local dont l'adresse IP est 192.168.1.3, vous n'avez qu'a écrire http:\\192.168.1.3:8000 pour y acceder.

Sources

Express
Socket.io
Sprites utilisés

Et un gros merci à Frédéric Thériault pour la classe d'animation TiledImage et son créateur de "sprite sheets" normaliés!

webhockey-src's People

Contributors

felix029 avatar

Watchers

 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.