client game logic 완성