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 practice exercise game-of-life #755

Merged
merged 2 commits into from
Jul 16, 2024
Merged

Conversation

depial
Copy link
Contributor

@depial depial commented Jul 16, 2024

Adding game-of-life from problem-specifications. This is a basic implementations with a straightforward matrix traversal example.jl. Only two things to note:

  • Matrices used instead of nested vectors
  • Difficulty set at 2, but I could imagine 3 due to use of matrices

For this exercise, the only salient differences between using nested vectors and matrices is likely just to be how the elements are accessed and/or how they are traversed. I think this would be a gentle introduction to using matrices, if a user is new to them.

@depial depial mentioned this pull request Jul 16, 2024
10 tasks
Copy link
Member

@ErikSchierboom ErikSchierboom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Matrices used instead of nested vectors

Good idea!

Difficulty set at 2, but I could imagine 3 due to use of matrices

I think 3 makes sense for the reason mentioned.

@depial
Copy link
Contributor Author

depial commented Jul 16, 2024

I think 3 makes sense for the reason mentioned.

Changed to 3. Cheers!

Copy link
Member

@ErikSchierboom ErikSchierboom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! You've been on a roll!

@ErikSchierboom ErikSchierboom merged commit c7f86f5 into exercism:main Jul 16, 2024
10 checks passed
@depial depial deleted the game-of-life branch July 16, 2024 15:27
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