unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Julian Graham <joolean@gmail.com>
To: arne_bab@web.de
Cc: Guile Users <guile-user@gnu.org>
Subject: Re: [ANN] gzochi project development release 0.12
Date: Tue, 3 Jul 2018 17:29:34 -0400	[thread overview]
Message-ID: <CANdC_RC1ykojQ+QDv9O6=Tip-O+e0vBhZyT9XzrBC9dkjsMZ5A@mail.gmail.com> (raw)
In-Reply-To: <87a7r8c9kl.fsf@web.de>

Hi Arne!

On Tue, Jul 3, 2018 at 5:07 PM Arne Babenhauserheide <arne_bab@web.de> wrote:
> I looked into the documentation and didn’t find an example how such a
> game would look, but the example in the docs was too minimal to
> understand what I can do with gzochi. And I did not understand how users
> would launch the game (essentially: What shell command to run to start
> the game).
>
> Do you have a somewhat larger example online, along with deployment info?

Yes! The source distribution ships with client- and server-side code
for two example games: AberMUD and MazeWar. The easiest way to get
started would be to build the server container, deploy one of the
server-side game implementations, then build and run its associated
client. For example:

$ cd gzochi-0.12/gzochi-server
$ ./configure && make

...then, to deploy and launch the AberMUD example server:

$ cd meta/deploy
$ ln -s ../../../examples/abermud/server abermud
$ cd ..
$ ./gzochid

Then, to build and run the AberMUD example client:

$ cd gzochi-0.12/examples/abermud/client
$ ./configure && make
...
$ cd src
$ ./abermud localhost 8001


> Can I find these examples without installing so that I can have a quick
> look how the game code reads?

Yes! The server-side implementations probably have the strongest
dependency on the framework. See:

- https://gitlab.com/joolean/gzochi/tree/master/examples/abermud/server
  - E.g., https://gitlab.com/joolean/gzochi/blob/master/examples/abermud/server/gzochi/example/abermud.scm
- https://gitlab.com/joolean/gzochi/tree/master/examples/mazewar/server
  - E.g., https://gitlab.com/joolean/gzochi/blob/master/examples/mazewar/server/gzochi/example/mazewar.scm


Regards,
Julian



  reply	other threads:[~2018-07-03 21:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-02 19:13 [ANN] gzochi project development release 0.12 Julian Graham
2018-07-03 21:07 ` Arne Babenhauserheide
2018-07-03 21:29   ` Julian Graham [this message]
     [not found] <mailman.115.1530633621.17504.guile-user@gnu.org>
2018-07-03 22:36 ` Zelphir Kaltstahl
2018-07-04 15:01   ` Julian Graham

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CANdC_RC1ykojQ+QDv9O6=Tip-O+e0vBhZyT9XzrBC9dkjsMZ5A@mail.gmail.com' \
    --to=joolean@gmail.com \
    --cc=arne_bab@web.de \
    --cc=guile-user@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).