Amazon Interview Question

Code a program that advances a board game's moves in a time sequence