main page refactoring
playing games