GithubHelp home page GithubHelp logo

spice-road's Introduction

Spice-Road

Goal

The goal of this project is to implement a Goal Oriented Action Planner using Utility based AI system. The player agent (green) has to collect two of each spice by making intelligent trades. The complexity of the planner comes from the thief (red). Every 5 seconds the thief has a 33% chance of stealing from the player. The player agent has to adapt to the new state and solve the problem.

The following trades are possible:

(a) Trader 1: Gives you 2 turmeric units.

(b) Trader 2: Takes 2 Turmeric units and gives you 1 Saffron unit.

(c) Trader 3: Takes 2 Saffron units and gives you 1 Cardamom unit.

(d) Trader 4: Takes 4 Turmeric units and gives you 1 Cinnamon.

(e) Trader 5: Takes 1 Cardamom and 1 Turmeric and gives you 1 Cloves unit.

(f) Trader 6: Takes 2 Turmeric, 1 Saffron and 1 Cinnamon and gives 1 Pepper unit.

(g) Trader 7: Takes 4 Cardamom units and gives you 1 Sumac unit.

(h) Trader 8: Takes 1 Saffron, 1 Cinnamon and 1 Cloves unit and gives you 1 Sumac unit.

Aditional rules:

The player has a permanent unlimited storage space, the caravan in the middle.

The player can only hold 4 spices at a time.

Files:

This project is done in the setting of COMP521 class at McGill University. All the credit for coming up with this project goes to Professor Clark Verbrugge.

spice-road's People

Contributors

kondvit avatar

Watchers

 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.