pasky / pachi

A fairly strong Go/Baduk/Weiqi playing program
http://pachi.or.cz/
GNU General Public License v2.0
514 stars 117 forks source link

C++ Pachi, Type cleanup #103

Closed lemonsqueeze closed 5 years ago

lemonsqueeze commented 5 years ago

This makes Pachi one step away from compiling as a c++ project.

Started as a crazy hack to see if Pachi could be made to compile in c++. I'm not turning it into a c++ project, but i think i like it. Opens up other crazy hacks and i like the idea of being able to compile it in c++ once in a while for extra type checking (c++ can distinguish between enums and ints for example).

Also took the opportunity to revisit low-level apis:

Needless to say the diffs are huge, glad nobody is reviewing this =)