diff --git a/src/Console/Console.html b/src/Console/Console.html deleted file mode 100644 index 9ba88b8..0000000 --- a/src/Console/Console.html +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - Console - - - -

Console - test

- -
- -
- - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/algo.js b/src/algo.js index c4e8740..c3da01b 100644 --- a/src/algo.js +++ b/src/algo.js @@ -1,62 +1,10 @@ -// Pseudo code -// -/* - * function checkReslt(array ) - * { - * new array> matrice = vide - * - * forEach(array: value) - * { - * matrice.add(value.getAttrib) - * } - * Check all length of matrice - * for(i = 0; i tab - * for (j=0; j { attributesMatrix.push(element.getAttributes()); }); @@ -110,3 +58,72 @@ function checkAttributes(attributes){ }); return boolLoop === true; } + +// The digit refere to the number of cards required to make a set +// +function numberOfSets3(deck){ + let res = 0 + for(i=0;i