Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
IncreasePlayerMoves
Method · 0.80
Calls
1
getRandomAction
Method · 0.95
Tested by
no test coverage detected