Skip to content

Releases: Parigyan/ASCII-Chess

Segmentation fault error has been dealt with

22 Feb 17:01
Compare
Choose a tag to compare

The segmentation fault was arising due to a flaw in design related to maxim_val. When maxim_val was getting negative then the revised value of 0.3*maxim_val was showing a value bigger than original maxim_val, hence all the nodes in root->array[z] were getting cleared and this resulted to a segmentation fault as the vic_shell had nothing to point to, except it's marker value 200.
Now the program is free from any kind of bug, but more logical solutions and algorithms are still needed in the AI.
In future XBoard may be added to provide a better experience.

Safe Quit issue resolved along with the linker problem

14 Feb 08:52
Compare
Choose a tag to compare

Earlier the program wasn't exiting normally and since the AI.h file was named as AI.c, this lead a problem with the linker at the time of compilation. But these issues are dealt with by adding a goto statement to safely exit and by doing the necessary changes with the file name.

Simple AI implemented with no GUI

11 Jan 16:14
Compare
Choose a tag to compare
Merge pull request #2 from GLUG-DTU/master

Changed code directory name to src from complete