Giter Club home page Giter Club logo

cs152-harnessing-artificial-intelligence-algorithms's Introduction

CS152: Harnessing Artificial Intelligence Algorithms

Overview

Select coding assignments and exercises from the CS152: Harnessing Artificial Intelligence Algorithms class, taken in Fall 2020. The course covered and honed in an a range of AI and python skills including propositional logic, logic programming, predicate calculus, computational reasoning, object-oriented programming, and data structures and algorithms.

Topics addressed include search algorithms (both naive and informed), logical deduction and resolution, conjunctive normal form, DPLL, forward and backward chaining, to name a few.

Final Project Discussion

The course culminated in a self-selected final project where I build a basic (interactive) Connect 4 Human vs. AI game. The AI player is implemented using the minimax algorithm with alpha-beta pruning, thus reducing the effective search tree depth. A brief dummy run/gameplay from the project is shown below. The full project can be viewed here as well as a brief accompanying report.

Connect 4 Gameplay

Note: The aim of the assignment was to depict a strong usage of skills learnt in class, in this case search algorithms. Hence, my major aim was to get an accurately working implementation of the minimax algorithm in the context of the Connect4 game. Less emphasis is paid to the UI and aesthetics of the developed game.

Requirements

To setup the core libraries for the projects in the repo, the command below can be run

pip install pygame pyswip 

cs152-harnessing-artificial-intelligence-algorithms's People

Contributors

koredeakande 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.