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

Canvas Smart Contract #561

Closed
Tracked by #559
Braqzen opened this issue Feb 23, 2023 · 1 comment
Closed
Tracked by #559

Canvas Smart Contract #561

Braqzen opened this issue Feb 23, 2023 · 1 comment
Labels
App: Games Label used to filter for the app issue Good First Issue Good for newcomers

Comments

@Braqzen
Copy link
Contributor

Braqzen commented Feb 23, 2023

Contract should contain at least the following functionality:

  • Fixed size canvas
    • Clearing all the slots would be expensive so once the canvas is created we cannot create a new one unless we perform some indexing up to the maximum u64 size to create a few canvases per contract. Better to stick with a single canvas for now.
    • Index pixels by a u64 for ease of use
  • Each pixel is represented by some colour format e.g. rgb
  • Getter to return a pixel colour
  • Setter to set a pixel colour
  • Initial implementation does not need to require a time delay between each placement
  • Getter to return the maximum canvas size
@Braqzen Braqzen mentioned this issue Feb 23, 2023
2 tasks
@Braqzen Braqzen added the App: Games Label used to filter for the app issue label Feb 23, 2023
@Braqzen Braqzen added the Good First Issue Good for newcomers label Feb 23, 2023
@bitzoic
Copy link
Member

bitzoic commented Feb 21, 2024

Closing to consolidate to just #559

@bitzoic bitzoic closed this as completed Feb 21, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in Fuel Network Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
App: Games Label used to filter for the app issue Good First Issue Good for newcomers
Projects
Status: Done
Development

No branches or pull requests

2 participants