Simple mill game in java