Answers.Body: <p>Follow my instructions in the screenshot.</p>
  
  <p><img src="https://i.sstatic.net/NJVbZ.png" alt="enter image description here"></p>
  
  <p><img src="https://i.sstatic.net/ScFkR.png" alt="enter image description here"></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-02-02T07:15:26.717Z
Answers.Text: hi again Student_T, please check my update. Thanks
Answers.UserDisplayName: dimas
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-02-02T07:04:57.640Z
Answers.LastActivityDate: 2015-02-02T07:04:57.640Z
Answers.UserDisplayName: SmallChess
Answers.Body: <p>You must send a new position to the engine after each move. There are two main ways to send the new position, which are to send a FEN, or to send the moves themselves.</p>
  <ol>
  <li><p><code>position fen rnbqkbnr/pppp1ppp/8/4p3/4P3/8/PPPP1PPP/RNBQKBNR b KQkq - 0 2</code></p>
  </li>
  <li><p><code>position startpos moves e2e4 e7e5</code></p>
  </li>
  </ol>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-10-13T16:10:30.040Z
Answers.LastActivityDate: 2023-10-13T16:10:30.040Z
Answers.UserDisplayName: eagleDog
Body: <p>I need help from someone who knows about UCI engines. I am giving the command by double clicking on stockfishengine.exe and manually entering commands.
  I wanted to play white and I am running arena to play as computer (black).</p>
  
  <p>I entered the following pgns in sequence:
  e2e4, e7e5 (arena)... , e2e4</p>
  
  <pre><code>Commands entered:
  uci
  ...
  ucinewgame
  ...
  position startpos
  ...
  go infinite
  ...logs here...
  stop
  bestmove e2e4 ponder
  ------------
  Arena GUI using stockfish engine made move : e7e5
  ------------
  position startpos e2e4 e7e5
  go infinite
  ...
  logs here
  ...
  stop
  bestmove e2e4 ponder e7e5
  </code></pre>
  
  <p>As you can see above its still giving me e2e4 it should have suggested other moves for white instead of giving me the same best move. Can anyone help me on this? Thanks</p>
  
  <p>Update:</p>
  
  <p>Its still giving me the same best move. Maybe their are other things that I have to set before issuing position startpos ... command?</p>
  
  <p><img src="https://i.sstatic.net/X2FDF.png" alt="enter image description here"></p>
  
  <p><img src="https://i.sstatic.net/IyHQM.png" alt="enter image description here"></p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-02-02T07:01:34.273Z
Comments.Text: To debug on Stockfish console, type "d". Try it.
Comments.UserDisplayName: SmallChess
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-02-02T07:17:48.900Z
Comments.Text: You are missing moves in the startpos command in your edited. Please look carefully how I typed.
Comments.UserDisplayName: SmallChess
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-02-02T07:22:08.720Z
Comments.Text: oppss didn't see that thanks. Its working now. I'll try more moves and see if it will give me something else.
Comments.UserDisplayName: dimas
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-02-02T07:49:56.603Z
Comments.Text: Its now working student_T couldn't have done it without you. Now just a quick question, I wanted to start a new post but it seems like a waste. Is there a command to tell stockfish to read a .pgn file?
Comments.UserDisplayName: dimas
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-02-02T08:42:55.947Z
Comments.Text: According to the rule of the website, I should only answer a question per post. Also, please consider accepting my answer if you think it's helpful.
Comments.UserDisplayName: SmallChess
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-02-02T08:51:54.187Z
Comments.Text: Ok i'll do another post
Comments.UserDisplayName: dimas
Tags: <analysis><engines><stockfish><uci>
Title: UCI engine command white giving the same move
ThreadText: # UCI engine command white giving the same move
  
  (Asked by: username_0 on 2015-02-02)
  
  I need help from someone who knows about UCI engines. I am giving the command by double clicking on stockfishengine.exe and manually entering commands.
  I wanted to play white and I am running arena to play as computer (black).
  I entered the following pgns in sequence:
  e2e4, e7e5 (arena)... , e2e4
  Commands entered:
  uci
  ...
  ucinewgame
  ...
  position startpos
  ...
  go infinite
  ...logs here...
  stop
  bestmove e2e4 ponder
  ------------
  Arena GUI using stockfish engine made move : e7e5
  ------------
  position startpos e2e4 e7e5
  go infinite
  ...
  logs here
  ...
  stop
  bestmove e2e4 ponder e7e5
  
  As you can see above its still giving me e2e4 it should have suggested other moves for white instead of giving me the same best move. Can anyone help me on this? Thanks
  Update:
  Its still giving me the same best move. Maybe their are other things that I have to set before issuing position startpos ... command?
  
  **Tags:** analysis, engines, stockfish, uci
  
  > **Comments:**
  > **username_1**: To debug on Stockfish console, type "d". Try it.  
  > **username_1**: You are missing moves in the startpos command in your edited. Please look carefully how I typed.  
  > **username_0**: oppss didn't see that thanks. Its working now. I'll try more moves and see if it will give me something else.  
  > **username_0**: Its now working student_T couldn't have done it without you. Now just a quick question, I wanted to start a new post but it seems like a waste. Is there a command to tell stockfish to read a .pgn file?  
  > **username_1**: According to the rule of the website, I should only answer a question per post. Also, please consider accepting my answer if you think it's helpful.  
  > **username_0**: Ok i'll do another post  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2015-02-02. Score: 3 | Accepted answer
  
  Follow my instructions in the screenshot.
  
  ![enter image description here](https://i.sstatic.net/NJVbZ.png)
  
  ![enter image description here](https://i.sstatic.net/ScFkR.png)
  
  > **Comments:**
  > **username_0**: hi again Student_T, please check my update. Thanks  
  
  ---
  
  ### Answer by username_2 on 2023-10-13. Score: 0
  
  You must send a new position to the engine after each move. There are two main ways to send the new position, which are to send a FEN, or to send the moves themselves.
  
  1. `position fen rnbqkbnr/pppp1ppp/8/4p3/4P3/8/PPPP1PPP/RNBQKBNR b KQkq - 0 2`
  2. `position startpos moves e2e4 e7e5`
  
  
  ---
  
  