START 1 2 3 Move back 2 spaces 5 Go to Start 7 FINISH A player starts at the space marked start. A coin is flipped for each move. If it comes up heads, the player moves ahead two spaces. If it comes up tails, the player moves ahead one space. If a player lands on space 4, they immediately move back two spaces to space 2. If a player lands on square 6, they immediately move back to the start. A player on space 7 must flip a tail to move to the finish space. If they flip a head, they remain where they are. Once a player moves into the finish space, the player remains in that space indefinitely.

Operations Research : Applications and Algorithms
4th Edition
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Wayne L. Winston
Chapter19: Probabilistic Dynamic Programming
Section19.4: Further Examples Of Probabilistic Dynamic Programming Formulations
Problem 7P
icon
Related questions
icon
Concept explainers
Question

A board game has the following layout

(see image) 

a) draw a finite state machine diagram representing the playing of this game for one player. For input, use '1' for heads and '0' for tails. There is no output.

b) Construct the corresponding truth table. 

START
1
2
3
Move back
2 spaces
5
Go to
Start
7
FINISH
A player starts at the space marked start. A coin is flipped for each move. If it comes up heads, the
player moves ahead two spaces. If it comes up tails, the player moves ahead one space. If a player lands
on space 4, they immediately move back two spaces to space 2. If a player lands on square 6, they
immediately move back to the start. A player on space 7 must flip a tail to move to the finish space. If
they flip a head, they remain where they are. Once a player moves into the finish space, the player
remains in that space indefinitely.
Transcribed Image Text:START 1 2 3 Move back 2 spaces 5 Go to Start 7 FINISH A player starts at the space marked start. A coin is flipped for each move. If it comes up heads, the player moves ahead two spaces. If it comes up tails, the player moves ahead one space. If a player lands on space 4, they immediately move back two spaces to space 2. If a player lands on square 6, they immediately move back to the start. A player on space 7 must flip a tail to move to the finish space. If they flip a head, they remain where they are. Once a player moves into the finish space, the player remains in that space indefinitely.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Control Structure
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Operations Research : Applications and Algorithms
Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole