add problem solution logic in game.js