Answers.Body: <p>If you're looking for a truly random position, I'd just roll an <a href="https://en.wikipedia.org/wiki/Dice#Standard_variations" rel="nofollow noreferrer">eight-sided die</a> a couple of times to determine the column and row of each piece. (If the position is illegal, just reroll.) You can then enter the position into a chess program and play against the engine. <a href="https://www.wizards.com/dnd/dice/dice.htm" rel="nofollow noreferrer">Here</a>'s an online dice roller in case you don't have physical ones, the one you're looking for is called the <code>d8</code>.</p>
  
  <p>If you're looking to practice key positions in KRP vs. KR specifically, you'd probably be interested in John Nunn's <a href="http://rads.stackoverflow.com/amzn/click/1901983188" rel="nofollow noreferrer">Secrets of Rook Endings</a>. I forgot how this book is organized exactly, but it contains almost all positions in this ending which are worth studying.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-06-08T08:59:34.973Z
Answers.Text: That book actually inspired me to practice these sorts of problems, so if I don't remember the maneuver I just go back and review it.
Answers.UserDisplayName: Jossie Calderon
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-06-16T22:12:14.273Z
Answers.Text: Random dot org is faster than that dice rolling since we always need a large collection of random numbers per position: https://www.random.org/integers/?num=10&min=1&max=8&col=2&base=10&format=html&rnd=new
Answers.UserDisplayName: PartyLovingHermit
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-06-08T07:47:47.327Z
Answers.LastActivityDate: 2017-06-08T07:47:47.327Z
Answers.UserDisplayName: Glorfindel
Answers.Body: <p><a href="https://repl.it/ImZP/1" rel="nofollow noreferrer">I made a program.</a></p>
  
  <p>Just run (button near the top) it until you get a legal position. Even if you add a black pawn, most of the time it should only take one try.</p>
  
  <p>You could try downloading a python chess library that has a simple method which checks if the position is legal.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-06-15T05:58:03.667Z
Answers.LastActivityDate: 2017-06-15T05:58:03.667Z
Answers.UserDisplayName: PartyLovingHermit
Answers.Body: <p>I would go to Week In Chess, load the weekly games into Chessbase, and do some search filtering and play the game out at some point against a comp. When you fail (it will happen), then you can at least get an idea from the practical viewpoint of the players and review the completion of the game as played. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-06-16T19:16:06.360Z
Answers.Text: How do I load the games into the Chessbase?
Answers.UserDisplayName: Jossie Calderon
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-06-16T23:59:50.203Z
Answers.Text: On windows, if you have installed chessbase, it would have set .pgn extensions to open Chessbase for all pgn files. Double-click the file will usually do it.
Answers.UserDisplayName: Priyome
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-06-08T09:45:39.573Z
Answers.LastActivityDate: 2017-06-08T09:45:39.573Z
Answers.UserDisplayName: Priyome
Body: <p>I'm looking for a set of exercises (contained in a book, website, or chess engine) where I can practice what I know in regards to <strong>rook and pawn vs. rook</strong> endgames. I could find a friend to randomly place pieces on the board for me, but I don't see what would be in it for her or him.</p>
  
  <p>Something ideal would be a website that displays a puzzle that I can solve, but the pawn would have to be on the a- or h-file and 7th rank. If I can set these parameters while randomizing the position of the rooks or king, that would be great.</p>
  
  <p>Where can I find such a website, and if there isn't any, how can I create such an object? <strong>The object would set the pieces randomly on the board, with the exception of my selection.</strong> So if I select the pawn to be on a7 and the king to be on a8, it will randomly place the other pieces elsewhere. I'm only interested in the following pieces being on the board: A pair of kings, a pair of rooks, and one pawn.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-06-17T19:00:42.577Z
Comments.Text: Not quite the same as what you want, but I recall that at the Internet Chess Club (ICC) they had various bots for practicing mating an opponent, with KQ, KR, KBB, or KBN vs. K. The pieces would be randomized and the computer would play black. I don't think they had many other options though.
Comments.UserDisplayName: TMM
Tags: <software><endgame><problems><rook-endgame><study>
Title: Where to find specific endgame practice exercises/puzzles/practice bots?
ThreadText: # Where to find specific endgame practice exercises/puzzles/practice bots?
  
  (Asked by: username_0 on 2017-06-08)
  
  I'm looking for a set of exercises (contained in a book, website, or chess engine) where I can practice what I know in regards to **rook and pawn vs. rook** endgames. I could find a friend to randomly place pieces on the board for me, but I don't see what would be in it for her or him.
  
  Something ideal would be a website that displays a puzzle that I can solve, but the pawn would have to be on the a- or h-file and 7th rank. If I can set these parameters while randomizing the position of the rooks or king, that would be great.
  
  Where can I find such a website, and if there isn't any, how can I create such an object? **The object would set the pieces randomly on the board, with the exception of my selection.** So if I select the pawn to be on a7 and the king to be on a8, it will randomly place the other pieces elsewhere. I'm only interested in the following pieces being on the board: A pair of kings, a pair of rooks, and one pawn.
  
  **Tags:** software, endgame, problems, rook-endgame, study
  
  > **Comments:**
  > **username_1**: Not quite the same as what you want, but I recall that at the Internet Chess Club (ICC) they had various bots for practicing mating an opponent, with KQ, KR, KBB, or KBN vs. K. The pieces would be randomized and the computer would play black. I don't think they had many other options though.  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_2 on 2017-06-08. Score: 1 | Accepted answer
  
  If you're looking for a truly random position, I'd just roll an [eight-sided die](https://en.wikipedia.org/wiki/Dice#Standard_variations) a couple of times to determine the column and row of each piece. (If the position is illegal, just reroll.) You can then enter the position into a chess program and play against the engine. [Here](https://www.wizards.com/dnd/dice/dice.htm)'s an online dice roller in case you don't have physical ones, the one you're looking for is called the `d8`.
  
  If you're looking to practice key positions in KRP vs. KR specifically, you'd probably be interested in John Nunn's [Secrets of Rook Endings](http://rads.stackoverflow.com/amzn/click/1901983188). I forgot how this book is organized exactly, but it contains almost all positions in this ending which are worth studying.
  
  > **Comments:**
  > **username_0**: That book actually inspired me to practice these sorts of problems, so if I don't remember the maneuver I just go back and review it.  
  > **username_3**: Random dot org is faster than that dice rolling since we always need a large collection of random numbers per position: https://www.random.org/integers/?num=10&min=1&max=8&col=2&base=10&format=html&rnd=new  
  
  ---
  
  ### Answer by username_3 on 2017-06-15. Score: 1
  
  [I made a program.](https://repl.it/ImZP/1)
  
  Just run (button near the top) it until you get a legal position. Even if you add a black pawn, most of the time it should only take one try.
  
  You could try downloading a python chess library that has a simple method which checks if the position is legal.
  
  
  ---
  
  ### Answer by username_4 on 2017-06-08. Score: 1
  
  I would go to Week In Chess, load the weekly games into Chessbase, and do some search filtering and play the game out at some point against a comp. When you fail (it will happen), then you can at least get an idea from the practical viewpoint of the players and review the completion of the game as played.
  
  > **Comments:**
  > **username_0**: How do I load the games into the Chessbase?  
  > **username_4**: On windows, if you have installed chessbase, it would have set .pgn extensions to open Chessbase for all pgn files. Double-click the file will usually do it.  
  
  ---
  
  