Skip to content

Latest commit

 

History

History
85 lines (65 loc) · 2.65 KB

File metadata and controls

85 lines (65 loc) · 2.65 KB

ChangeLog

All notable changes to this project will be documented in this file.

[0.3.7] - 2020-10-23

Added

  • Composite class to create armies with. This holds all the meta information for a unit group.
  • Sampling class. Lightweight replacement for Distribution.
  • Optional tqdm package support with simulate_k method.

Changed

  • Significant internal cleaning of Battle object.
  • Optimisations to simulate_fast function have lead to around 20x speed up using numba more efficiently.
  • Integration of numpy array with heterogenous aligned data type with numba continued.
  • Unit tiling significantly improved using lerp over distance minimizations.

Removed

  • Distribution class. This was too verbose and has been replaced with Sampling.

[0.3.6] - 2020-02-04

Added

  • Terrains can now be generated using perlin noise. This is not only significantly faster for larger maps but generates more attractive background maps.

Changed

  • Large-scale internal adjustments, code cleaning, new folders and files
  • Latest versions of numba allow for heterogeneous matrix dtypes, allowing for code refactoring for jit sections. Significantly cleaner function arguments.
  • adjustments as to how Terrain is generated.

[0.3.5] - 2019-10-18

Added

  • Terrain. This is a major expansion giving 3D pseudodepth to animated battles. Depth now influences:
    • Decreased movement speed on hills
    • Increased range of units on hills
    • Increased damage output of units targeting downhill enemies
  • Boundary checking for units
  • pip support
  • CHANGELOG.md file
  • First release on GitHub 0.3.5
  • jitcode for streamlined numba use
  • Global target functions for initialization
  • Armor calculations for units
  • example4.ipynb to reflect changes

Changed

  • __init__ file dependencies
  • Removed file requirement for Battle()
  • Distribution constructor now accepts copy-constructor of another Distribution
  • Made Battle attributes properties to protect them

Removed

  • Alternative constructor for Distribution

[0.3.4] - 2019-10-11

Added

  • Integrated terrain background
  • Terrain weighting in unit movement calculations

Changed

  • Streamlined Terrain, Distribution into Battle object

Removed

  • test_move test suite

[0.3.2] - 2019-10-07

Added

  • Teaching material
  • General decision-based AI with aggressive and hit_and_run options
  • Terrain definition
  • LICENSE.

Changed

  • Size-dependency on quiver-plots to units.
  • Streamlined legend
  • Memory usage from M_ object

Removed

  • set_position in Battle

Ensure that any use of this material is appropriately referenced and in compliance with the license.