How to resolve the algorithm Go Fish step by step in the Raku programming language

Published on 12 May 2024 09:40 PM

How to resolve the algorithm Go Fish step by step in the Raku programming language

Table of Contents

Problem Statement

Write a program to let the user play Go Fish against a computer opponent. Use the following rules: The game's AI need not be terribly smart, but it should use at least some strategy. That is, it shouldn't choose legal moves entirely at random. You may want to use code from Playing Cards. Related tasks:

Let's start with the solution: