Durengo / Omni-Grid

Final project for Software Engineering and Software Testing courses made by students from Vilniaus Kolegija / University of Applied Sciences at the Faculty of Electronics and Informatics.
MIT License
0 stars 1 forks source link

GUI incorrectly draws the grid for Connect Four #30

Closed LastWeekNextDay closed 11 months ago

LastWeekNextDay commented 11 months ago

GUI Grid draw for Connect Four is flawed.

When drawing the Grid there are several problems: 7th column is drawn despite there not being a 7th column The line on the bottom most row is not drawn.

DrawGrid() needs to be checked at.

LastWeekNextDay commented 11 months ago

OK. I figured out the problem. I redid the grid drawing and getting the cell from mouse by changing occurences of gridSize with row counts and column counts, since gridSize is only ever useful if the number of rows and columns is the same.

LastWeekNextDay commented 11 months ago

Fixed.