ScratchData LogoScratchData
Back to Alexs_School_Account's profile

Game Theory Simulation

ALAlexs_School_Account•Created September 11, 2019
Game Theory Simulation
1
1
20 views
View on Scratch

Description

Features: - "Cheat" or "Cooperate" function: If the AI doesn't put a coin in the machine, this is referred to as a "cheat." If it does, it's refered to as a "cooperation." The results are: - If they both cooperate, they both get 2 coins - If they both cheat, neither of them gets any coins. - If one cheats and the other doesn't, the cheater gets 3 coins, and the other loses 1 coin. - Copy AI: Like its name says, it copies the actions of the opponent, and defaults to "cooperate" - Cheat AI: It always cheats its opponent. - Cooperate AI: It always cooperates. - "Detective" AI: This AI starts with Cooperate, Cheat, Cooperate, Cooperate. If you retaliate with a cheat, it acts like Copy and cheats, otherwise, it acts like Cheat. The main inspiration for this, if it was not already evident, is from Nicky Case's simulation of Game Theory: https://ncase.me/trust/

Project Details

Project ID328138725
CreatedSeptember 11, 2019
Last ModifiedJanuary 11, 2020
SharedSeptember 13, 2019
Visibilityvisible
CommentsAllowed