Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
4cb540d
Added a test file
hopefulwerewolf Apr 18, 2021
c9af42c
Moved code from notebook into main.py
hopefulwerewolf Apr 18, 2021
dcfb5b9
Deleted the python notebook
hopefulwerewolf Apr 18, 2021
233022d
Added a test for the original game example in the notebook
hopefulwerewolf Apr 18, 2021
f8a2599
Ran mafia.py through sublack
hopefulwerewolf Apr 18, 2021
9b5f6b9
Moved the calculation of winning team probabilities to a function
hopefulwerewolf Apr 18, 2021
2064c6d
Created a function for a new standard game
hopefulwerewolf Apr 18, 2021
678e0d5
Copied the original strategy and made a failing test for playing dete…
hopefulwerewolf Apr 18, 2021
da3e3c0
Added a test to compare original strategy to copy
hopefulwerewolf Apr 18, 2021
345ff53
Added test for problematic leaves when citizens are large and there's…
hopefulwerewolf Apr 18, 2021
9099ac7
Added filter to keep simple_strat from crashing, then a test to make …
hopefulwerewolf Apr 18, 2021
46a97b6
Marked the two failing tests as skipped
hopefulwerewolf Apr 18, 2021
7dfa50e
Moved to using fractions instead of floats
hopefulwerewolf Apr 18, 2021
d58defd
Can run a game with a detective, though only if the detective does no…
hopefulwerewolf Apr 18, 2021
da348d7
Moved strategies to their own file
hopefulwerewolf Apr 18, 2021
eadc843
Renamed simple_strat to incomplete_detective
hopefulwerewolf Apr 18, 2021
b1ce7c6
Updated docstring for incomplete detective, added currently not worki…
hopefulwerewolf Apr 18, 2021
33a763b
Added a test for situation where detective comes out, then continues …
hopefulwerewolf Apr 19, 2021
d999d47
Forced all detective peeks to become verified if the detective is alr…
hopefulwerewolf Apr 19, 2021
5aff758
Partially implemented proper detective -- enough that citizens win mo…
hopefulwerewolf Apr 19, 2021
ec3d8e5
Ensure all actions add up to 1 in the day time, too
hopefulwerewolf Apr 19, 2021
020b1e1
Clean up main.py ever so slightly so it's better for exploring
hopefulwerewolf Apr 19, 2021
1e54a8b
Add checks for is_suspicious in order to avoid Verified safe
hopefulwerewolf Apr 19, 2021
e62acf1
Fully implement "proper detective"
hopefulwerewolf Apr 19, 2021
55610a4
Amended some comments
hopefulwerewolf Apr 19, 2021
8e878a1
Fixed some more comments and made an explicit exception in a case tha…
hopefulwerewolf Apr 20, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
117 changes: 0 additions & 117 deletions mafia.ipynb

This file was deleted.

Loading