MCPcopy Create free account
hub / github.com/codemistic/Web-Development / nextSequence

Function nextSequence

Simon Game Challenge/game.js:7–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5
6
7function nextSequence(){
8 var randomNumber = Math.floor(Math.random()*4);
9 var randomChosenColour = buttonColours[randomNumber];
10 gamePattern.push(randomChosenColour);
11}
12alert(randomChosenColour);
13
14$("button").on("click",function(){$("button").animate({ $('p')fadeIn();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected