giatrakosg / RushHour

🚗 Rush Hour solver written in Haskell λ

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RushHour

This project implements a solution to the game Rush Hourdesciption using an A Star search

Usage

We represent the board using the State type.The user provides the data as a string with with each row seperated by a newline and the colors represented by ANSI characters.The "red" car is represented by the '=' character and the empty cell by the '.' character. eg. aa..b ccc.b => "aa..b\nccc.b\n==..b\n.dddb" ==..b .dddb

About

🚗 Rush Hour solver written in Haskell λ

License:MIT License


Languages

Language:Haskell 100.0%