fixed an issue where setting coresize to less than 8000 would crash vmars on restarts
added history-collecting staterecorder
optimised sprite handling via buffering
decoupled the naughty int coupling between memory values and sprite codes 🙃
reimplemented warrior coloring to use hues, which means more interesting sprites can be designed with varying colors (even contrasting). The game will automatically adjust colors based on the HSV hue circle. The initial hues are set in NewGame, but this opens up the way for more than 2 warriors, or configurable colors.
feature: PC queue is now visually encoded via sprite transparency, but also orders intelligently
feature: PCs (heads) have been updated to hover above the cell, and the tile has been redesigned to look like google maps pin. This makes it possible to see what is the underlying state/op.
feature: cause of death is now visible by using the history API
feature: updated code and tileset to differentiate between writes: DAT (X) vs non-DAT (library shelf-square with holes)
Review notes
Probably easiest to go commit by commit, I've split things up and added some context.
Review notes
Probably easiest to go commit by commit, I've split things up and added some context.
Demo
demo.webm