1. Battle Hanafuda
  2. News
  3. Hard AI Improved + macOS Window Mode Update + bugfix (ver0.06)

Hard AI Improved + macOS Window Mode Update + bugfix (ver0.06)

[p]In this update, we have implemented the following improvements and bug fixes.[/p][p][/p][hr][/hr][h2]Fixed an issue where the screen could not be advanced with the mouse during a draw[/h2][p]We fixed a bug where mouse input did not function correctly when a round ended in a draw (a round with no winning hand).[/p][p]Previously, the following actions could fail to work:[/p]
  • [p]Left click: Advance the screen[/p]
  • [p]Right click: View the board[/p]
[p]These operations should now function correctly after this update.[/p][p][/p][hr][/hr][h2]Window Mode Improvements (macOS only)[/h2][p]The window mode improvements introduced in the Windows version in ver0.05a have now been applied to the macOS version as well.[/p][p][/p][p]Main changes:[/p]
  • [p]Window aspect ratio is now fixed to 16:10[/p]
  • [p]Minimum window size set to 640×400[/p]
  • [p]Default window size when switching from fullscreen to window mode is now 80% of the screen size[/p]
  • [p]Window size and position are saved when the game exits and restored on the next launch[/p]
  • [p]Since macOS does not allow us to add a window menu in the same way, ⌘+1–4 shortcuts have been added to change the window size[/p]
[p][/p][p]Window size shortcuts:[/p]
  • [p]⌘+1 : 640×400[/p]
  • [p]⌘+2 : 960×600[/p]
  • [p]⌘+3 : 1280×800[/p]
  • [p]⌘+4 : 80% of screen size[/p]
[p][/p][hr][/hr][h2]Hard AI Improvements[/h2][p]The Hard AI win rate against Normal AI has improved from 53.2% → 54.4% (+1.2%).[/p][p]Main improvements in this update:[/p]
  • [p]Fixed an algorithm issue where high-value scoring opportunities could sometimes be missed[/p]
    • [p]A localized fix was applied to cases where [c]GREEDY_FALLBACK[/c] ignored completion priority[/p]
  • [p]Improved behavior so the AI is more likely to secure high-value cards before the opponent can take them[/p]
    • [p]Example: the crane card in the LIGHT domain[/p]
[p]When observing AI vs AI matches (12 rounds) in Watch Mode, there used to be around one or two questionable plays per match on average. After this improvement, those situations appear to occur much less frequently.[/p][p]That said, we don't believe the AI has reached its theoretical limit yet, so we will continue improving it in future updates.[/p]