2015-12-28 11:30 GMT-02:00 Alexandre Bergel <alexandre.bergel@me.com>:
Now it works! Looks interesting! However, it is a bit crude. What are the available commands?
The Cloak of Darkness adventure is very simple. It is just the "Hello World" of interactive fiction. You can look, look <something>, take <something>, drop <something>, put <something> on <something>, go <direction>. But yes, there is still much room for improvement.
Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Dec 28, 2015, at 10:07 AM, Eric Velten de Melo <ericvmelo@gmail.com> wrote:
There is an AdventureShell class made with Spec. You use it like this:
(AdventureShell world: (CDGameWorld new)) openWithSpec.
It is pretty basic, but gets the job done.
2015-12-28 10:51 GMT-02:00 Robert Withers <robert.w.withers@gmail.com>:
This looks interesting. How can it be used and made interactive? I would like to launch the CDGameWorld that did load with this configuration as an interactive session, to see how this package is used.
cheers, Robert
On 12/27/2015 10:14 PM, Eric Velten de Melo wrote:
I think I fixed the issues with Metacello. Therefore, you should be able to load by using Gofer.
Gofer new url:'http://smalltalkhub.com/mc/ericvm/Smallworlds/main'; package: 'ConfigurationOfSmallworlds'; load.
((Smalltalk at: #ConfigurationOfSmallworlds) project version:'0.3') load.
2015-12-27 23:14 GMT-02:00 Alexandre Bergel <alexandre.bergel@me.com>:
Hi!
Something is wrong. PetitParser is indeed loaded. I get an error: This package depends on the following classes: CommandParser You must resolve these dependencies before you will be able to load these definitions: CCCommandParser
Alexandre
On Dec 27, 2015, at 9:13 PM, ericvm < <ericvmelo@gmail.com> ericvmelo@gmail.com> wrote:
You need to have PetitParser installed for it to work.
ColossalCave is not ported, should be removed.
I was not able to get the metacello cobfiguration working properly.
But installing PetitParser and loading last commit of Smallworlds package should be enough.
To run cloak of darkness, type (AdventureShell world: (CDGameWorld new)) openWithSpec.
Em 27 de dez de 2015 17:29, "abergel [via Smalltalk]" <[hidden email]> escreveu: hi!
I would like to try it, but I am facing some issues: - I cannot use your configuration on Pharo 5. I get an error when trying to load the stable version - I therefore tried to manually load the two packages. But Smallworlds-ColossalCave does not load. Some classes are missing.
Cheers, Alexandre
On Dec 27, 2015, at 12:03 PM, ericvm <[hidden email]> wrote:
I don't know if this is the appropriate venue to do that, but I'd like to announce that I finished a stable implementation of a framework for developing Interactive Fiction in Pharo Smalltalk.
It is based on an old code written by Bob Jarvis for Dolphin, but it has been changed so much that it is almost something new.
This is my first project and I'm still working around Metacello and polishing stuff up. So I appreciate any code contributions, comments or thoughts about it.
It is hosted on Smalltalkhub: (http://smalltalkhub.com/#!/~ericvm/Smallworlds)
-- View this message in context: <http://forum.world.st/Smallworlds-Interactive-Fiction-Framework-tp4868560.ht...> http://forum.world.st/Smallworlds-Interactive-Fiction-Framework-tp4868560.ht... Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com <http://nabble.com>.
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
If you reply to this email, your message will be added to the discussion below:
http://forum.world.st/Smallworlds-Interactive-Fiction-Framework-tp4868560p48...
To unsubscribe from Smallworlds - Interactive Fiction Framework, click here. NAML
View this message in context: Re: Smallworlds - Interactive Fiction Framework Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com <http://nabble.com>.
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
-- Robert . .. ... ^,^