Coder Social home page Coder Social logo

mots's People

Contributors

benvigie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

mots's Issues

cannot open the application on mac os

cannot open the application with below traces

Express server listening on port 2121

[GRIDMANAGER] Try to load http://www.rci-jeux.com/ope/metro/mfleches/data/mfl1248.mfl
[GRIDMANAGER] Grid downloaded, start parsing...

[GRIDMANAGER] Unknow grid tag []

[GRIDMANAGER] Parsing Done. Now play Metro 1248 - Level 1

GET / 200 231ms - 1.69kb
GET / 200 19ms - 1.69kb
GET /stylesheets/mfl.css 200 5ms - 14.26kb
GET / 200 24ms - 1.69kb
GET /fonts/icomoon/icomoon.woff?-1ef6fq 200 26ms - 1.75kb
GET /javascripts/lib/require.min.js 200 1ms - 14.85kb
GET /images/grey-bg.png 200 1ms - 177.06kb
GET /fonts/abeezee/abeezee-italic-webfont.woff 200 1ms - 28.43kb
GET /images/favicon.ico 200 5ms - 14.73kb
GET /stylesheets/mfl.css 200 2ms - 14.26kb
GET /javascripts/lib/require.min.js 200 1ms - 14.85kb
GET /images/grey.png 200 1ms - 134.5kb
GET /fonts/abeezee/abeezee-regular-webfont.woff 200 2ms - 25.26kb
GET /images/green-bg.png 200 9ms - 209.54kb
GET /fonts/abeezee/abeezee-italic-webfont.woff 200 1ms - 28.43kb
GET /fonts/icomoon/icomoon.woff?-1ef6fq 200 2ms - 1.75kb
GET /fonts/abeezee/abeezee-regular-webfont.woff 200 6ms - 25.26kb
GET /images/grey-bg.png 200 8ms - 177.06kb
GET /images/grey.png 200 3ms - 134.5kb
GET /javascripts/game/mflEngine.js 200 4ms - 7.27kb
GET /images/pink-bg.png 200 7ms - 228.45kb
GET /javascripts/game/chat.js 200 0ms - 2.44kb
GET /images/green-bg.png 200 8ms - 209.54kb
GET /javascripts/lib/text.js 200 3ms - 15.1kb
GET /javascripts/game/grid.js 200 3ms - 9.27kb
GET /javascripts/game/UITools.js 200 4ms - 7.78kb
GET /javascripts/game/score.js 200 0ms - 3.64kb
GET /conf.json 200 1ms - 339b
GET /javascripts/game/cursor.js 200 1ms - 6.39kb
GET /images/favicon.ico 304 1ms
GET /stylesheets/mfl.css 304 1ms
GET /javascripts/lib/require.min.js 304 0ms
GET /images/green-bg.png 304 0ms
GET /fonts/icomoon/icomoon.woff?-1ef6fq 304 3ms
GET /javascripts/game/mflEngine.js 304 1ms
GET /images/grey.png 304 1ms
GET /fonts/abeezee/abeezee-regular-webfont.woff 304 1ms
GET /images/pink-bg.png 304 0ms
GET /fonts/abeezee/abeezee-italic-webfont.woff 304 1ms
GET /images/grey-bg.png 304 1ms
GET /javascripts/lib/text.js 304 5ms
GET /javascripts/game/score.js 304 4ms
GET /javascripts/game/grid.js 304 3ms
GET /javascripts/game/UITools.js 304 1ms
GET /javascripts/game/chat.js 304 0ms
GET /conf.json 304 1ms
GET /javascripts/game/cursor.js 304 1ms

Handle grid tag "u"

On some grid, the tag "u" is unknow. As result, the parsing stop and the grid cannot be played.

Adding timer before launch the game !

Server side


  • Sending time to wait before start

Client side


  • Receive the grid but do nothing, just wait
  • Use the game div to display timer
  • At the end of the timer, display grid and start game !

Reveal word animation

Client side


When a word is found, reveal each new letters with an elegant rotate animation !

Add another game mode

For easy game (level 1), it would be great to challenge other players on the whole grid.

Each players have to fill the whole grid. You cannot see your opponent words and letter, just their accomplishment rate.

The first player who fill the grid win the game.

Test the client in other browsers

Client side


