MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / Coin_Toss.js

File Coin_Toss.js

assets/js/Coin_Toss.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1//grab selection of head or tail
2const buttons = document.querySelectorAll('button');
3//set values for heads and tails
4let heads = 1;

Callers

nothing calls this directly

Calls 3

displaySelectionsFunction · 0.85
displayRandomFunction · 0.85
tallyScoreFunction · 0.85

Tested by

no test coverage detected