Writing a game algorithm
I am writing the adversarial algorithm of a chess-like program.
There are two players in the game, and they will take action in turn.
Although each player only has one chess and makes one move each round, the constrains and the coordinates on the board are hard to deal with.
I need to check the state of the game - whether it ends and who is the winner.
The legality of each action also needs to be checked. Tokens cannot move through others' or the boundary of the board.
I want to implement it by this Friday.
Cerca tra vari insegnanti di Inglese...
Correzioni · 2
1
Writing a game algorithm
I am writing the adversarial algorithm of a chess-like program.
There are two players in the game, and each will take their own action every round.
Although each player only has one chess and makes one move each round, the constrains and the coordinates on the board are hard to deal with.
I need to check the status of the game - whether it ends and who will be the winner.
The legality of each action also needs to be checked. Tokens cannot move through other positions or outside of the boundary of the board.
I want to implement start it by this on Friday.
Good job Alex!
If you wish to improve your English writing skills, you can book a class with me here https://teach.italki.com/teacher/6316717 . I will create a lesson plan upon sending your request and I'll make sure that we will have a fun class. I hope to see you soon! :)
Vuoi progredire più velocemente?
Unisciti a questa comunità di apprendimento e prova gli esercizi gratuiti!
Non perdere l'opportunità di imparare una lingua comodamente da casa tua. Esplora la nostra selezione di insegnanti di lingue esperti e iscriviti subito alla tua prima lezione!
Inizia a imparare oggi
