Fox and Rabbit C simulator