lmgame-Bench: How Good are LLMs at Playing Games?