feat(game): add handling of packets for maps and entities
feat: extract game semaphores logic
feat: add semaphore to game
feat: add skeleton of game type