{"action":"created","issue":{"url":"https://api.github.com/repos/ornicar/lila/issues/706","labels_url":"https://api.github.com/repos/ornicar/lila/issues/706/labels{/name}","comments_url":"https://api.github.com/repos/ornicar/lila/issues/706/comments","events_url":"https://api.github.com/repos/ornicar/lila/issues/706/events","html_url":"https://github.com/ornicar/lila/issues/706","id":93771696,"number":706,"title":"Auto-draw on insufficient material in Horde","user":{"login":"ProgramFOX","id":8034604,"avatar_url":"https://avatars.githubusercontent.com/u/8034604?v=3","gravatar_id":"","url":"https://api.github.com/users/ProgramFOX","html_url":"https://github.com/ProgramFOX","followers_url":"https://api.github.com/users/ProgramFOX/followers","following_url":"https://api.github.com/users/ProgramFOX/following{/other_user}","gists_url":"https://api.github.com/users/ProgramFOX/gists{/gist_id}","starred_url":"https://api.github.com/users/ProgramFOX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProgramFOX/subscriptions","organizations_url":"https://api.github.com/users/ProgramFOX/orgs","repos_url":"https://api.github.com/users/ProgramFOX/repos","events_url":"https://api.github.com/users/ProgramFOX/events{/privacy}","received_events_url":"https://api.github.com/users/ProgramFOX/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-08T12:02:59Z","updated_at":"2015-08-15T22:26:40Z","closed_at":null,"body":"Related game: http://en.lichess.org/ANFz3OwA\r\n\r\nWhite had only one queen (promoted from pawn) and black had only his king left; a checkmate would never have been possible, so I expected an auto-draw here. This wasn't there, so perhaps it would be a good idea to add one."},"comment":{"url":"https://api.github.com/repos/ornicar/lila/issues/comments/131456747","html_url":"https://github.com/ornicar/lila/issues/706#issuecomment-131456747","issue_url":"https://api.github.com/repos/ornicar/lila/issues/706","id":131456747,"user":{"login":"ddugovic","id":1834123,"avatar_url":"https://avatars.githubusercontent.com/u/1834123?v=3","gravatar_id":"","url":"https://api.github.com/users/ddugovic","html_url":"https://github.com/ddugovic","followers_url":"https://api.github.com/users/ddugovic/followers","following_url":"https://api.github.com/users/ddugovic/following{/other_user}","gists_url":"https://api.github.com/users/ddugovic/gists{/gist_id}","starred_url":"https://api.github.com/users/ddugovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddugovic/subscriptions","organizations_url":"https://api.github.com/users/ddugovic/orgs","repos_url":"https://api.github.com/users/ddugovic/repos","events_url":"https://api.github.com/users/ddugovic/events{/privacy}","received_events_url":"https://api.github.com/users/ddugovic/received_events","type":"User","site_admin":false},"created_at":"2015-08-15T22:26:40Z","updated_at":"2015-08-15T22:26:40Z","body":"@Unihedro I would suggest that `K` vs `P+` should be a draw if either:\r\n\r\n* the king is \"outside the square\" of a pawn (i.e. if all other pawns were removed, the king still could not catch the pawn)\r\n* with worst play, the horde is guaranteed to promote and not be captured.  For example:\r\nhttp://lichess.org/editor/8/8/8/P1k1P3/8/8/8/8_w_-_-\r\n\r\nBut I would not consider the following position a draw unless white plays `1. a6`:\r\n\r\n* Horde could play `1. b6??` http://lichess.org/editor/8/8/8/PP1k4/8/8/8/8_w_-_-"}}