xwang233 / bot-build

AI bot build.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AI bot build

This repo features some AI bot build I wrote for fun, mainly those code challenges from Hackerrank AI section.

Battleship

I used a probability-based hit strategy. Please check battleship-cpp/readme.md for details.

Tic-Tac-Toe

By using minimax strategy, with alpha-beta pruning, all games are tied. (Unless your opponent's AI sucks.)

Please check tic-tac-toe/readme.md for details.

Checkers (Draughts)

I used minimax strategy with alpha-beta pruning. My next step is to introduce more parameters and static/dynamic evaluators, and optimize them by playing against another bot.

Visualization for checkers is added! Front-end with javascript is forked from codethejason with bug-fix. I wronte the back-end using C++ and dlib for networking. The back-end is dynamically linked to the checkers repo.

Please check checkers-cpp/readme.md and checkers-visualize/readme.md for details.

License

MIT

About

AI bot build.

License:MIT License


Languages

Language:C++ 98.4%Language:Makefile 1.1%Language:CMake 0.6%