Write a Python script to play the game.  You live in a tribe of people. Your tribe needs food and sends its members out to hunt for food in teams of two. The game is divided into rounds and consists of the following:  I. Food and Winning  Each player begins the game with  units of food, where  is the number of players.  If after any round you have zero food, you will die and no longer be allowed to compete. All players who survive until the end of the game will receive the survivor's prize.  The game can end in two ways. After a large number of rounds, there will be a small chance each additional round that the game ends. Alternatively, if there is only one person left with food then the game ends. In each case, the winner is the person who has the most food when the game ends.  The game is designed to encourage both cooperation and competition between players at different points in the game. Determining the right balance leads to a winning strategy.  II. Hunts  Each round is divided into hunts. A hunt is a game played between you and one other player. Each round you will have the opportunity to hunt with every other remaining player, so you will have  hunts per round, where  is the number of remaining players.  In a hunt you can make the decision to hunt (become a hunter) or feign sickness and not hunt (become a slacker). Hunting is an active activity, so you will eat  units of food if you decide to hunt, and  units of food if you decide not to hunt. If both you and your partner do not hunt, then you get  food from the hunt. If only one of you decides to hunt then the hunt returns  units of food. If both of you decided to hunt then the hunt returns  units of food. The total food return of the hunt is split evenly between you and your partner. So, for example, if both of you decide to hunt, your individual net food gain/loss from the hunt would be  units, whereas if both of you decided not to hunt your individual net food gain/loss is  food.  III. Reputation  Each player has a reputation , which is defined as , where  is the number of times you chose to hunt and  is the number of times you chose to slack (not hunt), both counted from the beginning of the game. Each player begins with a reputation of .  Each round, your tribe can save some time and hunt extra food if enough people opt to hunt. Each round, a random integer , with  will be chosen. If the sum of the number of times players choose to hunt is greater than or equal to  for the upcoming round, then everyone in the tribe gets  extra units of food after the round, which means that on average everyone gets  units of food per hunt. Before each round, you will find out the value of .  Before each round you will be given: which number round you are in (from  to ), your food, your reputation, , and an array with the reputation of each remaining member of the tribe when the round started. The location of each player in the array will be randomized after each round. You should decide your moves for that round for each player you will play against, and return an array of your decisions. After each hunt you will be given the food earned from each hunt you played.  Submission guidelines  The logic of your code and what game theory analyses you apply for the various steps must be either laid out as comments in the code or in a separate document. The algorithm (and separate document, if any) should be submitted by August 18, 2013 through your Brilliant account. Algorithms will be run tournament-style to determine the winner.  Prizes for algorithms eligible for the final game will be awarded at two levels:  Grand Prize Winners - 5 teams will receive the Grand Prize of $1000. The winning algorithm is guaranteed to receive the Grand Prize. 4 other winners will be selected based on the performance of their algorithm, logic, game theory analysis, and presentation. Finalists - Members of teams whose algorithm survives the game will have a short video interview with Brilliant staff to verify that their work is their own, and upon passing the interview will receive an "I survived" t-shirt.