Database Implemented

This commit is contained in:
Noah
2021-11-30 22:55:28 +01:00
parent 2164e372b3
commit 6757f1f136
9 changed files with 1349 additions and 2 deletions
+24 -2
View File
@@ -1,6 +1,7 @@
package main;
import data.database.DataBase;
import game.Control;
public class Main {
@@ -12,8 +13,29 @@ public class Main {
public static void main(String[] args) {
Control control = new Control();
control.start();
// Control control = new Control();
// control.start();
DataBase dataBase = new DataBase();
dataBase.deleteTables();
dataBase.createTables();
// boolean[][] cells = new boolean[44][66];
//
// for (int x = 0; x < 6; x++) {
// for (int y = 0; y < 6; y++) {
// cells[x][y] = false;
// }
// }
//
//
// cells[3][3] = true;
//
// dataBase.saveGrid(cells, "whoa", 88);
//
// System.out.println(dataBase.getAllGrids());
}