Hello! I do not know if I am writing this at the right place but I’m desperate for help. I have been learning to code HTML/Javascript/CSS for more or less 1 year. I would like to « copy » a board game and write a code. The issue is that I want to include a « computer » player. Does anybody know of any ressources or things I could look up to make this easier? I am addressing this in this forum as I know that you recognize the difference between coding a typical « browser » game and a board game and might have ideas for coding computer opponents.
I wanted to start with a game like « Lost Cities » or « Azul » but I have no idea of how to do a computer opponent that plays a move that is good.
Clarification: I do not want it to play the best move possible using an AI or a very complicated algorithm. I only want it to play a move which is not bad considering certain parameters.
I wanted to start with a game like « Lost Cities » or « Azul » but I have no idea of how to do a computer opponent that plays a move that is good.
Clarification: I do not want it to play the best move possible using an AI or a very complicated algorithm. I only want it to play a move which is not bad considering certain parameters.