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

Skirmish Creation #7

Closed
Pabreetzio opened this issue Oct 23, 2014 · 4 comments
Closed

Skirmish Creation #7

Pabreetzio opened this issue Oct 23, 2014 · 4 comments
Assignees

Comments

@Pabreetzio
Copy link
Contributor

There should be a skirmish creation screen where a user can start a battle between two bots of their choosing.

One selection may be limited to their own bots or both their bots and system bots.

For the other selection a user should be able to see a list of the public bots.

The list should be reasonably sized, so after the potential list grows to long it should be a partial list. If the list grows too long we should limit it somehow, perhaps randomly until we reach the point where we need to consider better solutions such as grouping them into categories.

The lists should maintain a user's privacy

We should never expose the URL of a bot unless the user who created it asks us to. We may even not want to expose consecutive primary keys for bots because that could open up potential ways a user can infer the id of a bot that is not public, rather we can create temporary references to the bots using something like a shortcode generator. The shortcodes can reference the public bot, but be changed when the privacy settings for a bot are changed.

The Skirmish settings should be configurable

Things like start time, and time between moves can make it easier for the battle to be viewed. Privacy settings can prevent the battle from being viewed by everyone, or allow it to be published as a public event from elsewhere in the site.

Once two bots are chose the user can launch a battle

The battle room should have a Signal R setup where people can watch the battle live from various machines. The URL for the battle should be a randomly generated id.

@Dubman25
Copy link

As per a previous email, Smiles is working on the Skirmish screen.

Keith

On Oct 23, 2014, at 3:39 PM, Patrick Graham notifications@github.com wrote:

There should be a skirmish creation screen where a user can start a battle between two bots of their choosing.

One selection may be limited to their own bots or both their bots and system bots.

For the other selection a user should be able to see a list of the public bots.

The list should be reasonably sized, so after the potential list grows to long it should be a partial list. If the list grows too long we should limit it somehow, perhaps randomly until we reach the point where we need to consider better solutions such as grouping them into categories.

The lists should maintain a user's privacy

We should never expose the URL of a bot unless the user who created it asks us to. We may even not want to expose consecutive primary keys for bots because that could open up potential ways a user can infer the id of a bot that is not public, rather we can create temporary references to the bots using something like a shortcode generator. The shortcodes can reference the public bot, but be changed when the privacy settings for a bot are changed.

The Skirmish settings should be configurable

Things like start time, and time between moves can make it easier for the battle to be viewed. Privacy settings can prevent the battle from being viewed by everyone, or allow it to be published as a public event from elsewhere in the site.

Once two bots are chose the user can launch a battle

The battle room should have a Signal R setup where people can watch the battle live from various machines. The URL for the battle should be a randomly generated id.


Reply to this email directly or view it on GitHub.

@Dubman25
Copy link

Is this an issue or an enhancement? How are we tracking tasks?

@Pharylon
Copy link
Contributor

While it's not done yet by a longshot, I did some work on this so it's more-or-less working.

@Pharylon Pharylon added this to the Deep Diver Tournament milestone Oct 31, 2014
@Pharylon
Copy link
Contributor

Pharylon commented Nov 1, 2014

OK, while there's room for improvement, I'm ready to call this done. I pulled out the main Battle View logic into a partial view so we can call it from any other views we make in the Battle Controller. The Skirmish code is now part of the Battle Controller rather than Home, but it's basically the way Patrick had it set up before. I forgot to branch this time... sorry. So it's already commited to the Master branch.

@Pharylon Pharylon closed this as completed Nov 1, 2014
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

4 participants