Homework 2: Lunar Lockout
Sample Solution: Courtesy of Bart Presnell

Problem:

The Lunar-Lockout problem is  simple game which can be a lot of fun. You can learn about the rules of the game by clicking here. This web page has nice animations that show you sample games. You can also play the game online!!  This web page has a pointer  to a theoretical analysis of the game.

You task is to encode the rules necessary to solve different instances of this game using UCPOP and Graphplan. After you encode the rules try to solve at least 6 out of the 8 problems described here.

Submit a printout ONLY  of the encoding of game rules that you used for the two planers.  Also submit the solutions produced by the planers for each instance of the game.

Solution:

Graphplan:

LL_facts1 LL1_res.txt
  LL2_res.txt
  LL3_res.txt
LL_facts10 LL10_res.txt
LL_facts15 LL15_res.txt
LL_facts19 LL19_res.txt
LL_facts_20 LL20_res.txt
LL_facts21  
LL_facts40 LL40_res.txt

UCPOP: