Code Breaker

a b c d e f
a b c d e f g h i j

  • abcd

    perfect 0
    imperfect 0

Options

Close
Code size
Language selection
Ok

Choose test environment

Close

About

Close

Code Breaker is derived from a game called Bulls and Cows of unknown origin. It's game principle is public domain. There are commercial versions of Bulls and Cows from other parties using different names or trademarks being published and being available as well. Code Breaker is MIT licensed and just uses the public domain principle of the game Bulls and Cows. It comes bundled with third party software libraries using free software licensing.

Rules

The rules of Code Breaker are as follows.

  • Iteratively a guess is stated to be compared towards a secret four digit code with six possible values per digit (letters from a to f).
  • Objective is to match the secret code perfectly.
  • On each guess a result indicates the amount of perfect matches and imperfect matches represented as numerical values.
    • Perfect matches indicate that a digit is included in the secret and is placed at correct position within the guess.
    • Imperfect matches indicate that a digit is included in the secret but the position is still incorrect.
  • Thus the secret code is found if four perfect matches and no imperfect match are indicated on a check.
  • Digit values may occur multiple times. No digit of the guess will count multiple times in the indicated result. Indicating perfect matches over imperfect ones is prioritized. Previous check results are kept visible in a log to use for analysis.
Ok

Legal

Close

License for Code Breaker

Oliver Merkel

Oliver Merkel, own work, Copyright (c) 2016
Creative Commons License
This image is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.

Copyright Notice

Copyright 2016, Oliver Merkel, Merkel(dot) Oliver(at) web(dot)de

Code Breaker

Contributors:

Logos, brands, and trademarks belong to their respective owners.


The MIT License (MIT)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Third Party Code Licenses

Code Breaker uses independent libraries provided by third parties. Since their licenses might vary the corresponding information is externally linked below. Thus these external links will enable you to reproduce any copyright notice, any related list of conditions, disclaimers, and especially the copyright holders and authors of the corresponding third party functionality.

Jasmine: MIT QUnit: MIT jQuery: MIT jQuery Mobile: MIT
Ok