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

Add grains exercise #51

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add grains exercise #51

wants to merge 1 commit into from

Conversation

pfertyk
Copy link
Contributor

@pfertyk pfertyk commented Feb 10, 2024

No description provided.

@pfertyk pfertyk force-pushed the add-grains-exercise branch from 6933be3 to 3d03c64 Compare February 10, 2024 21:18
@pfertyk
Copy link
Contributor Author

pfertyk commented Feb 10, 2024

@BNAndras inspired by what you wrote in #28 , I decided to add the "grains" exercise, returning null instead of raising an error. However, it seams that int type in Godot doesn't handle that big numbers ... I guess we will have to skip this one?

@BNAndras
Copy link
Member

Yeah, Vim script has the same issue. I think an pragmatic approach would be to reduce the number of squares on the board and add an instructions append highlighting why we reduced the number of squares. So instead of an 8x8 grid, we do a 7x7 grid or smaller.

@BNAndras
Copy link
Member

https://forum.exercism.org/t/odd-arithmetic-in-grains/8662 has context and some discussion about this issue for the Vim script track. We ended up marking the status as "wip" as a soft deprecation (only maintainers can see those on the website), and we're still working out a way to solve the problem.

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.

2 participants