• Stars
    star
    288
  • Rank 143,818 (Top 3 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 7 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Web game, hybrid of Mastermind and the Android pattern lock

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

# 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/

More Repositories

1

vivus

JavaScript library to make drawing animation on SVG
JavaScript
14,931
star
2

minimator

Minimalist graphical editor
TypeScript
343
star
3

vivus-instant

Single page app to create independent stroke animated SVGs
JavaScript
307
star
4

triangulart

Dummy graphic editor to make isometric illustrations
JavaScript
138
star
5

triangulr

JavaScript class to generate maps of triangles
HTML
71
star
6

hexabeat

A music sequencer using commits
TypeScript
44
star
7

ghoster

Remove the white color from an image to make it transparent
JavaScript
34
star
8

tetrispad

Use the Novation Launchpad to play Tetris
JavaScript
28
star
9

wallery

Generate a map from a list of displayable elements
JavaScript
21
star
10

commitbeat

Generate small sequence of music from commit SHA
JavaScript
13
star
11

life-in-the-uk

HTML
12
star
12

palette

Angular app to generate color palettes
JavaScript
8
star
13

graxel

HTML
8
star
14

es6-quiz-slides

ECMA Script 6 quiz built with reveal.js
CSS
6
star
15

flipbits

The best random powered AI to take decisions
JavaScript
5
star
16

drafts

A place to put some drafts and examples
JavaScript
4
star
17

zapper

Injectable script to kill popup and banners
JavaScript
4
star
18

chromecast-canal-plus

JavaScript injection to cast videos from canalplus.fr
JavaScript
3
star
19

shuntr

Chrome extension boilerplate to define redirection rules
JavaScript
3
star
20

weluvarte

JavaScript injection to get video file links from arte.tv
JavaScript
2
star
21

tilt

A trolling attempt to change tech habits
HTML
2
star
22

a-playground

Personal A-Frame playground
JavaScript
2
star
23

me-from-the-past

PWA to send message to your future yourself [experimental]
JavaScript
1
star
24

liwe-talk

Liwe introduction at LNUG (23rd June 2015)
1
star