Implement two Haskell function

Job ID: 32997562

Budget: $10 – $30 USD

Add 2 functions in Chinese Chess game Xiangqi using Haskell

I need extra 2 functions for my BOT in Haskell
The implementation should be in the XiangqiBot.hs

First function name is listMoves

The listMoves function shall calculate a list of all possible moves in the situation and output it as a string in the notation. In all game situations all rule conform moves need to be calculated correctly.

Second function name is getMove
The getMove function selects one of the possible moves and returns only this move back. The selection is done according to your own strategy. It can be random for example.

Are you interested?
If you are interested in this work, please send message me

Thank you