Beginner Programmer

Game development with Board Game Arena Studio
Post Reply
User avatar
Posts: 1
Joined: 11 October 2022, 01:38

Beginner Programmer

Post by TomatoPoop »

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.
Last edited by TomatoPoop on 10 July 2024, 13:33, edited 1 time in total.
User avatar
Posts: 35
Joined: 15 March 2014, 01:07

Re: Beginner Programmer

Post by AxeCrazy »

Building an ai player is not a walk in the park.
I guess the zombie player could be used for that although I am not sure since only acts on timeouts of a regular player I thought.
And then comes the decision making bepending on the game.
And the ai should not be too smart so regular people still have a change…

Short, good luck and keep us piton the process
User avatar
Posts: 1467
Joined: 06 January 2017, 08:38

Re: Beginner Programmer

Post by ufm »

In BGA, engines or AIs are not allowed. All 'bots' in BGA are actually automas which use hard-coded rules (e.g. Heat).
User avatar
Posts: 628
Joined: 28 December 2015, 20:55

Re: Beginner Programmer

Post by Victoria_La »

Post Reply

Return to “Developers”