Skip to content

Alpha 0.0.2 - Genetics rework

Compare
Choose a tag to compare
@micutio micutio released this 16 Oct 17:01
· 521 commits to master since this release

Additions

  • The game loop has now limited the user input queries to 60fps to avoid too frequent queries that eat CPU cycles for breakfast.
  • A random AI that will select a random (but valid!) action with a random (but valid!) target at each turn.
  • For developmers: unit tests for genetics and random AI.

Changes

  • The action and genetics modules are reworked and tightly integrated.
  • Using and extending both has been made much easier and intuitive.
  • Monster generation organisation has been tightened up
  • Various parts of the software architecture have been refactored and cleaned up to be easier to read.

Removed

  • A whole layer of indirection for mapping genetic traits to actions and attributes has been removed

Fixes

  • Plenty of bugs in genetics, DNA encoding and decoding

Known issues

  • Attacking actions are in the game but don't do anything yet