Add a replay feature.
Fix replay feature.
Merge pull request #276 from AI-comp/replay

Replay #274