scarrrr316 / breaklock

Web game, hybrid of Mastermind and the Android pattern lock

Home Page:https://maxwellito.github.io/breaklock/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 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 the discover progressive Web apps with service workers, and play with Webpack. Also to entertain because the tube is quite boring, especially 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 come 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/controller/langselector/langselector.ctrl.js
  • Open a pull request.

Build

# Install packages
npm install

# Build it
npm run build

About

Web game, hybrid of Mastermind and the Android pattern lock

https://maxwellito.github.io/breaklock/

License:MIT License


Languages

Language:JavaScript 78.0%Language:SCSS 12.4%Language:HTML 9.6%