mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
Files

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.
25 lines
526 B
Makefile
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
|