This is the 1st place solution to Pixels Camp 2020's Quizshow Challenge #3. The challenge was creating an implementation of the Beaufort Cipher, in JavaScript, using as few bytes as possible. The final submission is in the main.js file.
correct.js
has the first correct submission for the challenge, which was used
to test locally against following submissions. reciprocal_test.js
contains the
code to generate a suite of randomized tests, comparing the output of the
function defined in main.js
against the function defined in correct.js
. The
tests can be run with:
$ npm run test
The code in main.js
can be minified (to out.js
) using Google's Closure
Compiler with:
$ npm run minify