Question: While game instructions can be thought of as an algorithm, they are not necessarily stated as formally as algorithms that need to be executed by

While game instructions can be thought of as an algorithm, they are not necessarily stated as formally as algorithms that need to be executed by a machine because the intended computer for a tabletop game is the human. We need to get game instructions to be more precise and more formally stated in a way that is closer to what a machine might understand. Since an algorithm uses representations, we should begin by identifying what in the game needs to be represented in the algorithm. First, pick between Connect Four or SET as the game to analyze. Review the instructions for Connect Four or SET, and list all input and output in the game. Input can be given at the beginning of the game, such as the number of players, or input can be given during game play, such as where to move/ place a game piece. After listing all the input and output, provide the names you want to use to represent the input and output. These names are the variables in your algorithm that refer to the input and output. For example, we might name the number of players in our algorithm numPlayers. Input: Output: Names for each input and output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
