smack42 / DriftingDroids

DriftingDroids - yet another Ricochet Robots solver program
https://github.com/smack42/DriftingDroids/wiki
GNU General Public License v3.0
41 stars 12 forks source link

How are the puzzles eported? #31

Open rubo77 opened 9 months ago

rubo77 commented 9 months ago

I would like to add an export/share option to Roboyard as well. How are the puzzles exported? I would like to use the same format for exchangeablility

https://github.com/Eastcoast-Laboratories/Roboyard/issues/24

smack42 commented 9 months ago

The relevant code is implemented in class Board https://github.com/smack42/DriftingDroids/blob/master/src/driftingdroids/model/Board.java

There are two alternative ways to import/export the board states:

game ID (works for original Ricochet Robots boards, only)

custom board load/save (works for all kinds of boards)