Comments (1)
The issue was in fc_game_convert_coords_to_move() in game.c. I had forgotten to update the game API to account for opp_player and opp_piece being added to the move struct. This has been broken for a really long time without me noticing anything. I really need to (1) perform better validation testing before any major commits (simply running ./a.out and not seeing a crash won't do it anymore) and (2) revamp or completely get rid of the game API -- it is complete trash and the one part of this library which isn't relatively well-written.
from libforchess.
Related Issues (20)
- Mac OS X Shark Profiler HOT 1
- Linux Cannot Find Shared Object File HOT 1
- Switch to a Legitimate License HOT 2
- Simple Example Depth and Time Options
- Build LibForchess with or without Pthreads Support HOT 1
- Gprof + Pthreads
- Autoconf, Automake, Libtools HOT 1
- Create Iterative Version of fc_board_get_moves()
- Add fc_ai_next_ranked_moves()
- Clean-up Game API HOT 2
- Remove Threading Support HOT 1
- Fix Memory Leaks
- Forchess Engine Communication Protocol HOT 1
- Update Game Config File Format
- Deprecate fc_board_setup
- Update API Documentation
- Combine ruby-forchess with libforchess
- Gprof Build Fails
- Cannot Build with --std=c89 on 32-bit Systems HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libforchess.