Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serialize and Read Mazes #7

Open
ThomasThelen opened this issue Nov 13, 2017 · 4 comments
Open

Serialize and Read Mazes #7

ThomasThelen opened this issue Nov 13, 2017 · 4 comments

Comments

@ThomasThelen
Copy link
Contributor

ThomasThelen commented Nov 13, 2017

It would be great if we had a way to serialize a maze and then initialize a new maze with it. This can easily be done with the sqlite3 module. The first pass can just be an individual maze in a single database file. It can be extended later to save multiple mazes the the database if needed/requested.

I'm initially going to bundle this in to the Maze class, but long term it would really belong in some sort of utility class where non essential things can get bundled(how nice would it be to get the determinant of the maze!).

@ThomasThelen
Copy link
Contributor Author

After recent updates the way to go about this would be
1. Create serializer.py
2. Create a Serializer class that handles db serialization
3. Create an interface in MazeManager to it
4. Add to examples and unit tests

@jostbr
Copy link
Owner

jostbr commented Jan 17, 2018

This sounds interesting and would be really cool to make work. At the moment I don't have the time to work on this. In general I have to focus on my masters project so I'm not going to be doing much on this project this spring I think. Maybe some small stuff here and there.

@ThomasThelen
Copy link
Contributor Author

This is coming along slowly... but surely!

@jostbr
Copy link
Owner

jostbr commented Feb 8, 2018

All good. :) I'm sorry I'm not able to contribute more these days. Im'm quite stressed with the project. Next thing I'll to is try to fix the failing unittest in the corners you mentioned.

@ThomasThelen ThomasThelen removed their assignment Aug 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants