Skip to content

gzachos/ai-course-uoi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ai-course-uoi

About

This repository contains the code developed during the Artificial Intelligence course @cse.uoi.gr.

The first exercise is about the implementation of the minimax algorithm and it's usage for deciding computer player moves during a custom game with a human player as an oponent.

The second exercise is about implementing the A* (A star) and UCS (Uniform Cost Search) algorithms and using them to find the shortest path between an initial and two goal states. Note that the state space is randomly created every time.

Additional Features

In the second exercise, DOT graph description language was used to visualize the generated state space and the available transitions between states. Although game tree graphing was also implemented for the first exercise, it was later removed due to the large size of the graph (for a branch factor of 6 and a tree depth of 4, 1296 nodes need to be plotted).

Screenshot #1: ai_search_2_2_4_14.png

Screenshot #2: ai_search_2_2_4_10.png

Developer

George Z. Zachos

License

GNU GENERAL PUBLIC LICENSE Version 2, June 1991