the horse project use bcb to implement rand engine