A pretend game framework for Nim