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

[example] Array example using a grid #69

Open
4 tasks
ponderingdemocritus opened this issue May 30, 2024 · 2 comments
Open
4 tasks

[example] Array example using a grid #69

ponderingdemocritus opened this issue May 30, 2024 · 2 comments
Assignees

Comments

@ponderingdemocritus
Copy link
Contributor

Dojo v7 introduces Arrays, which is a novel addition in the Cairo ecosystem.

This task is to make a small example that leverages arrays.

Suggestion

  • Create a 10x10 grid (or hex grid)
  • Allow players to move from one hex to another.
  • Store the players in an Array
  • Create impl to check if a player is in the Array on the location

This is just an idea - if you take this task, you could do something else, as long as it incorporates Arrays.

@VietnameseRick
Copy link

Hi, can I take this ? I did #59 in the past but didn't finish it and since Arrays is available now, it would be easier for me to finish it 🚀

@ponderingdemocritus
Copy link
Contributor Author

sure thing!

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

2 participants