Bot in JavaScript for Wuziqi (Gomoku or Five in a row) board game.
₹600-5000 INR
Paid on delivery
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.
Project ID: #25956515
About the project
2 freelancers are bidding on average ₹4000 for this job
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 More