Mo betta lighting and flashing algorithms