test game button
minor refactoring