MCPcopy Create free account
hub / github.com/Code-Bullet/Jump-King / increaseMoves

Method increaseMoves

Brain.js:103–108  ·  view source on GitHub ↗
(increaseMovesBy)

Source from the content-addressed store, hash-verified

101 }
102
103 increaseMoves(increaseMovesBy){
104 for(var i = 0 ; i< increaseMovesBy ;i++){
105 this.instructions.push(this.getRandomAction());
106 }
107
108 }
109
110}

Callers 1

IncreasePlayerMovesMethod · 0.80

Calls 1

getRandomActionMethod · 0.95

Tested by

no test coverage detected