subject

Write a program to play the game of Cuatro, an invented close cousin of Tic-Tac-Toe and Quarto. This is a two-player game unlike Tic-Tac-Toe in that you don't have "your" pieces and "their" pieces, but rather the winner is the one who on their move is first to complete a configuration of 4 pieces of the same type, drawing upon all the pieces remaining to play. Once placed on the board pieces cannot be moved. Running the game with this user input: C 6 O1 D2 z 17 z 1 z 8 O 16 O 5 c 11 looks like the following:

Welcome to the game of Cuatro, where you try to complete a set
of four pieces that are alike. Players take turns making moves.
On each move your OPPONENT chooses the piece, then YOU get to
place it on the board. If you create a set of four alike when
you place your piece, then you win!

A set of four alike can be completed by using four all upper (or all
lower) case characters, four all vowels (or all consonants), or four
all curved (or all straight-lined). Curved letters are 'O' and 'C'
(upper or lower), and straight-line letters are 'I' and 'Z' (upper or
lower). Groups of four can be created in a row, column, diagonal, or
corner quadrant.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 02:00
What is the largest decimal number that can be represented by a binary number with 4 place values? (remember, each place in a binary number has a value of a power of 2, starting in the ones place with 20.)
Answers: 3
question
Computers and Technology, 23.06.2019 20:30
What are some settings you can control when formatting columns?
Answers: 1
question
Computers and Technology, 24.06.2019 01:30
How can you make your column headings stand out?
Answers: 1
question
Computers and Technology, 24.06.2019 07:20
3pointsyou've found an image you want to insert into your slide presentation. youwant to make the image look more gray so that it looks like an older imagewhat would you need to adjust? 0.00o a. sizeo b. hueo c. contrasto d. tones
Answers: 2
You know the right answer?
Write a program to play the game of Cuatro, an invented close cousin of Tic-Tac-Toe and Quarto. This...
Questions
question
Mathematics, 01.07.2020 15:01
question
Mathematics, 01.07.2020 15:01
question
Mathematics, 01.07.2020 15:01