A board game framwork in java