/sort-colored-cards-with-AI-search-algorithms

use A*, IDS and BFS to sort colored cards in ascending order.

Primary LanguagePython

Sort Clored Cards with AI Search Algorithms

Here I used A*, IDS, and BFS to sort colored cards in ascending order.
In the initial state, we have different unsorted decks of cards (they could have different colors), and as output, you get sorted cards with the same color in each deck.
You can run the same test case on each algorithm to understand the great effect of the heuristic function on decreasing computation time by creating fewer nodes than BFS and IDS.