emit defined to game