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

Save formatted to string #4

Open
jpedrick opened this issue Jan 7, 2024 · 0 comments
Open

Save formatted to string #4

jpedrick opened this issue Jan 7, 2024 · 0 comments

Comments

@jpedrick
Copy link

jpedrick commented Jan 7, 2024

Currently, there's no way to use the formatters to save a maze to a string. I would need to save a file, then read the file into a string. I'd like to do the following:

let maze_str = GameMap::new().span(1).with_start_goal().format(maze);
jpedrick added a commit to jpedrick/knossos that referenced this issue Jan 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant