Skip to content

Instantly share code, notes, and snippets.

View jacklehamster's full-sized avatar
🥴
Loco

Vincent Le Quang jacklehamster

🥴
Loco
View GitHub Profile
Test...
I wonder where things end up when I write here.

Keybase proof

I hereby claim:

  • I am jacklehamster on github.
  • I am vlequang (https://keybase.io/vlequang) on keybase.
  • I have a public key ASCKZZIPbrX_31edttvRdk4kijNvUT4YIdJt1VxGxFxWmgo

To claim this, I am signing this object:

@jacklehamster
jacklehamster / Le Compte Est Bon
Created May 16, 2018 04:41
Implementation of a solver for the game Le Compte Est Bon
var nums = new Array(6).fill(null).map(a => (Math.floor(Math.random()*9 + 1) * (Math.random()<.4?10:1)));
var goal = Math.floor(Math.random()*900 + 100);
console.log(`goal = ${goal}`);
console.log(`nums = ${nums}\n`);
const bag = [];
nums.forEach((num, index) => {
bag.push(
{