Ludum Dare 45 Team SWI-Prolog (Discussion)

We’re doing well! Paul Brown has done wonderful work on the Snap! front end, and Thom Fruewirth and Michael Richter have helped sort CHR issues.

We have 14 hours left, and have a small workable game. You draw line segments on the screen, and a bunch of CHR code recognizes various elements - building up to recognizing houses.

On the front end, written in the visual programming language Snap!, Paul Brown’s made a fun little game - you have to draw houses for the poor little pigs before the wolf blows them down.

8 Likes

The Ludum Dare SWI-Prolog team just published our game.

Link to the Ludum Dare page

The live web version and repo links are off that page.

It’s a simple game where you try to save a pig by drawing lots of childs-drawing houses.

it’s a bit crude and glitchy - these games always are - but acutally lots of fun.

It’s 165 lines of Prolog, 321 lines of CHR, and vaguely 250 lines of Snap!

The recognizer actually recognizes triangles of various sorts, eg those with one or two edges aligned on a major axis, horizontal and vertical lines, axis aligned boxes, houses, and rockets.

5 Likes

Direct links.

I am coping them here because for a while they were missing and I do want to visit this code in more detail when I get a chance.

Play live
Source

Final results for Ludum Dare 45 are in:

Overall: 1098 th (2.5 average from 26 ratings)
Fun: 982 nd (2.688 average from 26 ratings)
Innovation: 534 th (3.2 average from 27 ratings)
Theme: 824 th (2.938 average from 26 ratings)
Graphics: 1039 th (1.913 average from 25 ratings)
Audio: 694 th (1.771 average from 26 ratings)
Humor: 401 st (3.04 average from 27 ratings)
Mood: 1041 st (2.318 average from 24 ratings)

1 Like