Hello why this code cant go through last step in validation (Last is: All tiles must be painted the same color)?
Game.java:
package com.codegym.games.game2048;
import com.codegym.engine.cell.*;
public class Game {
public void initialize() {
}
public void setScreenSize(int width, int height){
}
public void setCellColor(int x, int y, Color color) {
}
public static void main(String[] args) {
}
}
Game2048.java:
package com.codegym.games.game2048;
import com.codegym.engine.cell.*;
public class Game2048 extends Game {
public static final int SIDE = 4;
private int[][] gameField = new int[SIDE][SIDE];
@Override
public void initialize(){
setScreenSize(SIDE, SIDE);
createGame();
drawScene();
}
public void createGame(){
}
private void drawScene(){
for(int x = 0; x < SIDE; x++){
for(int y = 0; y < SIDE; y++){
setCellColor(x, y, Color.BLUE);
}
}
}
}