Random board implementation.