Citadel Interview Question

What is the game logic if you were to create a chess game in Java