Made improvement in line interface of game
Resolved bug in out of platform check
Added code for input validation