YehorFeshchenko / renju-game

0 stars 0 forks source link

board size #4

Open IanaKhitsko opened 4 months ago

IanaKhitsko commented 4 months ago

https://github.com/YehorFeshchenko/renju-game/blob/8cb6f1dd25e63c998f3f445ef1cc800a3e0572af/main.go#L18C17-L18C22

what if the actual board size here is less than in the input file?

YehorFeshchenko commented 4 months ago

Board size is set as a constant variable as per task's description. However, I added validation of test cases, so the application will recognise invalid boards.

This issue is addressed with changes in this MR: https://github.com/YehorFeshchenko/renju-game/pull/6