GithubHelp home page GithubHelp logo

ye11ow-flash / prolog-code Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 2.0 34 KB

Basic implementation in prolog

License: MIT License

Prolog 100.00%
prolog-programming-language prolog prolog-implementation ai artifical-intelligence

prolog-code's Introduction

Prolog-Code

Basic codes in prolog

1. Murder-Robbery_Mystery_Case

Story :

Alexander is an banker. Arthur is his son who is jobless and irresponsible party boy. Alexander also has an step daughter named Mary. They had an maid named Lucy. Alexander caught his son with coronet. Dead body of maid was found in the living room who was hit with a blunt weapon. They found cricket bat from Mary’s room. Mary was a cricket player. Lucy had an boyfriend named Francis who was a grocer and had an wooden leg. Mary was also in an relationship with George who had gambling habit. Arthur needed money for parting. A sharp knife was found in his room.

Output :

Murder-Robbery_Mystery_Case

2. murder_mystery

Story :

Holder and Stevenson were equal partners in “Holder & Stevenson, of Threadneedle Street”, but due to greediness Holder killed Stevenson to become the only owner of the company. Alexander adopted her niece Mary and kept her like his own daughter. But after knowing the truth, Mary along with Stevensons best friend Albert planned to destroy Alexander Holder. Mary’s boyfriend Burnwell formed friendship with Alexander’s son Arthur. Eventually when Arthur came to know that Burnwell and Mary are planning to destroy his father he tried to confront Burnwell. For this reason Burnwell killed Arthur.

Output :

murder_mystery

prolog-code's People

Contributors

kaushal18 avatar psgainz avatar ye11ow-flash avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.