After numerous debugging, our team had fixed up our code as best as we could and were able to get the program running. Our extensive research had paid off. We were able to get two human-controlled characters to play. Here are two samples of our program output data and the inputs of the two players. The first output is a test run to ensure our program worked correctly and from that point forward, our output remained constant.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Ted the Lion Heart Emcee++
H H
H P
H K
P H
P P
P K
K H
K P
K K
K P
Output data to the left..

mode:~> fight.x
Emcee ++ has won the fight sequence 1.
Emcee ++ has won the fight sequence 2.
Emcee ++ has won the fight sequence 3.
Emcee ++ has won the fight sequence 4.
Emcee ++ has won the fight sequence 5.
Emcee ++ has won the fight sequence 6.
Emcee ++ has won the fight sequence 7.
Emcee ++ has won the fight sequence 8.
Emcee ++ has won the fight sequence 9.
Emcee ++ has won the fight sequence 10.
Ted the Lion Heart has won 0 fight sequences.
Emcee ++ has won 10 fight sequences.
Emcee ++ beat up Ted the Lion Heart.
Emcee ++ is the new world champion!!!



. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Ted the Lion Heart Emcee++
H K
P P
K K
K K
K P
P H
P P
H K
P H
P H
Output data to the left.

*mode:~> fight.x
Emcee ++ has won the fight sequence 1.
Emcee ++ has won the fight sequence 2.
Emcee ++ has won the fight sequence 3.
Emcee ++ has won the fight sequence 4.
Emcee ++ has won the fight sequence 5.
Emcee ++ has won the fight sequence 6.
Emcee ++ has won the fight sequence 7.
Emcee ++ has won the fight sequence 8.
Emcee ++ has won the fight sequence 9.
Emcee ++ has won the fight sequence 10.
Ted the Lion Heart has won 0 fight sequences.
Emcee ++ has won 10 fight sequences.
Emcee ++ beat up Ted the Lion Heart.
Emcee ++ is the new world champion!!!



. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .


Project Description

Conclusion