2D keyboard interactive game on C