{"action":"created","issue":{"url":"https://api.github.com/repos/MegaMek/megamek/issues/203","repository_url":"https://api.github.com/repos/MegaMek/megamek","labels_url":"https://api.github.com/repos/MegaMek/megamek/issues/203/labels{/name}","comments_url":"https://api.github.com/repos/MegaMek/megamek/issues/203/comments","events_url":"https://api.github.com/repos/MegaMek/megamek/issues/203/events","html_url":"https://github.com/MegaMek/megamek/issues/203","id":155619435,"number":203,"title":"RFE: Single Blind Option for Princess","user":{"login":"scJazz2","id":16738384,"avatar_url":"https://avatars.githubusercontent.com/u/16738384?v=3","gravatar_id":"","url":"https://api.github.com/users/scJazz2","html_url":"https://github.com/scJazz2","followers_url":"https://api.github.com/users/scJazz2/followers","following_url":"https://api.github.com/users/scJazz2/following{/other_user}","gists_url":"https://api.github.com/users/scJazz2/gists{/gist_id}","starred_url":"https://api.github.com/users/scJazz2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scJazz2/subscriptions","organizations_url":"https://api.github.com/users/scJazz2/orgs","repos_url":"https://api.github.com/users/scJazz2/repos","events_url":"https://api.github.com/users/scJazz2/events{/privacy}","received_events_url":"https://api.github.com/users/scJazz2/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/MegaMek/megamek/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2016-05-18T22:51:49Z","updated_at":"2016-05-31T02:40:26Z","closed_at":null,"body":"Reference... https://sourceforge.net/p/megamek/feature-requests/1354/\r\n\r\nafter chatting with Arlith, Akjosch, and others on Esper #battletech...\r\n\r\nI would like to RFE a Single Blind option for Princess games. Princess does a /seeall for each Princess player? Human plays as Blind."},"comment":{"url":"https://api.github.com/repos/MegaMek/megamek/issues/comments/222580473","html_url":"https://github.com/MegaMek/megamek/issues/203#issuecomment-222580473","issue_url":"https://api.github.com/repos/MegaMek/megamek/issues/203","id":222580473,"user":{"login":"arlith","id":13815237,"avatar_url":"https://avatars.githubusercontent.com/u/13815237?v=3","gravatar_id":"","url":"https://api.github.com/users/arlith","html_url":"https://github.com/arlith","followers_url":"https://api.github.com/users/arlith/followers","following_url":"https://api.github.com/users/arlith/following{/other_user}","gists_url":"https://api.github.com/users/arlith/gists{/gist_id}","starred_url":"https://api.github.com/users/arlith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arlith/subscriptions","organizations_url":"https://api.github.com/users/arlith/orgs","repos_url":"https://api.github.com/users/arlith/repos","events_url":"https://api.github.com/users/arlith/events{/privacy}","received_events_url":"https://api.github.com/users/arlith/received_events","type":"User","site_admin":false},"created_at":"2016-05-31T02:40:26Z","updated_at":"2016-05-31T02:40:26Z","body":"The `/seeAll` command works by setting the `Player.see_entire_board` state.  This is used in two methods in `Player`: `canSeeAll()` and `getSeeAll()`.  The latter just returns the value of `Player.see_entire_board`, and is only used for artillery attacks.  `Player.canSeeAll()` is used in the primary double-blind related methods (`Server.filterEntities`, `Server.whoCanSee`, and `Entity.hasSeenEntity`), however it returns `Player.observer && Player.see_entire_board`, which means that it only takes effect if the player is also an observer (to prevent cheating).\r\n\r\nFor the `/seeAll` command to have an effect, the bot player would need to  be an observer, and players controlled by bots are no different from any other player (bots are implemented as clients that play for a player).\r\n\r\nThis framework could be used to create a singleblind mode for Princess, but from my interpretation of the code, `/seeAll` won't do anything right now.  Of course, I didn't run any actual tests, just looked at the code..."}}
{"actor":{"display_login":"arlith"}}