{{ curProb.instructions }}
</p>
</div>
- <my-board :fen="curProb.fen"></my-board>
+ <my-game :fen="curProb.fen" :mode="analyze" :allowMovelist="true">
+ </my-board>
<div id="solution-div" class="section-content">
<h3 class="clickable" @click="showSolution = !showSolution">
{{ translations["Show solution"] }}
</div>
`,
created: function() {
+ // TODO: adapt this, #problems:28 ? (for example)
if (location.hash.length > 0)
this.showProblem(location.hash.slice(1));
else