A simple "mots mélés" game
Go to file
Shikiryu 9e76b22681 Merge pull request #4 from Chouchen/generator_simple
Finally a working "generator". Well it simplified the process but doesn't "generate" something automatically.
2015-02-21 22:59:53 +01:00
dist Evrything works. Generator is ugly (but who cares?) Grunt and folders modified. 2015-02-21 22:56:45 +01:00
src Evrything works. Generator is ugly (but who cares?) Grunt and folders modified. 2015-02-21 22:56:45 +01:00
vendor better gruntfile, add vendor, add README 2015-01-26 23:44:03 +01:00
Gruntfile.js Evrything works. Generator is ugly (but who cares?) Grunt and folders modified. 2015-02-21 22:56:45 +01:00
README.MD better gruntfile, add vendor, add README 2015-01-26 23:44:03 +01:00
package.json added diagonal word stroke 2015-01-29 00:21:03 +01:00

README.MD

Mots mélés

This game is about words to search in a grid. It first started as a personal side project, but now, I want to give it life.

How it works

Pretty simple. You gave it a grid of letter like this

  	['S','S','S','A','U','B','A','G','N','E'],
  	['E','P','A','A','M','V','E','N','C','E'],
  	['L','U','L','M','I','R','A','M','A','S'],
  	['R','A','O','G','E','X','A','C','O','E'],
  	['A','L','N','E','G','N','A','R','O','R'],
  	['T','O','U','L','O','N','G','L','R','E'],
  	['N','D','S','T','N','U','E','I','E','Y'],
  	['I','N','P','E','E','N','I','L','D','H'],
  	['C','A','S','S','U','J','E','R','F','L'],
  	['E','B','E','L','S','I','S','S','A','C']
  ];```

And a list of words to find like this

> var words = ['AIX','APT','ARLES','AUBAGNE','AUPS','AVIGNON','BANDOL','CANNES','CASSIS','DIGNE','FREJUS','HYERES','LUNEL','MIRAMAS','NICE','ORANGE','SALON','SORGUES','TOULON','VENCE'];

And that should be it. (well, you need 2 other parameters I'm gonna get rid of.

## TODO

### v0.0.2
* diagonal detection (for now, it's only vertical and horizontal words)
* get rid of those 2 useless parameters
* better protection against user

### v0.0.3
* make a user friendly "generator"
** interface where a user can enter a grid and a list of words easily giving an output like the JS one right now

### v0.0.4
* make an automatic generator
** give it a size, it'll fetch words via an API and make the grid with those.