Code for Lab 3 (CS677) : Concepts: Replication, Fault Tolerance and Cache Consistency
The only code file to run is bird.py . Run it as : python bird.py <number_of_pigs> <number_bird_launches> <replicate_or_not>
python bird.py 5 3 0 for a game with 5 pigs and 3 bird launches without replication
python bird.py 5 3 1 for a game with 5 pigs and 3 bird launches with replication