rickhull / conway_deathmatch Goto Github PK
View Code? Open in Web Editor NEWGame of Life: several competing populations
Game of Life: several competing populations
Hi Rick,
I noticed you asked about Slop 4.0 on #ruby-lang
. All v3 Slop code will not work with v4, so it won't be a quick or simple transition. I didn't provide a full changelog for v4 because I never truly maintained the one for v3, at risk of misinforming I decided to just remove it for v4. I believe the new README sums up the difference simply enough, though. Maybe I should add an 'upgrading' section to that.
The main things to consider are:
instance_eval
on the parse
block. Which means you need to use a block argument, i.e: Slop.parse do |o| # ...
'f', 'foo'
changes to '-f', '--foo'
as
, instead the type is used in the option method call, so on 'width=', as: Integer
becomes o.int '--width'
=
(this is solved by the above point)You'll probably have noticed that I forked this repo as I was going to convert it to v4 for you. However it really came down to having to make too many decisions that you're better off making. Also, selfishly, letting you update it also helps me find any issues or enhancements you might come across or suggest.
Let me know if you decide to update to v4 and have any questions, I'll be here to help.
That said, I will continue to maintain v3 (bug fixes only) in a separate branch for those who prefer to avoid having to upgrade. So it's entirely up to you.
Thanks for using Slop!
EDIT https://github.com/leejarvis/slop#upgrading-from-version-3
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.