AiBattleground / BotWars

The AiBattleground website and NetBots Game Engine. Serves as an artificial intelligence challenge where AI bots can compete in programming game.
http://aibattleground.com
MIT License
5 stars 5 forks source link

Skirmish Creation #7

Closed Pabreetzio closed 10 years ago

Pabreetzio commented 10 years ago

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 commented 10 years ago

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 commented 10 years ago

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

Pharylon commented 10 years ago

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

Pharylon commented 10 years ago

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.