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

exercises(secret-handshake): consider changing Signal to Action #351

Open
ee7 opened this issue Oct 4, 2023 · 0 comments
Open

exercises(secret-handshake): consider changing Signal to Action #351

ee7 opened this issue Oct 4, 2023 · 0 comments

Comments

@ee7
Copy link
Member

ee7 commented Oct 4, 2023

The tests currently use Signal:

const expected = &[_]secret_handshake.Signal{.wink};

But the docs only talk about "actions":

Your task is to convert a number between 1 and 31 to a sequence of actions in the secret handshake.
The sequence of actions is chosen by looking at the rightmost five digits of the number once it's been converted to binary.
Start at the right-most digit and move left.
The actions for each number place are:

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