My best for now
There it is. Basic AI.
Since i can't win anymore, must be at least on par with the other games i have been playing. Basically i made a simple implementation of the Minimax with AB pruning for godot, based on another implementation i saw here:
https://github.com/byanofsky/chess-ai-2/blob/master/public/js/movecalc.js
Making it work with my animation and game controller was not so bad, but understanding and making the code efficient in godot was a little challenging. First versions took more than 3 minutes processing and the version i will post takes less than 10 seconds most of the time on the same difficulty.
If you are playing, please leave your thoughts in the comments section so i can make it better.
A little remark: There is still no promotion and castling and some of chess basic game rules (50-rule, forbid to move king on check, etc..) Some UI aspects will be ironed out and evolved now, such as player turn indicator, top down board map and maybe a undo movement mechanic later on. As these aspects get finished, i hope to work on multiple scenarios and maybe skins for the pieces. But alas, first things first.
As usual, hope you all enjoy.
Get Fantasy Chess
Fantasy Chess
Chess + Fantasy
Status | In development |
Author | Pawn Games |
Tags | android, Board Game, Chess, Fantasy, Godot, knight, linux, Medieval, undead, windows |
Languages | English, Portuguese (Brazil) |
More posts
- WhooopsJan 29, 2021
- Here we are again!Jan 28, 2021
- There and Back AgainApr 19, 2020
- Going FreeOct 29, 2019
- Official LaunchOct 22, 2019
- Html play is backSep 27, 2019
- No browser plays for nowSep 26, 2019
- Hanging by a threadSep 26, 2019
- Being impatientSep 18, 2019
Leave a comment
Log in with itch.io to leave a comment.