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

Method IncreasePlayerMoves

Population.js:98–102  ·  view source on GitHub ↗
(increaseBy)

Source from the content-addressed store, hash-verified

96 }
97
98 IncreasePlayerMoves(increaseBy) {
99 for (let i = 0; i < this.players.length; i++) {
100 this.players[i].brain.increaseMoves(increaseBy);
101 }
102 }
103
104 AllPlayersFinished() {
105 for (let i = 0; i < this.players.length; i++) {

Callers 2

drawFunction · 0.80
drawFunction · 0.80

Calls 1

increaseMovesMethod · 0.80

Tested by

no test coverage detected