From: Carl Worth Date: Thu, 12 Mar 2026 04:57:03 +0000 (-0700) Subject: Add an implementation of Lines of Action X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=lmno.games Add an implementation of Lines of Action This comes from a Claude-assisted port of the Lines of Action implementation I had made originally in C which can be found here: https://git.cworth.org/git?p=loa --- diff --git a/index.html b/index.html index 81a6b19..acace47 100644 --- a/index.html +++ b/index.html @@ -77,6 +77,9 @@
  • Scribe
  • +
  • + Lines of Action +
  • diff --git a/loa/index.html b/loa/index.html new file mode 100644 index 0000000..5b577d4 --- /dev/null +++ b/loa/index.html @@ -0,0 +1,52 @@ + + + + + + + Lines of Action + + + + + + + + +
    + +

    Lines of Action

    + +

    + Connect all of your pieces into a single group. Move a piece + in a straight line (row, column, or diagonal) exactly as many + squares as there are pieces (of either color) along that line. + You may jump your own pieces but not your opponent's, and you + may capture by landing on an opponent's piece. +

    + +
    +
    + +
    + +
    + +
    + +
    + + +
    +
    + +
    + + + diff --git a/loa/loa-board.js b/loa/loa-board.js new file mode 100644 index 0000000..dd135cb --- /dev/null +++ b/loa/loa-board.js @@ -0,0 +1,244 @@ +/* Lines of Action - shared game logic (server and client) + * + * In the browser this file is loaded via