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

Only allow laying track when it's legal to. Fixes #13. #21

Merged
merged 2 commits into from
Apr 11, 2020
Merged

Only allow laying track when it's legal to. Fixes #13. #21

merged 2 commits into from
Apr 11, 2020

Conversation

hcarver
Copy link
Contributor

@hcarver hcarver commented Apr 10, 2020

No description provided.

Copy link
Owner

@tobymao tobymao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think this will break for the edge case of private company special power lays

can you handle that case as well in this pr?

@hcarver
Copy link
Contributor Author

hcarver commented Apr 11, 2020

Sure, I think that's done now @tobymao. I had problems testing properly because tile rotation isn't working for me, but I was definitely able to lay a port tile + a single normal lay in the same turn.

@hcarver hcarver requested a review from tobymao April 11, 2020 13:13
@tobymao tobymao merged commit ca01dc3 into tobymao:master Apr 11, 2020
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

Successfully merging this pull request may close these issues.

None yet

2 participants