Skip to content

[example] Array example using a grid #69

@ponderingdemocritus

Description

@ponderingdemocritus

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.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions