Skip to content

Releases: pappde/bmai

[auto] BMAI-macOS

05 Nov 02:38
94ed97d
Compare
Choose a tag to compare
[auto] BMAI-macOS Pre-release
Pre-release

Branch: main
Build Type: Release
Run At: Sun Nov 5 02:38:46 UTC 2023
Trigger: schedule
Binary Version: v3.0-34-g94ed97d

Changes since v3.094ed97d Feature/cpp17prep (#43)
c4327fd convert README to markdown (#40)
986c0ab option to disallow surrender [fixes #32] (#36)
1dc04bd attempting GoogleTest framework #33 (#34)
df1052a update the github url (#35)
52e8986 apparently there kind of is a Q Swing (#31)
51d8cc8 print version info from git describe (#30)
b41f92b Static linux builds (#29)
eeb1c46 dbl051823 - added P-Swing support (#28)
bbd2e01 Reduce duplicate PR builds (#27)
91f15ef More GH Action work (#25)
6b7448e Merge pull request #24 from hamstercrack/cleanup-Headers
a0f4659 Merge pull request #21 from hamstercrack/codeql-analysis
a8ca085 + Project: add headers to all files
a2b9769 Merge pull request #20 from danlangford/copyright
631d318 Create codeql-analysis.yml
22afd2d updated copyrights to 2021
3936855 Merge pull request #19 from hamstercrack/fix-bug16
26ffbf8 + Swing Reserve: [fixes #16] - fixes Player::m_swing_dice[] not being updated when a swing reserve die is used (i.e. goes from !IsUsed() to IsUsed()) - EXPL: there is a co-dependency between the m_swing_dice[] counts and the Die::IsUsed() state. See BMC_Player::OnDiceParsed(). If m_swing_dice[] is not updated, then the AI doesn't know that it needs to include that swing type in it's list of candidate SetSwing actions. - added test input for bug + Warnings: fixed one size_t -> INT cast warning + Style: fixed several inconsistent if/else bracketing + Project: - partial work towards splitting up classes into distinct headers/source files - headers: setup several - source: only setup Stats.cpp - player.cpp: renamed to drop the prefix
da975ce Merge pull request #15 from danlangford/14-ornery-dice-rerolls
f82f7df trying to enhance build patterns
3620097 trying to enhance build patterns
e276589 move an assert over to OnApplyAttackPlayer
f4d6931 adding headers to the CMake helps IDEs (EclipseCPP,XCode) index all necessary files
6ba9a63 get builds on PRs
349932a adding project name back into cmake file
d262504 Merge branch 'main' of github.com:hamstercrack/bmai into 14-ornery-dice-rerolls
8018cd7 some changes to some comments mostly
505a162 fixes #14 where ornery dice should not be rerolled unless an attack is made
d8913b0 + CMake: reduce required from 3.14 to 3.8 to support VS2017 + Source: - moved necessary STD headers used by bmai_ap.cpp to principal header bmai.h - fixed some cast warnings. These are all acceptable loss of precision. + Mechanics - Twin dice: the "Dice()" method was incorrectly casting the return value of 1/2 to a "bool". That will not work in certain compilers. Fixed to return integer. - Morphing: fixed so rule doesn't run if not doing an attack. This was triggering an assert + AI - GetAttackAction(): fixed several uninitialized variables, pariticularly "score". In a release build this could have resulted in effectively arbitrary scores, therefore resulting in incorrect actions. In a debug build, this would have had very odd looking scores but would have worked. + Tests: - bug11_in.txt from github issues
15aba3c Merge pull request #7 from danlangford/file-organization
b33ad19 new dir structure.
2b98384 Merge pull request #1 from danlangford/cross-platform-build
c8a5a88 made the build cross platform. Visual Studio can open a CMakeLists.txt based project. Tested on CLion macOS

[auto] BMAI-Windows

05 Nov 02:39
94ed97d
Compare
Choose a tag to compare
[auto] BMAI-Windows Pre-release
Pre-release

Branch: main
Build Type: Release
Run At: Sun Nov 5 02:39:38 UTC 2023
Trigger: schedule
Binary Version: v3.0-34-g94ed97d

Changes since v3.094ed97d Feature/cpp17prep (#43)
c4327fd convert README to markdown (#40)
986c0ab option to disallow surrender [fixes #32] (#36)
1dc04bd attempting GoogleTest framework #33 (#34)
df1052a update the github url (#35)
52e8986 apparently there kind of is a Q Swing (#31)
51d8cc8 print version info from git describe (#30)
b41f92b Static linux builds (#29)
eeb1c46 dbl051823 - added P-Swing support (#28)
bbd2e01 Reduce duplicate PR builds (#27)
91f15ef More GH Action work (#25)
6b7448e Merge pull request #24 from hamstercrack/cleanup-Headers
a0f4659 Merge pull request #21 from hamstercrack/codeql-analysis
a8ca085 + Project: add headers to all files
a2b9769 Merge pull request #20 from danlangford/copyright
631d318 Create codeql-analysis.yml
22afd2d updated copyrights to 2021
3936855 Merge pull request #19 from hamstercrack/fix-bug16
26ffbf8 + Swing Reserve: [fixes #16] - fixes Player::m_swing_dice[] not being updated when a swing reserve die is used (i.e. goes from !IsUsed() to IsUsed()) - EXPL: there is a co-dependency between the m_swing_dice[] counts and the Die::IsUsed() state. See BMC_Player::OnDiceParsed(). If m_swing_dice[] is not updated, then the AI doesn't know that it needs to include that swing type in it's list of candidate SetSwing actions. - added test input for bug + Warnings: fixed one size_t -> INT cast warning + Style: fixed several inconsistent if/else bracketing + Project: - partial work towards splitting up classes into distinct headers/source files - headers: setup several - source: only setup Stats.cpp - player.cpp: renamed to drop the prefix
da975ce Merge pull request #15 from danlangford/14-ornery-dice-rerolls
f82f7df trying to enhance build patterns
3620097 trying to enhance build patterns
e276589 move an assert over to OnApplyAttackPlayer
f4d6931 adding headers to the CMake helps IDEs (EclipseCPP,XCode) index all necessary files
6ba9a63 get builds on PRs
349932a adding project name back into cmake file
d262504 Merge branch 'main' of github.com:hamstercrack/bmai into 14-ornery-dice-rerolls
8018cd7 some changes to some comments mostly
505a162 fixes #14 where ornery dice should not be rerolled unless an attack is made
d8913b0 + CMake: reduce required from 3.14 to 3.8 to support VS2017 + Source: - moved necessary STD headers used by bmai_ap.cpp to principal header bmai.h - fixed some cast warnings. These are all acceptable loss of precision. + Mechanics - Twin dice: the "Dice()" method was incorrectly casting the return value of 1/2 to a "bool". That will not work in certain compilers. Fixed to return integer. - Morphing: fixed so rule doesn't run if not doing an attack. This was triggering an assert + AI - GetAttackAction(): fixed several uninitialized variables, pariticularly "score". In a release build this could have resulted in effectively arbitrary scores, therefore resulting in incorrect actions. In a debug build, this would have had very odd looking scores but would have worked. + Tests: - bug11_in.txt from github issues
15aba3c Merge pull request #7 from danlangford/file-organization
b33ad19 new dir structure.
2b98384 Merge pull request #1 from danlangford/cross-platform-build
c8a5a88 made the build cross platform. Visual Studio can open a CMakeLists.txt based project. Tested on CLion macOS

[auto] BMAI-Linux

05 Nov 02:38
94ed97d
Compare
Choose a tag to compare
[auto] BMAI-Linux Pre-release
Pre-release

Branch: main
Build Type: Release
Run At: Sun Nov 5 02:38:15 UTC 2023
Trigger: schedule
Binary Version: v3.0-34-g94ed97d

Changes since v3.094ed97d Feature/cpp17prep (#43)
c4327fd convert README to markdown (#40)
986c0ab option to disallow surrender [fixes #32] (#36)
1dc04bd attempting GoogleTest framework #33 (#34)
df1052a update the github url (#35)
52e8986 apparently there kind of is a Q Swing (#31)
51d8cc8 print version info from git describe (#30)
b41f92b Static linux builds (#29)
eeb1c46 dbl051823 - added P-Swing support (#28)
bbd2e01 Reduce duplicate PR builds (#27)
91f15ef More GH Action work (#25)
6b7448e Merge pull request #24 from hamstercrack/cleanup-Headers
a0f4659 Merge pull request #21 from hamstercrack/codeql-analysis
a8ca085 + Project: add headers to all files
a2b9769 Merge pull request #20 from danlangford/copyright
631d318 Create codeql-analysis.yml
22afd2d updated copyrights to 2021
3936855 Merge pull request #19 from hamstercrack/fix-bug16
26ffbf8 + Swing Reserve: [fixes #16] - fixes Player::m_swing_dice[] not being updated when a swing reserve die is used (i.e. goes from !IsUsed() to IsUsed()) - EXPL: there is a co-dependency between the m_swing_dice[] counts and the Die::IsUsed() state. See BMC_Player::OnDiceParsed(). If m_swing_dice[] is not updated, then the AI doesn't know that it needs to include that swing type in it's list of candidate SetSwing actions. - added test input for bug + Warnings: fixed one size_t -> INT cast warning + Style: fixed several inconsistent if/else bracketing + Project: - partial work towards splitting up classes into distinct headers/source files - headers: setup several - source: only setup Stats.cpp - player.cpp: renamed to drop the prefix
da975ce Merge pull request #15 from danlangford/14-ornery-dice-rerolls
f82f7df trying to enhance build patterns
3620097 trying to enhance build patterns
e276589 move an assert over to OnApplyAttackPlayer
f4d6931 adding headers to the CMake helps IDEs (EclipseCPP,XCode) index all necessary files
6ba9a63 get builds on PRs
349932a adding project name back into cmake file
d262504 Merge branch 'main' of github.com:hamstercrack/bmai into 14-ornery-dice-rerolls
8018cd7 some changes to some comments mostly
505a162 fixes #14 where ornery dice should not be rerolled unless an attack is made
d8913b0 + CMake: reduce required from 3.14 to 3.8 to support VS2017 + Source: - moved necessary STD headers used by bmai_ap.cpp to principal header bmai.h - fixed some cast warnings. These are all acceptable loss of precision. + Mechanics - Twin dice: the "Dice()" method was incorrectly casting the return value of 1/2 to a "bool". That will not work in certain compilers. Fixed to return integer. - Morphing: fixed so rule doesn't run if not doing an attack. This was triggering an assert + AI - GetAttackAction(): fixed several uninitialized variables, pariticularly "score". In a release build this could have resulted in effectively arbitrary scores, therefore resulting in incorrect actions. In a debug build, this would have had very odd looking scores but would have worked. + Tests: - bug11_in.txt from github issues
15aba3c Merge pull request #7 from danlangford/file-organization
b33ad19 new dir structure.
2b98384 Merge pull request #1 from danlangford/cross-platform-build
c8a5a88 made the build cross platform. Visual Studio can open a CMakeLists.txt based project. Tested on CLion macOS