The game was developed with Chrome.

  • Test with Firefox
  • Test with older versions of these browsers

No support for IE or other so far.

Problème d'affichage via internet

Bonjour,

Tout d'abord merci pour l'appli, ça correspondrait tout à fait à mes besoins. =)

J'ai réussi à installé l'appli avec nodejs/npm sur mon pc windows et sur un raspberry. J'arrive à me connecter et à jouer en utilisant l'adresse de mon réseau local, sans problème (type 192.168.1.10:2121). Et ce dans les deux cas (pc et rasp).

Cependant je n'arrive pas à charger la page quand j'essaie d’accéder au serveur de l'extérieur. (via mon téléphone, en utilisant l'adresse ip).

J'ai essayé avec mon adresse ip (pas la local) avec le port 2121, et avec le port 80 en ayant fait une redirection de port.

La console m'indique bien que les deux premiers fichiers js sont envoyés, mais ça s'arrête là la plupart du temps.

GET / 200 37ms - 1.68kb GET /stylesheets/mfl.css 200 3ms - 14.98kb GET /javascripts/lib/require.min.js 200 4ms - 14.89kb

Certaines fois les suivants sont chargés (sans action particulière de ma part)

GET /fonts/icomoon/icomoon.woff?-1ef6fq 200 5ms - 1.75kb GET /fonts/abeezee/abeezee-regular-webfont.woff 200 5ms - 25.26kb GET /fonts/abeezee/abeezee-italic-webfont.woff 200 4ms - 28.43kb GET /javascripts/game/mflEngine.js 200 2ms - 7.49kb GET /images/grey-bg.png 200 98ms - 177.06kb GET /images/grey.png 200 105ms - 134.5kb GET /images/green-bg.png 200 146ms - 209.54kb GET /javascripts/lib/text.js 200 1ms - 15.48kb GET /javascripts/game/UITools.js 200 1ms - 8.01kb GET /javascripts/game/grid.js 200 1ms - 9.58kb GET /javascripts/game/chat.js 200 3ms - 2.52kb GET /javascripts/game/score.js 200 3ms - 3.74kb GET /images/pink-bg.png 200 149ms - 228.45kb GET /conf.json 200 1ms - 65b GET /javascripts/game/cursor.js 200 1ms - 6.62kb GET /images/favicon.ico 200 1ms - 14.73kb

Je n'arrive jamais à l'étape d'handshake (qui a bien lieu quand j’accède en local)

info: handshake authorized xurK5SDIwjEJXyW-OyA0 New player connected. There is currently 1 player(s)

J'ai essayé également de rediriger le port 1337 parce que c'est indiqué au départ que le serveur attend des joueurs via ce port, mais ça n'a pas fonctionner (j'observe bien du trafic sur ce port quand je teste en local et que ça fonctionne).

J'avoue avoir des connaissances limitées sur la manière de connecter un serveur à internet, j'ai peut être oublié de faire quelque chose.

Est-ce que vous avez une idée de ce qui peut bloqué ? Quelles sont les choses à faire pour pouvoir accéder au serveur via internet ?

Merci par avance,

Florian

Localisation des grilles du Metro (Erreur 404) --> changement vers 20 minutes ?

Bonjour,

Il semblerait que les grilles ne soient plus au même endroit.

Erreur dans les logs :


Game started and waiting for players on port 1337
Express server listening on port 2121
	[ERROR]: Cannot retreive grid...
	[ERROR]: Wrong statusCode 404
[ERROR] Cannot retreive grid. Abort server.

[GRIDMANAGER] Try to load http://www.rci-jeux.com/ope/metro/mfleches/data/mfl2313.mfl

Pouvez vous remplacer la localisation des grilles ?

Par exemple pour 20 minutes : http://rcijeux.fr/drupal_game/20minutes/grids/180517.mfj

Merci d'avance.

Cdt.

Adding sounds ?

Client side


  • Adding sound when a word is revealed
  • Adding sound on bonus
  • Adding sound on new chat message
  • Adding music on game over

When a game is started, a new player can join

Server side


The server has to know if a game is started or not. If it is, the server has to ignore new connections.

Client side


Display a message when the game is full or already started

Adding new chat commands

It would be cool to switch to another grid without restart the server, just by passing in chat the grid id

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.