change game.py

add lambda and debug function