TU-CSCI2322-FL22 / solver-connect-three

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

Are you playing ultimate tic-tac-toe or supreme tic-tac-toe? #18

Closed sfogarty closed 1 year ago

sfogarty commented 1 year ago

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

If you want to enforce "you must play in the microgame corresponding to the location of the previous space IN the microgame" rule, add that space (the second part of the play) to the gamestate. Then, a move is valid if either the first part of the play matches that, OR the game in that space is solved.

pharris-trinity commented 1 year ago

Supreme tic-tac-toe (assuming that's okay) Maaaaaybe we'll turn it into ultimate tic-tac-toe if we have free time...