+
+ // TODO: third button "see a sample game" (comp VS comp)
+
+ template: `
+ <div class="col-sm-12 col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
+ <div class="button-group">
+ <button @click="display='rules'">
+ Read the rules
+ </button>
+ <button @click="startComputerGame()">
+ Beat the computer!
+ </button>
+ </div>
+ <div v-show="display=='rules'" v-html="content" class="section-content"></div>
+ <my-game v-show="display=='computer'" :mycolor="mycolor" :settings="settings"
+ :allow-movelist="allowMovelist" :mode="mode" :fen="fen">
+ </my-game>
+ </div>
+ `,