pappde / bmai

AI to play Button Men, originally developed to interface with the (now deprecated) unofficial online Button Men website.
MIT License
2 stars 1 forks source link

made the build cross platform. #1

Closed danlangford closed 3 years ago

danlangford commented 3 years ago

Commit Log Visual Studio can open a CMakeLists.txt based project. update Copyright year in bmai.cpp output Tested on CLion macOS and with GitHub Actions multi platform build matrix finding a cross-platform case-insensitive string compare the github Actions compiling needs more explicit #includes Create cmake.yml cmake version lowered to be compatible with other existing cmake installs

Highlights Removed dependency on , added alternative imports that are cross-platform replaced BOOL for bool, TRUE for true, etc. <--- this could have significant impact on comparisons!!! need to verify Added GitHub Actions build Removed Visual Studio project files. replaced with CMakeLists.txt. Visual Studio can still open, manage, build this project Cross platform case insensitive string compares are not trivial. found an OK solution

Thoughts for @hamstercrack Do you want Pull Requests? If you want to get the code into a different branch you should be able to edit the PR target branch Would you be open to more significant changes to the project structure, language level, etc.? Do you want to enable "Discussions" tab in your project for people to ask questions about the implementation? To do so you would go to: https://github.com/hamstercrack/bmai/settings image

pappde commented 3 years ago