Contents:
kyu_8.terminal_game_move_function.terminal_game_move_function.
move
A function for the terminal game that takes the current position of the hero and the roll (1-6) and return the new position. :param position: :param roll: :return:
kyu_8.terminal_game_move_function.test_terminal_game_move_function.
MoveTestCase
Bases: unittest.case.TestCase
unittest.case.TestCase
Testing move function
test_move
The player rolls the dice and moves the number of spaces indicated by the dice two times.
Pass position and roll and compare the output to the expected result :return: