Ask Question
21 June, 04:58

Design a method for representing the state of a tic-tac-toe board in computer memory. can you fit your representation into three bytes?

+2
Answers (1)
  1. 21 June, 06:43
    0
    The combination of Xs, Os, and blanks will approximately be somewhere between 2048 and about 4048. The combination’s total is 19, 683, but since the Xs and Os number will always be equal or off by 1, many cases are eliminated. Thus, the board is represented in 11 or 12 bits.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Design a method for representing the state of a tic-tac-toe board in computer memory. can you fit your representation into three bytes? ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers