unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* My Lisp Game Jam entry
@ 2018-04-30 15:13 Mike Gran
  2018-04-30 15:21 ` Mike Gran
  2018-05-01 20:03 ` Arne Babenhauserheide
  0 siblings, 2 replies; 4+ messages in thread
From: Mike Gran @ 2018-04-30 15:13 UTC (permalink / raw)
  To: guile-user

Hey y'all,

So there was this 10-day game jam for Lisp-like languages, and I put
together a trifling piece of interactive fiction based on an 1911 play
by William S Houghton.

The program itself is mostly the GTK3 toolkit for the GUI and Guile
for the scripting.

Keeping in mind that I wrote this in just a few days, you might find
it somewhat humourous to check out.  The game takes about 10 minutes
to play through.  It has not been widely tested across platforms.

There are Windows and GNU/Linux binaries at
https://spk121.itch.io/fancy-free

And the source is at
https://github.com/spk121/burro

The build script used to make the downloadable builds at
https://github.com/spk121/psychic-guacamole

For MinGW, this requires a patched version of Guile branched off of 2.2.3
http://git.savannah.gnu.org/cgit/guile.git/log/?=wip-mingw-guile-2.2

Regards,
Mike Gran





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: My Lisp Game Jam entry
  2018-04-30 15:13 My Lisp Game Jam entry Mike Gran
@ 2018-04-30 15:21 ` Mike Gran
  2018-05-01 20:03 ` Arne Babenhauserheide
  1 sibling, 0 replies; 4+ messages in thread
From: Mike Gran @ 2018-04-30 15:21 UTC (permalink / raw)
  To: Mike Gran; +Cc: guile-user

On Mon, Apr 30, 2018 at 08:13:09AM -0700, Mike Gran wrote:
> Hey y'all,

> For MinGW, this requires a patched version of Guile branched off of 2.2.3
> http://git.savannah.gnu.org/cgit/guile.git/log/?=wip-mingw-guile-2.2

Actually it is
http://git.savannah.gnu.org/cgit/guile.git/log/?h=wip-mingw-guile-2.2





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: My Lisp Game Jam entry
  2018-04-30 15:13 My Lisp Game Jam entry Mike Gran
  2018-04-30 15:21 ` Mike Gran
@ 2018-05-01 20:03 ` Arne Babenhauserheide
  2018-05-02  2:13   ` Mike Gran
  1 sibling, 1 reply; 4+ messages in thread
From: Arne Babenhauserheide @ 2018-05-01 20:03 UTC (permalink / raw)
  To: Mike Gran; +Cc: guile-user

[-- Attachment #1: Type: text/plain, Size: 1123 bytes --]

Hi,

Mike Gran <spk121@yahoo.com> writes:
> Hey y'all,
> So there was this 10-day game jam for Lisp-like languages, and I put
> together a trifling piece of interactive fiction based on an 1911 play
> by William S Houghton.

> The program itself is mostly the GTK3 toolkit for the GUI and Guile
> for the scripting.
>
> Keeping in mind that I wrote this in just a few days, you might find
> it somewhat humourous to check out.  The game takes about 10 minutes
> to play through.  It has not been widely tested across platforms.

I built and ran it from source and liked it a lot!

> There are Windows and GNU/Linux binaries at
> https://spk121.itch.io/fancy-free
>
> And the source is at
> https://github.com/spk121/burro
>
> The build script used to make the downloadable builds at
> https://github.com/spk121/psychic-guacamole

Does this work *reliably* on Windows? I’ve been suffering from a hard
time to ship games for Windows, and if you’ve solved that, this would be
a huge step forward (for me)!

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein
ohne es zu merken

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 1076 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: My Lisp Game Jam entry
  2018-05-01 20:03 ` Arne Babenhauserheide
@ 2018-05-02  2:13   ` Mike Gran
  0 siblings, 0 replies; 4+ messages in thread
From: Mike Gran @ 2018-05-02  2:13 UTC (permalink / raw)
  To: Arne Babenhauserheide; +Cc: guile-user

On Tue, May 01, 2018 at 10:03:53PM +0200, Arne Babenhauserheide wrote:
> 
> I built and ran it from source and liked it a lot!

Thanks.

> 
> Does this work *reliably* on Windows? I???ve been suffering from a hard
> time to ship games for Windows, and if you???ve solved that, this would be
> a huge step forward (for me)!

The Windows build seems quite reliable, but, what I ended up doing was
making a static build of libguile that incorporated a static build of
all its dependencies.  That build is 32-bit only, with no threads, using
a version of gc compiled with its default static makefile.

The 32-bit is necessary, because Guile expects sizeof(void*) == sizeof(long)
as a hard requirement.

That static build is likely unnecessary, but, I did it that way to make
debugging easier.

The null threads is currently necessary.  There is some sort of mutex
lock in the GC when Guile is compiled with libwinpthreads.  It actully
runs when built with libwinpthreads, but, locks up on cleanup,
especially when smobs are present. I didn't have time to debug it.

You can see the script I used to build a static Guile with its
dependencies in https://github.com/spk121/psychic-guacamole/
I built it using the msys2 flavor of mingw32.

> 
> Best wishes,
> Arne

Regards,
Mike





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-05-02  2:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-30 15:13 My Lisp Game Jam entry Mike Gran
2018-04-30 15:21 ` Mike Gran
2018-05-01 20:03 ` Arne Babenhauserheide
2018-05-02  2:13   ` Mike Gran

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).