From 6676cd90abf23692412ef5668a9c673dea4ade68 Mon Sep 17 00:00:00 2001 From: aconconi Date: Fri, 14 Oct 2022 20:42:02 +0200 Subject: [PATCH] Added credits header to source code. --- 25_Chief/lua/chief.lua | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/25_Chief/lua/chief.lua b/25_Chief/lua/chief.lua index 281ba645..39a2e4e2 100644 --- a/25_Chief/lua/chief.lua +++ b/25_Chief/lua/chief.lua @@ -1,3 +1,23 @@ +--[[ +Chief + +From: BASIC Computer Games (1978) +Edited by David H. Ahl + + In the words of the program author, John Graham, “CHIEF is designed to + give people (mostly kids) practice in the four operations (addition, + multiplication, subtraction, and division). + + It does this while giving people some fun. And then, if the people are + wrong, it shows them how they should have done it. + + CHIEF was written by John Graham of Upper Brookville, New York. + + +Lua port by Alex Conconi, 2022. +]]-- + + --- Helper function for tabulating messages. local function tab(n) return string.rep(" ", n) end