From 7aaa972118701269d04ae735d6f678023ba50065 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Fri, 21 Apr 2023 11:16:42 -0700 Subject: [PATCH] Format fix 2001/ctk/README.md --- 2001/ctk/README.md | 34 ++++++++++++++++------------------ 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/2001/ctk/README.md b/2001/ctk/README.md index 5b4643dc4..794fbd02c 100644 --- a/2001/ctk/README.md +++ b/2001/ctk/README.md @@ -1,9 +1,9 @@ # Worst Driver - Chris King - 115 Foster Center Road - Foster, RI, 02825 - USA +Chris King +115 Foster Center Road +Foster, RI, 02825 +USA ## To build: @@ -17,13 +17,9 @@ make ./ctk ``` -[Yusuke Endoh](/winners.html#Yusuke_Endoh) provided a patch to fix the ANSI -escape codes. It became apparent to [Cody Boone -Ferguson](/winners.html#Cody_Boone_Ferguson) (when he was looking at the source -code of this entry) that it was no longer valid ANSI escape sequences. He has -used them before (who hasn't ?) but that was a long time ago and with Yusuke's -patch it works. Cody notes that this fix will not just work for linux but macOS -too. Thank you Yusuke for your assistance! +The ANSI escape codes were no longer valid but [Yusuke +Endoh](/winners.html#Yusuke_Endoh) provided a patch to fix the ANSI escape +codes. This works with macOS as well. Thank you Yusuke! ## Try: @@ -32,7 +28,7 @@ too. Thank you Yusuke for your assistance! echo "Do or do not. There is no try." ``` -Make sure to hit 'q' to exit or else your terminal will be messed up (to restore +Make sure to hit `q` to exit or else your terminal will be messed up (to restore it you can try `stty sane` or `reset`). ## Judges' remarks: @@ -44,21 +40,23 @@ This is, of course, another of the retro games. ## Author's remarks: -This is a game based on an Apple ][ Print Shop Companion easter -egg named 'DRIVER', in which the goal is to drive as fast as +This is a game based on an Apple ][ Print Shop Companion [Easter +egg][1] named 'DRIVER', in which the goal is to drive as fast as you can down a long twisty highway without running off the -road. Use ',./', '[ ]', or 'bnm' to go left, straight, and -right respectively. Use '1234' to switch gears. 'q' quits. The +road. Use `,./`, `[ ]`, or `bnm` to go left, straight, and +right respectively. Use `1234` to switch gears. `q` quits. The faster you go and the thinner the road is, the more points you get. Most of the obfuscation is in the nonsensical if statements among other things. It works best on the Linux console: you get engine sound (!) and the * Lock keyboard lights tell you -what gear you're in (none lit=4th). The 'q' argument (no -leading '-') will silence the sound. It won't work on a terminal +what gear you're in (none lit=4th). The `q` argument (no +leading `-`) will silence the sound. It won't work on a terminal smaller than 80x24, but it works fine with more (try it in an XTerm with the "Unreadable" font and the window maximized vertically!). +[1]: https://en.wikipedia.org/wiki/Easter_egg_(media)#In_computing + ## Copyright and CC BY-SA 4.0 License: This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.