Skip to content
Projets

À propos

Web game, hybrid of Mastermind and the Android pattern lock

Jeux et émulation

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
0
in 15 days
+2
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

BreakLock

Bring me to the game!

Silly HTML5 game, mobile first. BreakLock is a hybrid of Mastermind and the Android pattern lock. A game you're gonna love to hate.


Translation and l10n system implemented by @HKalbasi

Hopefully this game (codebase included) will drive you mad.

The goal of this project was to discover progressive Web apps with service workers, and play with Webpack. Also to entertain because the tube is quite boring, especially on the Central line on peak time.

If you like this game, you must convince 3 people to like it, who will have to convince 3 other people... and this project will turn into the first OSS sect. Also, if you hate it, you must convince 3 people to hate it, who will have to convince 3 other people...

As long as GitHub provide these sweet gh-pages, this project will be under MIT, without ads, free.

If you're curious about pattern combinations, run ./lab/bruteCalc.js.

Contribute

Contributions are welcome, especially pull-requests. There are a lot of ideas to implement, but less people when it comes to code. This is why issues are for bugs only.

Feel free to translate this game in your language by adding a translation in src/l10n/.

Translation

  • Copy src/l10n/en.yml and paste it as yl.yml (yl stand for your locale).
  • Translate content
  • Add your locale in this files:
    • index.html
    • src/controllers/langselector/langselector.ctrl.js
  • Open a pull request.

Build

# Install packages
npm install

# Build it
npm run build

# Test it locally
# 1. Create a symlink called 'breaklock' pointing to 'public'
ln -s public breaklock

# 2. Run a local server
python3 -m http.server .     # For python3
python -m SimpleHTTPServer . # For python2
http-server -p 8000 .        # For NPM pkg http-server

# 3. Go to http://127.0.0.1:8000/breaklock/

Explorer des projets similaires

Chargement…