olafurw / poke-fighting-rust

Application that simulates a large grid of Pokémon types fighting each other.
24 stars 3 forks source link

Allow selecting image size and neighbour selection algorithm via command line arguments #5

Closed palant closed 2 years ago

palant commented 2 years ago

I’m somewhat tired of recompiling just to change some parameters.

palant commented 2 years ago

Downside is: with image size no longer being a constant, the code can probably not be optimized as well any more. From the visual impression, this doesn’t seem to have a significant impact.

palant commented 2 years ago

Added one more commit: there is no reason for the image to be quadratic, we can allow specifying width and height separately.