added board ctrl. fixed game bugs