Rokkaku v0.03: Added vs AI mode


Introduction

Hello everyone! This update introduces an important new feature: the ability to play against the computer. You are now no longer bound to local co-op game mode!

I've written a rudimentary AI that can play Rokkaku against you in all of the supported board sizes (from 6 to 24 dots). In addition to this, there have been some minor changes to the main menu UI, including the addition of some UI to allow you to select whether you want to play against the computer or the standard local co-op mode.

How the AI works

The AI is not really that intelligent. It works by making a list of all of the available moves, then it sorts them into two categories: losing moves and non-losing moves. It then selects a non-losing move at random (if it exists), otherwise it will select a losing move at random. For the time being, the AI will always make the first move, though I'll change this in the not so distant future.

The AI is not too challenging to defeat, so I'll be working on adding an AI difficulty selector that will allow you to play against more powerful versions of it.

Other

I also have a Twitter/X account now. If you want, you can follow me here.

Files

rokkaku_v0.03.zip 780 kB
22 hours ago

Get Rokkaku

Leave a comment

Log in with itch.io to leave a comment.