3 ms·
Instructions for playing this game in functional style are included, but you need to order 25 copies of the game. More seriously: I don't think the game is to
by nimble 13y ago
Instructions for playing this game in functional style are included, but you need to order 25 copies of the game.
More seriously: I don't think the game is too biased towards imperative style and would be useful foundation for any future language choice. Yes, it is technically imperative, but those cards don't move the turtle as side-effects. That's their primary effect. A stack of cards behaves much like a function. Similarly to how concatenative languages (http://en.wikipedia.org/wiki/Concatenative_programming_language http://en.wikipedia.org/wiki/Concatenative_programming_langu...) are usually viewed as functional rather than as imperative stack manipulation.