| 1 | //TODO: list problems as FEN (quickly rendered), by date, with possible filtering per variant(?) |
| 2 | //click on a problem ==> land on variant page with mode==friend, FEN prefilled... ok |
| 3 | |
| 4 | // get 10 first problems, and buttons next<>previous send date + "before" or "after" |
| 5 | // need database: sqlite ! |
| 6 | |
| 7 | // form "new problem" fen(position/turn/flags[guess]), instructions, solution (mandatory) |
| 8 | // ==> upload on server in sandbox |
| 9 | // |
| 10 | // Atomic rules, atomic game, atomic problems(list drawn position |
| 11 | // + summary(first chars of instructions) + timedate)... one big Vue ? with components |
| 12 | // |
| 13 | // click on problem ==> masque problems, affiche game tab, launch new game Friend with |
| 14 | // FEN + turn + flags + rappel instructions / solution on click sous l'échiquier |
| 15 | |
| 16 | Vue.component('my-problems', { |
| 17 | //props: ['vobj'], |
| 18 | template: ` |
| 19 | <div class="variant col-sm-12"> |
| 20 | <p>Hello</p> |
| 21 | </div> |
| 22 | `, |
| 23 | }) |