Course:CPSC312-2017 Crusher

From UBC Wiki

Crusher

Authors: Kevin, David

What is the problem?

Implement the Crusher game, as described in the instructions.

What is the something extra?

The program will suggest the next best move that a player can make given a current board state.

What did we learn from doing this?

This project was similar to searching problems we've encountered before in CS221. In comparison to the C++ implementation in CS221, logical programming was a much more intuitive way to represent recursive search. That said, perhaps due to lack of exposure to the programming paradigm, it was initially difficult to comprehend what each function did or is meant to do. Even with documentations for each function, it was much harder to intuitively understand the implementation of each function by reading the code.

Code

File:Crusher.zip