You and the computer will alternate turns. You can decide whether you want to play first or second. On your turn, you have to move a red rook as many squares to the right as you want.The computer on its turn will move a black rook as many squares to the left as it wants. Rooks cannot jump over each other, and capturing the opponent's rook is not allowed. You win if the computer cannot make a valid move on its turn. You lose if you cannot make a valid move on your turn. Play and try to win against the computer.

Coded By: Pranjal and Nikita