Hamster Matrix
Hamster Matrix is a gem providing a persietent immutable matrix for functional programming in Ruby. It is an extension for the popular Hamster gem, using Hamster Vectors under the hood.
It's great for using as a board in 2D video games where the matrix must be modified as the game state changes while leaving references to the old state unchanged, such as when using a time-travelling debugger. It copies the interface from Ruby's Matrix class as much as possible.
Installation
Add this line to your application's Gemfile:
gem 'hamster-matrix'
And then execute:
$ bundle
Or install it yourself as:
$ gem install hamster-matrix
Usage
Coming Soon!
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/bradurani/hamster-matrix. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.