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

Current orientation should always be returned #64

Closed
LotharTeichert opened this issue Feb 7, 2014 · 2 comments
Closed

Current orientation should always be returned #64

LotharTeichert opened this issue Feb 7, 2014 · 2 comments

Comments

@LotharTeichert
Copy link

It would be handy, if the method orientation would always give the current orientation as the result, even if the side argument is given (good idea: side = 'flip'!). Then you could use x = board.orientation('flip') to flip the board and, e. g., exchange player names depending on x without keeping track of the orientation externally (and without using board.orientation twice). It costs just two words in the code.

@oakmac
Copy link
Owner

oakmac commented Feb 7, 2014

Good idea! I will implement this.

@oakmac
Copy link
Owner

oakmac commented Feb 12, 2014

done

@oakmac oakmac closed this as completed Feb 12, 2014
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

2 participants