Applied Intuition Interview Question

Implementing a classic game on a 2D grid