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 a board selection screen to the Dungeon sample. #874

Merged
merged 2 commits into from
Jan 21, 2020

Conversation

zach-klippenstein
Copy link
Collaborator

@zach-klippenstein zach-klippenstein commented Jan 14, 2020

This change does a few things:

  • Pushes the running of a particular game session (load board, play game, display game over screen) into the new GameSessionWorkflow (just renamed from DungeonAppWorkflow).
  • Uses WorkflowViewStub to display a preview of each board in the list, automatically re-using the same code that the actual game screen uses to render the board while playing.

Screenshot_1579029148

Copy link
Contributor

@rjrjr rjrjr left a comment

Choose a reason for hiding this comment

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

So exciting!

@@ -0,0 +1,132 @@
/*
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This looks like a new file, but was just renamed from DungeonAppWorkflow.

@zach-klippenstein
Copy link
Collaborator Author

Need to add a "New Board" button to the Game Over dialog.

@zach-klippenstein
Copy link
Collaborator Author

I broke parser tests, also need to write more.

@zach-klippenstein
Copy link
Collaborator Author

zach-klippenstein commented Jan 21, 2020

Fixed parser tests, added tests for metadata parsing, and addressed all outstanding comments.

@zach-klippenstein
Copy link
Collaborator Author

Need to add a "New Board" button to the Game Over dialog.

Going to do this separately in #891.

@zach-klippenstein zach-klippenstein merged commit 1d9af61 into master Jan 21, 2020
Workflow (Kotlin) automation moved this from Needs review to Done Jan 21, 2020
@zach-klippenstein zach-klippenstein deleted the zachklipp/dungeon-map-chooser branch January 21, 2020 07:17
@zach-klippenstein zach-klippenstein added the kotlin Affects the Kotlin library. label Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kotlin Affects the Kotlin library.
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants