Great Minds solutions has embarked on designing a game of a crawling tortoise in a virtual environment
Question:
Great Minds solutions has embarked on designing a game of a crawling tortoise in a virtual environment . The tortoise is supposed to move on a digital path, which has on/off switch that turns a light on/off on its path as it moves. When the tortoise steps on the on switch, a green light turns on and red light turns on when it steps on the off switch. The tortoise makes a sound when the last five (5) steps it makes results into two consecutive green lights followed by two consecutive red lights and end with green light. You are required to design Moore and Mealy Finite state machines that models the tortoise’s brain. Based on the Mealy FSM, design a synchronous sequential circuit diagram that models the tortoise game. Your solution must include state table, state equations and circuit diagram. You may use the D flip flop for your implementation.