Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ public TileConfiguration(String level) {

snakeConfig.put(49, 31);
snakeConfig.put(58, 24);
snakeConfig.put(88, 45);
snakeConfig.put(82, 78);
// No move back, skip turn, or switch places for easy
skipTurns = new int[] {};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ private void movePlayerToken(String playerName, int position) {
int offsetX = playerIndex * 4 - 1;
int offsetY = playerIndex * 6 - 5;
token.setTranslateX(boardImageOffsetX + coordinates[0] + offsetX - 7);
token.setTranslateY(boardImageOffsetY + coordinates[1] + offsetY - 88);
token.setTranslateY(boardImageOffsetY + coordinates[1] + offsetY - 92);
}

/**
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,8 @@ void easyLevel_ShouldHaveCorrectLadderConfiguration() {
void easyLevel_ShouldHaveCorrectSnakeConfiguration() {
// Test a few key snakes in easy configuration
assertTrue(easyTileConfig.isSnakeHead(49));
assertTrue(easyTileConfig.isSnakeHead(88));

assertEquals(31, easyTileConfig.getSnakeTail(49));
assertEquals(45, easyTileConfig.getSnakeTail(88));
}

@Test
Expand Down