sharmaeklavya2 / packing-game

2D geometric bin-packing game in the browser
https://sharmaeklavya2.github.io/packing-game/
8 stars 4 forks source link

Allow importing/exporting progress #10

Closed sharmaeklavya2 closed 3 years ago

sharmaeklavya2 commented 4 years ago

It will be useful to be able to import/export the progress of the game, i.e. which items are packed at what places in the bins. This can be used to save a game and resume later. We can do this by serializing to CSV or JSON.

~We should also allow exporting to SVG/TikZ/PNG, because this game is a good way to create packing diagrams. This would be especially helpful if we allow a user to easily choose the input instance.~ (See #15 for a related issue.)

sharmaeklavya2 commented 3 years ago

~Pending: exporting to SVG, TikZ.~