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

q006 机器人坐标,L 跟 R指令是不是调转了 #70

Open
AldesFhh opened this issue Feb 13, 2023 · 0 comments
Open

q006 机器人坐标,L 跟 R指令是不是调转了 #70

AldesFhh opened this issue Feb 13, 2023 · 0 comments

Comments

@AldesFhh
Copy link

您好,看代码定义的:
const (
Left = iota
Top
Right
Bottom
)

case s == 'L':
z = (z + 1) % 4
case s == 'R':
z = (z - 1 + 4) % 4

这个左右是不是调转了

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