From 35b4c4156b0505ebaa2d74287d53bf7e5e27f2af Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 3 Jun 2017 14:57:07 -0400 Subject: [PATCH] Create website iindex and hints pages. --- Makefile | 5 +++-- hints.adoc | 14 ++++++++++++++ index.adoc | 17 +++++++++++++++++ 3 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 hints.adoc create mode 100644 index.adoc diff --git a/Makefile b/Makefile index b3500c3..7a8468c 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,8 @@ ifeq ($(UNAME_S),Linux) endif OBJS=main.o init.o actions1.o actions2.o score.o misc.o database.o -SOURCES=$(OBJS:.o=.c) COPYING NEWS README TODO adventure.text advent.adoc control advent.h funcs.h +DOCS=COPYING NEWS README TODO advent.adoc history.adoc index.adoc hints.adoc +SOURCES=$(OBJS:.o=.c) advent.h funcs.h adventure.text $(DOCS) control .c.o: $(CC) $(CCFLAGS) $(DBX) -c $< @@ -41,7 +42,7 @@ database.c database.h: compile adventure.text $(CC) $(CCFLAGS) $(DBX) -c database.c clean: - rm -f *.o advent advent.html advent.6 database.[ch] compile + rm -f *.o advent *.html advent.6 database.[ch] compile *.gcno *.gcda cd tests; $(MAKE) --quiet clean check: advent diff --git a/hints.adoc b/hints.adoc new file mode 100644 index 0000000..a85fc2d --- /dev/null +++ b/hints.adoc @@ -0,0 +1,14 @@ +Yes, the fissure in the Hall of Mists can be bridged. By magic. + +"Free bird": It's more than an epic guitar solo. Do it twice! + +There is a legend that if you drink the blood of a dragon, you will +be able to understand the speech of birds. + +That vending machine? It would be better off dead. + +Ogres laugh at humans, but for some reason dwarves frighten them badly. + +When rust is a problem, oil can be helpful. + +A lucky rabbit's foot might help you keep your footing. diff --git a/index.adoc b/index.adoc new file mode 100644 index 0000000..ef29252 --- /dev/null +++ b/index.adoc @@ -0,0 +1,17 @@ += Open Adventure = + +Open Adventure is an open-source port of Colossal Cave Adventure +approved by its original authors, Will Crowther and Don Woods. It is +based not on the original 350-point version from 1977 with 15 +treasures, but on the 430-point version with 20 treasures that was the +last one Don Woods released in 1995. + +You can read: + +* a web rendering of its link:advent.html[manual page]. + +* a link:history.html[a more detailed history] of the game. + +* a file of link:hints.html[hints]. And these are hints, not spoilers. + +// end -- 2.31.1