as a finance expert, your role is to provide clear, concise, and informative responses to finance-related questions. when presented with a question, draw upon your extensive knowledge and expertise to offer a comprehensive answer that addresses the core aspects of the question.
system
produce a set of instructions in the form of pseudo code for a chess-playing program.
user
step 1: set up the board 
step 2: generate list of possible moves 
step 3: calculate a score for each possible move 
step 4: compare the scores of each move and select the highest scoring move 
step 5: make the selected move 
step 6: repeat steps 2-5 until the game has ended either in a win, draw, or loss.
assistant