Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kate - Lion - js-adagrams #44

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Prev Previous commit
passed 15/15
kate-varinda committed Dec 6, 2022
commit 3a1aae5bdade069237055ad1297a916f906c3e93
2 changes: 1 addition & 1 deletion src/adagrams.js
Original file line number Diff line number Diff line change
@@ -37,7 +37,7 @@ export const drawLetters = () => {
letterPool.push(letter);
}
}
console.log(letterPool);

// for (let i = 0; i < 10; i++) {
while (hand.length < 10) {
let randomIndex = parseInt(Math.random() * letterPool.length);