/OMGWTF2B

OMGWTF2 contest entry that I ran out of time on.

Primary LanguageC

OMGWTF2

OMGWTF2 contest entry.

MANIFEST

README.md       This file   
omgwtf2_cob.cob Main source code   
hacks.c         Source code
casts.cpy       Include file
constants.cpy   Include file
omgwtf2_cob.h   include file   
atbas_cob.y     Bison file for interpreting Atari BASIC tokenized code   
"Executive Decision Maker.atr"   
                Actual decision making program (*)   
gpl-2.0.txt     GPL License text   
Makefile   
omgwtf2_cob     The contest entry, 32 bit Linux executable   

README.wtf      The WTF notes for the entry   

SPECIAL NOTE ABOUT "Executive Decision Maker.atr"

This is a disk image of an apparently abandonware product. It contains an internal copyright:

COPYRIGHT (C) 1987 FIRST BYTE   
P.O. BOX 130822   
TYLER, TX 75713-0822   

A brief search of the web turned up no trace of First Byte.

The image was downloaded from www.atarimania.com.

The image is used in an unaltered form in the contest.

COPYRIGHT

Copyright 2013 by Charles Anthony.
Licensed under GPL 2.0

INSTRUCTIONS

Fetch the executable (omgwtf2_cob) and the data file (Executive Decision Maker.atr)

On a Linux box, run the executable inside a terminal window:

./omgwtf2_cob

You will see a splash screen; press any key to continue.

You will then see an instruction screen; press any key to continue.

You will then be prompted for a business decision question. Type in your question, and it will be answered. Press any key to ask another question, or ESC to exit the program.

Much understanding will be gained by reading the README.wtf file.