Book to refer: Introduction to Algorithms, 3rd Ed, by Clifford Stein, Thomas H. Cormen, Ronald Rivest, Charles E. Leiserson
Question: Tic Tac Toe game
-Design a GUI and implement Tic Tac Toe game (Java)
–Implement a random move using two methods
•Permute-By-Sorting(A), Page 125 3rd Ed.
•Randomize-In-Place(A), Page 126 3rd Ed.
–You must 1st check to see if a win move is available
–Second your random move must connect two of your pieces if available and allows a potential win
–Third make any random legal move
–In your code comment in your code what the bit shift operation is doing.