[squeak-dev] Re: [ANN] Minecraft Bindings

Bert Freudenberg bert at freudenbergs.de
Mon Mar 4 20:11:11 UTC 2013


Pool vars sound okay, except that you couldn't use these then from a workspace.

Another idea would be to just use symbols or strings, and look them up in a dictionary in the API methods (blockId isNumber ifFalse: [...]).

Or, add them as methods to the Minecraft object so you could say "mc glowStone".

Do what feels right to you, all these would even be compatible :)

- Bert -


On 04.03.2013, at 20:55, Louis LaBrunda <Lou at Keystone-Software.com> wrote:

> Hi Bert,
> 
> Thanks for the Minecraft bindings.  My son, Alex plays Minecraft a lot.
> Since I'm trying to get him to learn a little Smalltalk, we would like to
> add the Minecraft codes (for things like wool) to your bindings.
> 
> If this was VA Smalltalk, I would create a pool dictionary via a pragma but
> I'm not sure how to do this in Squeak.  Any guidance would be welcome.
> 
> Typically pool dictionary entries start with a capital letter, is that okay
> by you?
> 
> Lou
> 
>> I'm happy to announce my Smalltalk bindings for "Minecraft: Pi Edition":
>> Find out more at
>> http://croquetweak.blogspot.com/2013/02/smalltalk-bindings-for-minecraft-pi.html
>> - Bert -
> -----------------------------------------------------------
> Louis LaBrunda
> Keystone Software Corp.
> SkypeMe callto://PhotonDemon
> mailto:Lou at Keystone-Software.com http://www.Keystone-Software.com
> 
> 


More information about the Squeak-dev mailing list