HackerEarth Starting Game development problem solution - TheCScience