A simple php command line game simulation