I'm am making a small roleplaying game, and I'm stuck at the point where I have to make a game board.

A simple way to explain what I'm seeking is: Imagine a chessboard where you move a piece with the keyboard keys. If anyone has an idea I would love to see a piece of samplecode on how to do this in a good way.

Thanks on beforehand