board game stuff

this is the code for generic board game