mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00
New puzzle! 'Unruly', contributed by Lennard Sprong, is an
implementation of a puzzle usually called 'Tohu wa Vohu'. [originally from svn r9680]
This commit is contained in:
2
LICENCE
2
LICENCE
@ -2,7 +2,7 @@ This software is copyright (c) 2004-2012 Simon Tatham.
|
|||||||
|
|
||||||
Portions copyright Richard Boulton, James Harvey, Mike Pinna, Jonas
|
Portions copyright Richard Boulton, James Harvey, Mike Pinna, Jonas
|
||||||
K<EFBFBD>lker, Dariusz Olszewski, Michael Schierl, Lambros Lambrou, Bernd
|
K<EFBFBD>lker, Dariusz Olszewski, Michael Schierl, Lambros Lambrou, Bernd
|
||||||
Schmidt and Steffen Bauer.
|
Schmidt, Steffen Bauer and Lennard Sprong.
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person
|
Permission is hereby granted, free of charge, to any person
|
||||||
obtaining a copy of this software and associated documentation files
|
obtaining a copy of this software and associated documentation files
|
||||||
|
@ -4,7 +4,7 @@ PUZZLES = blackbox bridges cube dominosa fifteen filling flip galaxies \
|
|||||||
guess inertia keen lightup loopy magnets map mines net \
|
guess inertia keen lightup loopy magnets map mines net \
|
||||||
netslide pattern pearl pegs range rect samegame signpost \
|
netslide pattern pearl pegs range rect samegame signpost \
|
||||||
singles sixteen slant solo tents towers twiddle undead \
|
singles sixteen slant solo tents towers twiddle undead \
|
||||||
unequal untangle
|
unequal unruly untangle
|
||||||
|
|
||||||
BASE = $(patsubst %,%-base.png,$(PUZZLES))
|
BASE = $(patsubst %,%-base.png,$(PUZZLES))
|
||||||
WEB = $(patsubst %,%-web.png,$(PUZZLES))
|
WEB = $(patsubst %,%-web.png,$(PUZZLES))
|
||||||
|
22
icons/unruly.sav
Normal file
22
icons/unruly.sav
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
SAVEFILE:41:Simon Tatham's Portable Puzzle Collection
|
||||||
|
VERSION :1:1
|
||||||
|
GAME :6:Unruly
|
||||||
|
PARAMS :5:6x6de
|
||||||
|
CPARAMS :5:6x6de
|
||||||
|
DESC :10:faCADAJeBd
|
||||||
|
NSTATES :2:15
|
||||||
|
STATEPOS:2:15
|
||||||
|
MOVE :6:P0,1,2
|
||||||
|
MOVE :6:P0,4,2
|
||||||
|
MOVE :6:P0,3,3
|
||||||
|
MOVE :6:P0,3,0
|
||||||
|
MOVE :6:P0,5,1
|
||||||
|
MOVE :6:P0,2,1
|
||||||
|
MOVE :6:P1,4,0
|
||||||
|
MOVE :6:P1,1,1
|
||||||
|
MOVE :6:P1,5,2
|
||||||
|
MOVE :6:P0,0,2
|
||||||
|
MOVE :6:P1,0,3
|
||||||
|
MOVE :6:P1,0,0
|
||||||
|
MOVE :6:P1,0,4
|
||||||
|
MOVE :6:P0,2,4
|
49
puzzles.but
49
puzzles.but
@ -3052,13 +3052,60 @@ These parameters are available from the \q{Custom...} option on the
|
|||||||
|
|
||||||
\dd Controls the difficulty of the generated puzzle.
|
\dd Controls the difficulty of the generated puzzle.
|
||||||
|
|
||||||
|
\C{unruly} \i{Unruly}
|
||||||
|
|
||||||
|
\cfg{winhelp-topic}{games.unruly}
|
||||||
|
|
||||||
|
You are given a grid of squares, which you must colour either black or
|
||||||
|
white. Some squares are provided as clues; the rest are left for you
|
||||||
|
to fill in. Each row and column must contain the same number of black
|
||||||
|
and white squares, and no row or column may contain three consecutive
|
||||||
|
squares of the same colour.
|
||||||
|
|
||||||
|
This puzzle type was invented by Adolfo Zanellati, under the name
|
||||||
|
\q{Tohu wa Vohu}. See \k{janko-unruly} for more details.
|
||||||
|
|
||||||
|
Unruly was contributed to this collection by Lennard Sprong.
|
||||||
|
|
||||||
|
\B{janko-unruly}
|
||||||
|
\W{http://www.janko.at/Raetsel/Tohu-Wa-Vohu/index.htm}\cw{http://www.janko.at/Raetsel/Tohu-Wa-Vohu/index.htm}
|
||||||
|
|
||||||
|
\H{unruly-controls} \I{controls, for Unruly}Unruly controls
|
||||||
|
|
||||||
|
To play Unruly, click the mouse in a square to change its colour.
|
||||||
|
Left-clicking an empty square will turn it black, and right-clicking
|
||||||
|
will turn it white. Keep clicking the same button to cycle through the
|
||||||
|
three possible states for the square. If you middle-click in a square
|
||||||
|
it will be reset to empty.
|
||||||
|
|
||||||
|
You can also use the cursor keys to move around the grid. Pressing the
|
||||||
|
return or space keys will turn an empty square black or white
|
||||||
|
respectively (and then cycle the colours in the same way as the mouse
|
||||||
|
buttons), and pressing Backspace will reset a square to empty.
|
||||||
|
|
||||||
|
(All the actions described in \k{common-actions} are also available.)
|
||||||
|
|
||||||
|
\H{unruly-parameters} \I{parameters, for Unruly}Unruly parameters
|
||||||
|
|
||||||
|
These parameters are available from the \q{Custom...} option on the
|
||||||
|
\q{Type} menu.
|
||||||
|
|
||||||
|
\dt \e{Width}, \e{Height}
|
||||||
|
|
||||||
|
\dd Size of grid in squares. (Note that the rules of the game require
|
||||||
|
both the width and height to be even numbers.)
|
||||||
|
|
||||||
|
\dt \e{Difficulty}
|
||||||
|
|
||||||
|
\dd Controls the difficulty of the generated puzzle.
|
||||||
|
|
||||||
\A{licence} \I{MIT licence}\ii{Licence}
|
\A{licence} \I{MIT licence}\ii{Licence}
|
||||||
|
|
||||||
This software is \i{copyright} 2004-2012 Simon Tatham.
|
This software is \i{copyright} 2004-2012 Simon Tatham.
|
||||||
|
|
||||||
Portions copyright Richard Boulton, James Harvey, Mike Pinna, Jonas
|
Portions copyright Richard Boulton, James Harvey, Mike Pinna, Jonas
|
||||||
K\u00F6{oe}lker, Dariusz Olszewski, Michael Schierl, Lambros
|
K\u00F6{oe}lker, Dariusz Olszewski, Michael Schierl, Lambros
|
||||||
Lambrou, Bernd Schmidt and Steffen Bauer.
|
Lambrou, Bernd Schmidt, Steffen Bauer and Lennard Sprong.
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person
|
Permission is hereby granted, free of charge, to any person
|
||||||
obtaining a copy of this software and associated documentation files
|
obtaining a copy of this software and associated documentation files
|
||||||
|
21
unruly.R
Normal file
21
unruly.R
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# -*- makefile -*-
|
||||||
|
|
||||||
|
unruly : [X] GTK COMMON unruly unruly-icon|no-icon
|
||||||
|
unruly : [G] WINDOWS COMMON unruly unruly.res|noicon.res
|
||||||
|
|
||||||
|
unrulysolver : [U] unruly[STANDALONE_SOLVER] STANDALONE
|
||||||
|
unrulysolver : [C] unruly[STANDALONE_SOLVER] STANDALONE
|
||||||
|
|
||||||
|
ALL += unruly[COMBINED]
|
||||||
|
|
||||||
|
!begin gtk
|
||||||
|
GAMES += unruly
|
||||||
|
!end
|
||||||
|
|
||||||
|
!begin >list.c
|
||||||
|
A(unruly) \
|
||||||
|
!end
|
||||||
|
|
||||||
|
!begin >wingames.lst
|
||||||
|
unruly.exe:Unruly
|
||||||
|
!end
|
Reference in New Issue
Block a user