/term-2048

A simple 2048 game in terminal

Primary LanguageJava

term-2048

A simple 2048 game in terminal

I'm not done yet :D

Preview

public void drawBoard() {
    String line= "---------------------------------";
    System.out.println(line);
    for(int x= 0; x<4; x++) {
        for(int y= 0; y<4; y++) {
            System.out.print("|"+board[x][y]+"\t");
        }
        System.out.println("|");
    }
    System.out.println(line);
}