Ask Question
20 July, 06:49

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

+3
Answers (1)
  1. 20 July, 09:05
    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?
Find 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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers