Skip to content

An expert system that attempts to guess the user's animal in 20 questions or less

Notifications You must be signed in to change notification settings

yangrussell/animals-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

animals-game

An expert system that attempts to guess the user's animal in 20 questions or less

About

This project was created for my Honors Advanced Topics in CS: Expert Systems class at The Harker School, taught by Dr. Nelson.

The system tries to play a game of twenty questions with the user, asking the user questions until it has found an animal consistent with the user's answers. If no animal can be found, the game ends. The question threshold is set to 20, but is a global constant and can easily be changed.

Usage

  1. Install JESS: Java Expert System Shell
  2. Navigate to the correct directory and run JESS
  3. Batch in the animals.clp file from within the JESS folder
  4. The program will start immediately
  5. To restart, enter (reset) (run)

About

An expert system that attempts to guess the user's animal in 20 questions or less

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages