Bot in JavaScript for Wuziqi (Gomoku or Five in a row) board game.

Wuziqi is a board game in which the objective is to capture 5 cells in a row. I want a bot for it.

I already have the 2-player-version ready. The only thing I need is an intelligent bot that people can play against (i.e., single player).

Sample game - [login to view URL]

Wikipedia article - [login to view URL]

Requirements -

* Well commented code written in JavaScript (ES6) with proper naming & standard conventions.

* AI which allows single player matches.

* Should support custom grid size (eg: 10 x 10, 14 x 17, 21 x 21).

* Customizable difficulty level (easy, medium, hard).

* Shouldn't get stuck if it's a draw.

* Code should pass ESLint / StandardJS checks.

The final script file(s) should be in vanilla ES6 JavaScript. No TypeScript, or CoffeeScript, or other libraries. I am hoping for a plug and play solution - something that I can use like this:

// Bot = class defined by you

const ai = new Bot ({ level: 2, rows: 12, cols: 15, playerTakesFirstTurn: true })

[login to view URL]({ lastTurn }) // last turn = row, column of the cell selected by human player

The above is just an example of how I would want to use (“invoke”) your bot. I am open to reasonable alternatives. Please note that I have plans of using it to support server side (online) as well as client side (offline) gameplay.

I need ONLY the logic for the bot. I have everything else - web page for game grid; handling 2 player games, etc.

I will, of course, need to check the gameplay demo somewhere before considering the project to be complete. You can host it in your personal server or some place like CodePen or JSFiddle.

Please check the above links for info regarding the game itself. Do let me know if you need further details.

Habilidades: JavaScript, Inteligência Artificial, Programming

Veja mais: board game graphic, board game interface, multi level marketing board game, gomoku origin, gomoku pronunciation, gomoku app, gomoku amazon, gomoku strategy, gomoku game, gomoku ai, go board game, board game logo, board game environment java, graphic design board game, javascript show hide table row drop, example babble board game, sharepoint data view row board display, top board game logo designs, animal theme board game projects, multiplayer board game script

Acerca do Empregador:
( 0 comentários ) Durgapur, India

ID do Projeto: #25956515

2 freelancers estão ofertando em média ₹4000 nesse trabalho


Hi! I'm a researcher in computational engineering and science, and I can program in vanilla JavaScript. I would love to develop a AI for this game. I've worked in projects of computational intelligence, and a project t Mais

₹4000 INR in 3 dias
(0 Comentários)

Hi, Hope you are doing good. I have gone through your requirement and I do have skill set you are looking for. I am certified advanced RPA and QA Automation Professional. I have 2+ year of experience with Automation Mais

₹4000 INR in 7 dias
(0 Comentários)