Skip to content

Commit 23c978b

Browse files
Update README.md
1 parent 952de17 commit 23c978b

1 file changed

Lines changed: 16 additions & 2 deletions

File tree

README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ CREATE TABLE MoveHistory (...);
4848

4949
---
5050

51-
51+
5252
## ✅ 5. JDBC Implementation (3 Marks)
5353

5454
We've successfully implemented JDBC to enable interaction between our Java Chess game and a MySQL database.
@@ -75,4 +75,18 @@ public class DatabaseConnection {
7575
return DriverManager.getConnection(URL, USER, PASSWORD);
7676
}
7777
}
78-
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

Comments
 (0)