Implemented bb_check_victory