Triangle puzzle game.

Closes PR 1802/2031.

Submitted by:	Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
This commit is contained in:
Satoshi Asami 1996-11-16 12:38:32 +00:00
parent 5fb18d0a1f
commit 4803609bdd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=4517
5 changed files with 90 additions and 0 deletions

25
games/xtriangles/Makefile Normal file
View file

@ -0,0 +1,25 @@
# New ports collection makefile for: xtriangles
# Version required: V5.3
# Date created: 12 October 1996
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
#
# $Id$
#
DISTNAME= xtriangles
PKGNAME= xtriangles-5.3
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= games/puzzles
MAINTAINER= Nakai@Mlab.t.u-tokyo.ac.jp
USE_IMAKE= yes
post-install:
@chmod 755 ${PREFIX}/bin/xtriangles
@chown bin.bin ${PREFIX}/bin/xtriangles
@${INSTALL_DATA} ${WRKSRC}/Triangles.ad \
${PREFIX}/lib/X11/app-defaults/Triangles
.include <bsd.port.mk>

View file

@ -0,0 +1 @@
MD5 (xtriangles.tar.gz) = 195f816861a6918c74e492a9a2a5b6f2

View file

@ -0,0 +1 @@
Triangles puzzle

View file

@ -0,0 +1,60 @@
XTriangles, triangle puzzle for X-Window
Usage:
xtriangles [ options ]
Description:
Use "mouse-left" to move a tile.
"mouse-right", "R", or "r", to randomize. One must double
click on "mouse-right" if the puzzle is being worked on.
"I" or "i" keys "increase" or move "up" the number of tri-
angles.
"D" or "d" keys "decrease" or move "down" the number of
triangles.
"S" or "s" keys reserved for the auto-solver (unimple-
mented).
"U" or "u" keys to undo move.
"G" or "g" keys to get a saved puzzle.
"W" or "w" keys to write or save a puzzle.
"Q", "q", or "CTRL-C" keys kill program.
Use the key pad or "R" keys to move without the mouse.
Options:
-display host:dpy
This option specifies the X server to contact.
-geometry {+|-}X{+|-}Y
This option sets the initial position of the tri-
angles window (resource name "geometry").
-{foreground | fg} color
This option specifies the foreground of the trian-
gles window (resource name "foreground").
-{background | bg} color
This option specifies the background of the trian-
gles window (resource name "background").
-tile color
This option specifies the tile color of the trian-
gles window (resource name "tileColor").
-{border | bd} color
This option specifies the border color of the
tiles in the triangles window (resource name "bor-
derColor").
-size <int>
This option allows you to change the number of
triangles in a row (resource name "sizeA").

View file

@ -0,0 +1,3 @@
bin/xtriangles
man/man1/xtriangles.1.gz
lib/X11/app-defaults/Triangles