Add win, lose function, dynamic map, and something...