Training an Agent to Master a Simple Game Through Self-Play