current code for game