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

Tutorial part 10 refers to incorrect filename in data_loaders.py #15

Open
abwdev opened this issue Apr 26, 2019 · 0 comments
Open

Tutorial part 10 refers to incorrect filename in data_loaders.py #15

abwdev opened this issue Apr 26, 2019 · 0 comments

Comments

@abwdev
Copy link

abwdev commented Apr 26, 2019

Hi,

First up - FREAKING AWESOME TUTORIAL!!!! THANK YOU SO MUCH!!! - seriously the BEST roguelike tute I've encountered.

I think that part 10 of the tutorial (http://rogueliketutorials.com/tutorials/tcod/part-10/) incorrectly includes the file type suffix in two places within data_loaders.py - specifically in save_game for the call to write out the data, and also in load_game for the call to read in the data.

I believe that this is because Python automatically appends the ".dat" to those calls, whereas in the filesystem check to verify the save file the ".dat" is required.

You have corrected this in the GitHub repo but not in the tutorial text which could throw folks (it confused me :) )

Thanks again!

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