Common Lisp by Example: TicTacToe (pt2)
This video is a continuation from pt1 https://www.youtube.com/watch?v=--D5MRwLqww In this video we refactor the code a little and make use of Common Lisp's incredible condition system, we also touch on the use of methods. At the end I finally explain the mystery format string that I use to display the board. Final code: https://plaster.tymoon.eu/view/2553#2553 Here are some links useful links to help increase your understanding. Format: tilde-left-bracket http://www.lispworks.com/documentation/HyperSpec/Body/22_cgb.htm tilde-semicolon condition separator http://www.lispworks.com/documentation/HyperSpec/Body/22_cia.htm tilde Circumflex: Escape Upward http://www.lispworks.com/documentation/HyperSpec/Body/22_cib.htm tilde-left-brace: iteration http://www.lispworks.com/documentation/HyperSpec/Body/22_cgd.htm tilde-A: aesthetic http://www.lispworks.com/documentation/HyperSpec/Body/22_cda.htm tilde-asterisk: goto http://www.lispworks.com/documentation/HyperSpec/Body/22_cga.htm Conditions: http://www.lispworks.com/documentation/HyperSpec/Body/m_defi_5.htm
Download
0 formatsNo download links available.