TU-CSCI2322-FL22 / solver-the-connectors

solver-the-connectors created by GitHub Classroom
0 stars 0 forks source link

For full credit, this should return a Maybe Board instead of throwing an error. #7

Closed sfogarty closed 1 year ago

sfogarty commented 1 year ago

https://github.com/TU-CSCI2322-FL22/solver-the-connectors/blob/ec3768dbb3f7b8de3314ef33076437f4b7b7cd66/ConnectFour.hs#L82

sfogarty commented 1 year ago

As a note: you should probably have a function that JUST return the Maybe Board. However, MOST of the time in Milestone 2 and 3, you will be making a move and then calling checkWinner. So having a more-efficient-combined function is not a bad idea.