Writing cli tools for fun
A simple problem
It usually starts with a single task to be done. Single, simple that can be done by hand. For instance, I try to add a three-lines header for each file of any projects I work on.
# Copyright (C) 2023 Rémy Cases
# See LICENSE file for extended copyright information.
# This file is part of adventOfCode project from https://github.com/remyCases/adventOfCode.
Even though, I almost work under MIT, I like the idea that someone could stumble upon my code and will immediatly look for the rest of the project. Well, I did it in the past, so I like the idea. The main problem is the lack of discipline, in all projects (without any exception) I forgot some headers.
Counterfactual Regret
Motivation
This project was an attempt to work through An Introduction to Counterfactual Regret Minimization of Todd W. Neller and Marc Lanctot to have a better understanding on how strategies are found.
To be honest, it was also a way to learn how to find optimal strategies on boardgames.
Content
This project covers two examples of normal-form games: Rock-Paper-Scissor and Colonel Blotto. While RPS was a simple example to learn the basics, Colonel Blotto is a more complicated (while still being played in a single simultaneous turn).