Complete board logic