Skip to content

Commit

Permalink
Merge pull request harmony-one#14 from alajko/levelGen
Browse files Browse the repository at this point in the history
remove possibility of -1
  • Loading branch information
alajko authored May 1, 2019
2 parents 83a270c + 93c75af commit ec6f61d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minh_port_puzzle/src/level-generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export function levels() {
difficulty = getDifficulty(i)
var minMoves = difficulty*3
var maxMoves = difficulty*4
var parity = i
var parity = i + 3
var moves = randRange(minMoves, maxMoves);
var levelDict = {}
// Create the end of the level
Expand Down

0 comments on commit ec6f61d

Please sign in to comment.