Skip to content

LisRosnes/knights

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Knights and Knaves is a classic knowledge and reasoning based model. Knights always tell the truth, knaves always lie.

Run puzzle.py to see the result of 4 pre programmed puzzles. The output will tell you who is a knight and who is a knave based on their own claims.

logic.py contains all of the prepositional logic and reasoning used to determine who is a knight and who is a knave

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages