TU-CSCI2322-FL22 / solver-connect-three

solver-connect-three created by GitHub Classroom
0 stars 0 forks source link

need a `validMoves :: MacroGame -> [Move]` function #19

Closed sfogarty closed 1 year ago

sfogarty commented 1 year ago

https://github.com/TU-CSCI2322-FL22/solver-connect-three/blob/3b398642bada87d610c043c993389cc52d8ec5ec/Main.hs#L107

You can use checkMove to make it simpler. Alternately, you can do some zipping with indexes and filter for Nothings.