Files
puzzles/loopy.R
Simon Tatham b16eece9fc New puzzle! Or rather, new-ish, because this one has been lying around
in the 'unfinished' directory for a while, and has now been finished
up thanks to James Harvey putting in some effort and galvanising me to
put in the rest. This is 'Pearl', an implementation of Nikoli's 'Masyu'.

The code in Loopy that generates a random loop along grid edges to use
as the puzzle solution has been abstracted out into loopgen.[ch] so
that Pearl can use it for its puzzle solutions too. I've also
introduced a new utility module called 'tdq' (for 'to-do queue').

[originally from svn r9379]
2012-01-22 14:14:26 +00:00

32 lines
728 B
Makefile

# -*- makefile -*-
LOOPY_EXTRA = tree234 dsf grid penrose loopgen
loopy : [X] GTK COMMON loopy LOOPY_EXTRA loopy-icon|no-icon
loopy : [G] WINDOWS COMMON loopy LOOPY_EXTRA loopy.res|noicon.res
loopysolver : [U] loopy[STANDALONE_SOLVER] LOOPY_EXTRA STANDALONE m.lib
loopysolver : [C] loopy[STANDALONE_SOLVER] LOOPY_EXTRA STANDALONE
#penrose : [U] penrose[TEST_PENROSE] STANDALONE m.lib
#penrose : [C] penrose[TEST_PENROSE] STANDALONE
#test-basis : [U] penrose[TEST_VECTORS] tree234 STANDALONE m.lib
#test-basis : [C] penrose[TEST_VECTORS] tree234 STANDALONE
ALL += loopy[COMBINED] LOOPY_EXTRA
!begin gtk
GAMES += loopy
!end
!begin >list.c
A(loopy) \
!end
!begin >wingames.lst
loopy.exe:Loopy
!end