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