Mativo-Martin / BSI-113

This is a project created to demonstrate a basic interactive game using the oTree programming interface.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BSI_113-BUSARA-TECHNICAL-TASK.

This is a project created to demonstrate a basic interactive game using the oTree programming interface.

Mini Ultimatum Game plus Exit Survey

Program a mini ultimatum game that will consist of 3 players.

Mini Ultimatum Game

In this game, you will take on one of three roles:

  • Player 1: 1. Endowed with Ksh 200 and Is asked to send some money out of the 200 to Player 2.

  • Player 2: Waits for Player 1 to send him some Money

  • Player 3 (the Punisher):

      1. Waits for Player 1 to make an offer to Player 2
      1. Before the money reaches Player 2, he sees how much it is.
      1. Depending on how he feels about the amount, he can do 2 things
  • a. Punish - If he feels the money that Player 1 has sent to Player 2 is not a fair amount, he will choose to punish Player 1. If this happens, then both Player 1 and Player 2 will not receive any payout.

  •    b. Not Punish - If he feels that the amount that Player 1 sends to Player 2 is fair,
    

    then he will choose this option. If this happens, both Player 1 and Player 2 will receive payouts. Payout will be calculated this way:

  • i. Player 1 Payout = 200 - Amount sent to Player 2
    
  • ii. Player 2 Payout = Amount sent by Player
    

Game Flow

  • Page 1: Player 1 is told that they have been endowed with Ksh 200 and are asked to send any amount between 0 and 200 to Player 2.

  • Page 2: Player 3 sees the amount that Player 1 has decided to send to Player 2 and decides whether to Punish or Not Punish Player 1.

  • Page 3 - Results Page: Player 1 and Player 2 will be notified of the results in this way

      1. Player 1: a. The amount he decided to send to player 2 b. The decision that Player 3 made c. The payout that he gets.
      1. Player 2: a. The amount that Player 1 decided to send him b. The decision that Player 3 made c. The payout that he gets

Exit Survey

This section consists of 3 questions:

  1. What is the capital City of Kenya? (Choose one from the given options)

    • Kisumu
    • Nairobi
    • Mombasa
  2. What is 14 + 15? (Input a number)

    • For this question, participants must provide the correct answer to proceed to the next question.
  3. What is the population of Kenya? (Input a number)

About

This is a project created to demonstrate a basic interactive game using the oTree programming interface.


Languages

Language:Python 56.7%Language:HTML 42.9%Language:Procfile 0.5%