Mike Taylor
Mike Taylor
Appreciated!
Good idea on the `sleep` method. I am less attracted to the idea of a `Play` object. I'm not seeing that it brings us much, and it materially increases the...
@pdxiv I am not following this at all. Why should even-numbered messages get priority? How would the writer even be expected to know which messages are even numbered and which...
Ah, I see. Yes, that makes sense. I will think on this. Sorry for the slow responses to these recently filed issues, BTW. I have a lot on at the...
According to https://github.com/MikeTaylor/scottkit/blob/master/docs/notes/Definition-scottfree-1.14.txt the definition of opcode 81 should be: > Select a counter. Current counter is swapped with backup counter And the code in ScottFree v1.14 bears this out:...
... and that does seem to be [exactly what we do](https://github.com/MikeTaylor/scottkit/blob/49938b6ee8bddd768c5777ff1228e13f477ca087/lib/scottkit/play.rb#L463-L465): ``` when 81 then which = args.shift @game.counter, @game.counters[which] = @game.counters[which], @game.counter ```
OK, so I think the current behaviour is correct — though more documentation would help. On the initialisation (`!flag 1`): ``` select_counter 1 set_counter 5 ``` The `select_counter` swaps the...
In conclusion, I think the simplest and safest way to use the counters is _either_: * Just use a single counter — the default — and never use `set_counter`. *...
Here's an example of the second approach: a one-room game containing a matchbook and a packet of mints. The former contains five matches, the latter contains three mints. You can...
Lots of great stuff here, many thanks! I hope to get to this soon. Your issues are not forgotten!