White Hat Gaming Interview Question

Implement a chess game in Scala