reverse game solution