Design and implement a Connect-N game on an infinite board | Hello Interview