CMPU-181, Spring 2013 Instructions for using the Chess Program Log in to your CS account. Then create a directory in your account: mkdir chess Go into that directory: cd chess Copy the chess program from the course account into your chess directory: cp ~cs181/public_html/handouts/chess-solns.lisp . (You need to type the final period!) Start up the "aclemacs" program: aclemacs& After it finishes loading: Hit the "Esc" key, followed by the "x" key. Then type: fi:common-lisp Then hit the "Enter" key about six or seven times, until you see the Lisp prompt: CL-USER(1): Compile the chess program: (compile-file "chess-solns") Load the chess program: (load "chess-solns") Now you're ready to play: (setf g (init-game)) To do a move when it's your turn (white): (do-move! g t 1 4 3 4) <--- move piece from row 1, col 4 to row 3, col 4 To ask the computer to do the next move: (apply #'do-move! g nil (compute-move g)) Etc. If it gets stuck in an endless loop or becomes unresponsive, hold down the Ctrl key and hit C a few times. To exit the Lisp session, type: (exit) To exit aclemacs, just close the window (like you do with emacs).