summaryrefslogtreecommitdiff
path: root/games/connect4/files
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2011-08-01 05:01:13 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2011-08-01 05:01:13 +0000
commit89d232bfadd4741ecb124fca90aa115bb59d541c (patch)
tree10c6f3f67937d9770900aedd45d720e53ada65cb /games/connect4/files
parent- Remove unnecessary DISTNAME declaration (diff)
Bye bye abandonwares (part 3)
2011-08-01 deskutils/gkrellm-timers: No more public distfile 2011-08-01 deskutils/multi-backgrounds-daemon: Looks like an abandonware, no more public distfile 2011-08-01 deskutils/py-tagfu: Looks like an abandonware, no more public distfile 2011-08-01 deskutils/taskstep: Looks like an abandonware, no more public distfile 2011-08-01 devel/c_c++_reference: No more public distfiles 2011-08-01 devel/libcoyotl: Looks like an abandonware, no more public distfile 2011-08-01 devel/libfs++: Looks like an abandonware, no more public distfile 2011-08-01 devel/mkmf: Looks like an abandonware, no more public distfile 2011-08-01 devel/p5-Include: No more public distfiles 2011-08-01 devel/rubygem-newgem: broken since 2010/09/22 2011-08-01 devel/tpg: Looks like an abandonware, no more public distfile 2011-08-01 games/amphetamine: Looks like an abandonware, no more public distfile 2011-08-01 games/anagramarama: Looks like an abandonware, no more public distfile 2011-08-01 games/connect4 2011-08-01 games/wrogue: No more public distfiles, looks like an abandonware 2011-08-01 graphics/xmms-msa: Looks like an abandonware, no more public distfile 2011-08-01 japanese/chimera: Look like an abandonware, no more public distifles 2011-08-01 japanese/drpl: Look like an abandonware, no more public distifles 2011-08-01 japanese/dvi2tty: Look like an abandonware, no more public distifles 2011-08-01 japanese/easypr: Look like an abandonware, no more public distifles 2011-08-01 japanese/elisp-manual: Look like an abandonware, no more public distifles 2011-08-01 japanese/emacs-manual: Look like an abandonware, no more public distifles 2011-08-01 japanese/ewipe: Look like an abandonware, no more public distifles 2011-08-01 japanese/ircII: Look like an abandonware, no more public distifles 2011-08-01 japanese/jhd: Look like an abandonware, no more public distifles 2011-08-01 japanese/libjconv: Look like an abandonware, no more public distifles 2011-08-01 japanese/mimekit: Look like an abandonware, no more public distifles 2011-08-01 japanese/nethack32: Look like an abandonware, no more public distifles 2011-08-01 japanese/paledit: Look like an abandonware, no more public distifles 2011-08-01 japanese/plain2: Look like an abandonware, no more public distifles 2011-08-01 japanese/recjis: Look like an abandonware, no more public distifles 2011-08-01 japanese/typist: Look like an abandonware, no more public distifles 2011-08-01 japanese/weblint97: Look like an abandonware, no more public distifles 2011-08-01 japanese/xmsgsaver: Look like an abandonware, no more public distifles 2011-08-01 japanese/xshodo: Look like an abandonware, no more public distifles 2011-08-01 japanese/xvi-euc: No more public distfiles 2011-08-01 japanese/xvi-sjis: No more public distfiles 2011-08-01 japanese/xyagamo: Look like an abandonware, no more public distifles
Notes
Notes: svn path=/head/; revision=278681
Diffstat (limited to 'games/connect4/files')
-rw-r--r--games/connect4/files/connect4.646
-rw-r--r--games/connect4/files/patch-aa17
-rw-r--r--games/connect4/files/patch-ab83
-rw-r--r--games/connect4/files/patch-ac10
4 files changed, 0 insertions, 156 deletions
diff --git a/games/connect4/files/connect4.6 b/games/connect4/files/connect4.6
deleted file mode 100644
index 819d0e0827a5..000000000000
--- a/games/connect4/files/connect4.6
+++ /dev/null
@@ -1,46 +0,0 @@
-.TH connect4 6 "8th May, 1997" "Version 3.2"
-.SH NAME
-\fBconnect4\fP - a game of placement
-.SH SYNOPSIS
-.IP "connect4" 10
-\fB[ -Shv12 ]\fP
-.LP
-.SH DESCRIPTION
-\fBconnect4(6)\fP is a simple game where you must line up four tokens
-in a row.
-.SH OPTIONS
-.IP "\fB-S\fP"
-Display high scores
-.IP "\fB-h\fP"
-Help on command line switches
-.IP "\fB-v\fP"
-Display version number
-.IP "\fB-1\fP"
-Player has first move
-.IP "\fB-2\fP"
-Computer has first move
-.SH NOTES
-.LP
-The real-life version of connect4 is basically an upright hollow board
-with several vertical columns and windows. Tokens are placed into the
-columns alternately by each player until one of the players has four
-tokens in a row. These four tokens must be adjacent to each other but
-the series of four can be in any direction.
-.sp
-Tokens are placed into a column by typing the number of the column
-printed at the top of the screen.
-.sp
-To exit the game type \fBq\fP or \fBx\fP and \fBctrl-L\fP redraws the screen.
-.SH BUGS
-There are bound to be bugs in this program. Use at your own risk as no
-guarantee will be made that this software will not break your system
-in any way.
-.SH AUTHORS
-connect4 came from comp.sources.games Volume 6, Issue 51
-.br
-Submitted by Terry Jones <tcjones@watdragon.waterloo.edu> April,
-1989
-.sp
-Man page by Joel Sutton <sutton@aardvark.apana.org.au>
-.SH COPYRIGHT
-Connect Four is undoubtedly a trade mark or some such of Milton Bradley. \ No newline at end of file
diff --git a/games/connect4/files/patch-aa b/games/connect4/files/patch-aa
deleted file mode 100644
index 7ca8aa4133ab..000000000000
--- a/games/connect4/files/patch-aa
+++ /dev/null
@@ -1,17 +0,0 @@
---- Makefile.orig 2010-08-08 15:30:29.000000000 +0200
-+++ Makefile 2010-08-08 15:30:54.000000000 +0200
-@@ -1,10 +1,12 @@
- # Makefile for c4
-
--CFLAGS = -g #-DSCOREFILE=\"/usr/games/lib/c4.scores\"
-+CFLAGS += -DSCOREFILE=\"${SCOREFILE}\"
- CURSES = -lcurses -ltermcap
-
-+all: c4
-+
- c4 : c4.o screen.o c4.h tables.h types.h
-- cc $(CFLAGS) -o c4 c4.o screen.o $(CURSES)
-+ $(CC) $(CFLAGS) -o c4 c4.o screen.o $(CURSES)
-
- screen.o : c4.h
-
diff --git a/games/connect4/files/patch-ab b/games/connect4/files/patch-ab
deleted file mode 100644
index 07edd473b32d..000000000000
--- a/games/connect4/files/patch-ab
+++ /dev/null
@@ -1,83 +0,0 @@
---- c4.c.orig 2010-08-07 20:02:05.000000000 +0200
-+++ c4.c 2010-08-07 20:23:15.000000000 +0200
-@@ -14,7 +14,10 @@
- */
-
- #include <stdio.h>
-+#include <stdlib.h>
-+#include <string.h>
- #include <sys/types.h>
-+#include <unistd.h>
- #include <ctype.h>
- #include <pwd.h>
- #include <sys/time.h>
-@@ -55,7 +58,6 @@ char **envp;
- register int winner = DRAW;
- int temp;
-
-- envmesg(envp, "Connect Four");
- do_args(argc, argv);
- open_scorefile("a");
- ask_help();
-@@ -219,7 +221,7 @@ ask_turn()
- register char *cp;
-
- printf("Would you like to go first? (yes/no) -> ");
-- if (!gets(line)){
-+ if (!fgets(line,256,stdin)){
- plot_finish();
- fprintf(stderr, "Could not read input line.\n");
- goodbye();
-@@ -586,7 +588,7 @@ think_of_fucking_clever_move()
- }
- }
- DP(d, "The best column is %d\n", best_col);
-- DP(d, "Returning.\n\n\n", best_col);
-+ DP(d, "Returning.\n\n\n");
-
- if (best_col == -1){
- print_game_record(CONFUSED);
-@@ -620,8 +622,8 @@ ask_help()
- }
- }
-
-- printf("Do you need help (n/y)? -> ");
-- if (!gets(line)){
-+ printf("Do you need help (y/n)? -> ");
-+ if (!fgets(line,256,stdin)){
- fprintf(stderr, "Could not read input line\n");
- goodbye();
- }
-@@ -815,32 +817,3 @@ debug_off()
- accept_move(turn);
- }
-
--/*
-- * Modify the environment to put message in the right place for
-- * the w and ps commands to find. Code stolen from MFCF lock
-- * program, originally by Ian!
-- *
-- */
--
--void
--envmesg(environ, message)
--char **environ;
--char *message;
--{
-- /*
-- * Note that this clobbers the environment, so we have to
-- * do it last, after all the getenv and termcap calls.
-- */
--
-- char *last, *address;
-- while( environ[1] != 0 ) ++environ;
-- last = environ[0] + strlen(environ[0]);/* address of '\0' */
-- last = (char *)((int)last&(~03));/* word boundary */
-- *(int *)last = 0; /* clean out last word */
-- address = last +3 -strlen(message);
-- address = (char *)((int)address&(~03));/* word boundary */
-- *(int *)(address-4) = 0; /* clean out word below */
-- *(int *)(address-8) = 0; /* clean out word below */
-- strcpy( address, message );
--}
--
diff --git a/games/connect4/files/patch-ac b/games/connect4/files/patch-ac
deleted file mode 100644
index 99db2678dd3e..000000000000
--- a/games/connect4/files/patch-ac
+++ /dev/null
@@ -1,10 +0,0 @@
---- screen.c.orig 2010-08-07 20:02:05.000000000 +0200
-+++ screen.c 2010-08-07 20:23:29.000000000 +0200
-@@ -116,6 +116,7 @@ plot_finish()
- refresh();
- nocrmode();
- echo();
-+ endwin();
- }
-
-