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 'reset' button to reset canvas to player's previous configuration #3

Open
brylie opened this issue Jun 9, 2018 · 0 comments
Open
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@brylie
Copy link
Member

brylie commented Jun 9, 2018

When the player configures the canvas and clicks 'run', there is no easy way to go back to the configured state. This may be important, as the player could want to tweak the positioning of elements, etc.

Task

  • Determine how to store canvas configuration in memory
    • initial level setup (static)
    • player piece configuration (changeable)
  • create data structure in game element to keep track of level configuration(s)
  • when player adds piece to canvas, update data structure
  • after running the attempt, either immediately reset the level or allow player to click a button to reset
@brylie brylie added enhancement New feature or request help wanted Extra attention is needed labels Jun 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant