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

RFC: "Game" tab improvements #60

Open
ChandlerSwift opened this issue Nov 6, 2020 · 4 comments
Open

RFC: "Game" tab improvements #60

ChandlerSwift opened this issue Nov 6, 2020 · 4 comments

Comments

@ChandlerSwift
Copy link
Member

RFC: This should be broken out into a bunch of issues. Looking for feedback on which ones are important enough to deserve a real issue. (@pahp @jnowaczek)

On the Game tab where participants can play the game manually, the only information the player currently has is an image of the game state. We could be providing a lot more information. In roughly increasing complexity:usefulness ratio:

  • A table of controls (e.g. w => hard_drop, a => left, s => down, d => right, ...)
  • Allow user to set seeds to play through a map that gave their bots trouble (see also below)
  • A table of game state, similar to what's on the Bot page -- lets users see what data they would have for a bot
  • Frame count, and a slider to view past frames (should be able to borrow from the bot page, again)
  • GIF export for bug reports (from bot page)
  • A link on the bot page to switch over to manual control; perhaps the user lets the bot play the first few easy levels, then takes over from the same seed and state?
@jnowaczek
Copy link
Member

Would it be worth trying to combine the functionality of the "Bot" and "Game" tabs?

@ChandlerSwift
Copy link
Member Author

Maybe? I think the way they're separated in the UI makes sense, but maybe we could use much of the same code to implement both?

@jnowaczek
Copy link
Member

I took a look and it seems that the “Game” tab is already part of player.js, it occurred to me that it might be more intuitive for the user if they didn’t have to switch tabs to take control of their bot

@ChandlerSwift
Copy link
Member Author

I guess I had imagined a "switch to manual control" button that loads the current frame into the Game tab, and I'm not sure which is less confusing. That seems like it probably wouldn't be too hard to implement, but yours doesn't seem hard either. Hmm.

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