Benezivas / algobattle

Let teams compete by making them create hard instances and fast solvers for problems of your choice. Then pitch these instances and solvers against one another. All language-agnostic.
https://algobattle.org
MIT License
8 stars 3 forks source link

Improved algobattle init cli #153

Closed ImogenBits closed 10 months ago

ImogenBits commented 10 months ago

This improves the cli interaction of algobattle init in two ways:

  1. It cleans up the help message my moving the language choices into a neater display at the bottom.
  2. It adds the --new flag to enable creating entirely new projects with a blank problem template. You can then use eg algobattle init --new -p "Very Fancy Problem" -l python to create a new folder for the Very Fancy Problem that already contains templates for the problem file, a blank config, and generator/solver templates. This addresses #150.
Benezivas commented 10 months ago

Nice, this should make it easier to write a problem from scratch.