Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GameTheories - 一點也不經濟的game theory

A comprehensive game theory library demonstrating both economical and non-economical decision-making scenarios.

概述 (Overview)

This repository implements fundamental game theory concepts, with special attention to scenarios where players make decisions that are "一點也不經濟" (not at all economical) - demonstrating how real-world decision-making often deviates from purely rational economic models.

Features

  • Classic Game Theory Models: Prisoner's Dilemma, Nash Equilibrium, Zero-Sum Games
  • Behavioral Economics: Models showing irrational decision-making
  • Non-Economic Strategies: Examples where players prioritize non-monetary outcomes
  • Bilingual Documentation: English and Chinese (中文) support

Quick Start

from game_theory import PrisonersDilemma, Player

# Create a game where players make "uneconomical" choices
game = PrisonersDilemma()
player1 = Player("Alice", strategy="cooperative")  # Not always economical
player2 = Player("Bob", strategy="vindictive")     # Definitely not economical

result = game.play(player1, player2)
print(f"Result: {result}")

Structure

  • game_theory/ - Core game theory implementations
  • examples/ - Demonstration scripts and scenarios
  • docs/ - Detailed documentation and theory explanations

About

一點也不經濟的game theory

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages