Course:CPSC312-2016-Project2-Quick-Draw

From UBC Wiki

Quick Draw

Authors: Irene Chen, Stephanie Lam, Michael Spearman

What is the problem?

Quick Draw is a two player game where there are 3 possible actions that the players can take: load, block or attack. A player can either load their weapon, block their opponent's attack, or attack their opponent. The objective of the game is to attack your opponent while they are loading their weapon in order to kill them. If a player blocks their opponents attack, nothing happens and the game goes on. A player must load before they can attack but the reloads are cumulative so they are able to attack more than once in a row. The players choose their moves at the same time and continue until one dies.

What is the something extra?

Have a new action called "heal" and have each player start with 5 health points. Each time the heal action is used, the players HP will increase. Every time a player is attacked without blocking, they lose 2 HP. A player dies when their HP reaches 0.

What did we learn from doing this?

(This should be written after you have done the work.) What is the bottom-line? Is logic programming suitable for (part-of) the task? Make sure you include the evidence for your claims.