X-Git-Url: https://git.auder.net/pieces/Cwda/n_white_knight.svg?a=blobdiff_plain;f=public%2Fjavascripts%2Fcomponents%2Frules.js;h=0f27d5327177c9f18d664869a6b024ea09dc6c37;hb=d337a94cd6d38bb743a8935017d03fe21d4ad324;hp=e9df1ecc0c0a1699d5d00c32beb4b8b8fb5c5a9f;hpb=582df3497b0f91dd4b645386a059eac9e98da1bb;p=vchess.git diff --git a/public/javascripts/components/rules.js b/public/javascripts/components/rules.js index e9df1ecc..0f27d532 100644 --- a/public/javascripts/components/rules.js +++ b/public/javascripts/components/rules.js @@ -6,27 +6,33 @@ Vue.component('my-rules', { content: "", display: "rules", mode: "computer", + subMode: "", //'auto' for game CPU vs CPU + gameInProgress: false, mycolor: "w", allowMovelist: true, fen: "", }; }, - - // TODO: third button "see a sample game" (comp VS comp) - template: `