Skip to content

Programs that calculate and 'graph' the three person-duel ("truel") players' probabilities of winning. Used for my IB Extended Essay.

License

Notifications You must be signed in to change notification settings

richardluo20/EE-Truel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

EE-Truel

This repository contains two Python programs that calculate and 'graph' various results based on the three-person duel, or 'truel'. https://en.wikipedia.org/wiki/Truel

Used in my IB Extended Essay. Code is very messy; admittedly, the point was just to make code that worked for my purposes, not for others to use or examine. I will maybe fix it someday?

This project uses Pillow, a fork of the Python Imaging Library.

Version: 1.0

Contains:

  • truel_functions: functions used to calculate results and code to iterate over the possibilities
  • truel_images: imports truel_functions and Image (from PIL) to create images showing probabilities of winning/player most likely to win for given values of players' accuracies

TO-DO:

  • add comments to explain code
  • make programs work with uncommented sections
  • add info about truel game and explain context in code
    • define rules, "accuracy"
  • show general derivation of formulas
  • show sample results?

About

Programs that calculate and 'graph' the three person-duel ("truel") players' probabilities of winning. Used for my IB Extended Essay.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages