Files
puzzles/tents.R
Simon Tatham dcc4d82b23 Convert Tents to use matching instead of maxflow.
Tents needs to construct maximal matchings in two different
situations. One is the completion check during play, in which the
existence of a perfect matching between tents and trees is part of the
win condition; the other is the initial grid generation, in which we
find a _maximal_ matching between the tents we've already placed and
all the possible neighbouring squares that are candidates for the tree
positions. Both of those are switched over.
2018-04-22 17:04:50 +01:00

25 lines
526 B
Makefile

# -*- makefile -*-
TENTS_EXTRA = matching dsf
tents : [X] GTK COMMON tents TENTS_EXTRA tents-icon|no-icon
tents : [G] WINDOWS COMMON tents TENTS_EXTRA tents.res|noicon.res
ALL += tents[COMBINED] TENTS_EXTRA
tentssolver : [U] tents[STANDALONE_SOLVER] TENTS_EXTRA STANDALONE
tentssolver : [C] tents[STANDALONE_SOLVER] TENTS_EXTRA STANDALONE
!begin am gtk
GAMES += tents
!end
!begin >list.c
A(tents) \
!end
!begin >gamedesc.txt
tents:tents.exe:Tents:Tent-placing puzzle:Place a tent next to each tree.
!end