Decisions, Decisions

wire cutters Submitted by: Johnicholas Hines Score: 5.64 (out of 10)
Length: 122 characters
Computer Language: awk
Interface Language: English
Description

A game of critical choices.


Instructions

To run from the unix command line:

awk -f DecisionsDecisions.awk


Download: Decisions
Source Code: 

Comments

dougo@quiet:~/twifcomp2010$

dougo@quiet:~/twifcomp2010$ awk -f DecisionsDecisions.awk
awk: DecisionsDecisions.awk:1: BEGIN {c=6}
awk: DecisionsDecisions.awk:1: ^ invalid char 'ï' in expression

I deleted the first character and it worked.

The original upload contained

The original upload contained an invisible leading character. AFAIK, the current zipped file should yield a "clean" version. I had taken the old file, re-edited in vi, saved, ran from command line and zipped it up. I also just tried copying from the source box and pasting into a fresh file, and that also worked (at least in my situation under OS X10.5.8)

That was kind of fun, but I

That was kind of fun, but I couldn't download it - I got "no route to host." So I ended up copying and pasting the source code again. I'm not sure if I would have gotten it otherwise.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Syndicate content