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

Yogiraj's soution to dice roller problem #6

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open

Conversation

yogirajh007
Copy link
Member

@yogirajh007 yogirajh007 commented Oct 25, 2021

Dice roller solution code from yogiraj, to be merged with main

Yogiraj H added 3 commits October 19, 2021 19:24
@yogirajh007 yogirajh007 changed the title Dice roller Yogiraj's soution to dice roller problem Oct 25, 2021
Yogiraj H and others added 11 commits October 27, 2021 17:49
Change drop to my-drop in operations.clj and operations_test.clj
Change "keep" to "drop" in line 91 of markdown file.
dlZ will drop lowest z dice, not keep it
models.clj contains the different structures used in the solution.
…21 into dice-roller

Dice-engine problem modified. Merging it with local.
Keep and drop functionality works. Different selectors work as well. I have not tested these yet.

Reroll logic is not implemented yet.
Change dice-roller to dice-model in some files.
- Add reroll logic.
- Move selector switch-case statements to apply-selector function.
add eval functions for bin-op-model
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.

1 participant