Add 1998/dloweneil alt code + formatting
The alt code should feel more at home for vi(m) users with movements. With the exception of the drop key (d in the original) you can use the original keys as well. Keys to drop the letter in alt version j or space, whichever you prefer. Also you can quit the game gracefully (q). That was something the author(s)? noted as something they wish they could have done but due to contest size restrictions they could not. The README.md file has been format and typo checked and this should complete the review of this entry.
This commit is contained in:
1 parent
c8461850f0
commit
51c3d9abcc
5 files changed
+123
-9
No files matched your search
+10
-2
@@ -111,8 +111,8 @@ OBJ= ${PROG}.o
|
||||
DATA=
|
||||
TARGET= ${PROG} pootris
|
||||
#
|
||||
ALT_OBJ=
|
||||
ALT_TARGET=
|
||||
ALT_OBJ= ${PROG}.alt.o
|
||||
ALT_TARGET= ${PROG}.alt pootris.alt
|
||||
|
||||
|
||||
#################
|
||||
@@ -139,6 +139,14 @@ pootris: ${PROG}
|
||||
alt: data ${ALT_TARGET}
|
||||
@${TRUE}
|
||||
|
||||
${PROG}.alt: ${PROG}.alt.c
|
||||
${CC} ${CFLAGS} $< -o $@ ${LDFLAGS}
|
||||
|
||||
pootris.alt: ${PROG}.alt
|
||||
${RM} -f $@
|
||||
${CP} $< $@
|
||||
|
||||
|
||||
# data files
|
||||
#
|
||||
data: ${DATA}
|
||||
|
||||
Reference in new issue
Block a user