vault backup: 2024-10-01 14:27:35

This commit is contained in:
2024-10-01 14:27:35 -05:00
parent 6113e339ae
commit fb1a550e67

View File

@@ -33,6 +33,7 @@ Issues:
1. Reaching into the `Board` class to set cell properties directly in the `BoardGame` field instead of letting the `Board` class own manipulating the `BoardGame` 1. Reaching into the `Board` class to set cell properties directly in the `BoardGame` field instead of letting the `Board` class own manipulating the `BoardGame`
2. Mixed logic of revealing the cell with "SearchNeighbors" method logic 2. Mixed logic of revealing the cell with "SearchNeighbors" method logic
3. Somewhat spaghetti logic 3. Somewhat spaghetti logic
4. Quite a few hard-coded numbers when they could be easily calculated
Notes: Notes:
1. Using `Random` to fill 10 mines into the board, knows basics of `Random` API. 1. Using `Random` to fill 10 mines into the board, knows basics of `Random` API.