MCPcopy Create free account
hub / github.com/SuperSimpleDev/javascript-course / 12w.js

File 12w.js

1-exercise-solutions/lesson-12/12w.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// See 12r.js for the full code.
2document.body.addEventListener('keydown', (event) => {
3 if (event.key === 'r') {
4 playGame('rock');

Callers

nothing calls this directly

Calls 3

playGameFunction · 0.70
autoPlayFunction · 0.70
resetScoreFunction · 0.70

Tested by

no test coverage detected