We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 952de17 commit 23c978bCopy full SHA for 23c978b
1 file changed
README.md
@@ -48,7 +48,7 @@ CREATE TABLE MoveHistory (...);
48
49
---
50
51
-
+
52
## ✅ 5. JDBC Implementation (3 Marks)
53
54
We've successfully implemented JDBC to enable interaction between our Java Chess game and a MySQL database.
@@ -75,4 +75,18 @@ public class DatabaseConnection {
75
return DriverManager.getConnection(URL, USER, PASSWORD);
76
}
77
78
+```
79
80
+---
81
82
+## ✅ 6. Create Model & DAO (3 Marks)
83
+To manage database interactions cleanly and efficiently, we implemented:
84
85
+🧩 MoveRecord.java (Model)
86
+This class represents a single record of a chess move. It includes:
87
88
+moveNumber – The sequential number of the move.
89
90
+whiteMove – Move made by the White player.
91
92
+blackMove – Move made by the Black player.
0 commit comments