Skip to content

Commit 3061b17

Browse files
committed
Add cowsay command and whois new_associate Easter egg
- Add classic Unix cowsay command that displays user input in ASCII cow speech bubble - Add hidden whois new_associate Easter egg with Henry Head's info and ASCII portrait - Add new_associate.png portrait image for ASCII art generation
1 parent cf35791 commit 3061b17

3 files changed

Lines changed: 27 additions & 0 deletions

File tree

config/commands.js

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,13 @@ const commands = {
5959
const description = whoisRoot;
6060
term.printArt("rootvc-square");
6161
term.stylePrint(description);
62+
} else if (name == "new_associate") {
63+
term.printArt("new_associate");
64+
term.stylePrint("\r\nHenry Head, Associate (maybe)");
65+
term.stylePrint("https://www.linkedin.com/in/jebhenryhead/\r\n");
66+
term.stylePrint(
67+
"Henry was previously on the Model Policy team at OpenAI, working on AI safety systems. He is a builder, angel investor through Queen City Angels, and has a BA in Government from Claremont McKenna College."
68+
);
6269
} else if (Object.keys(team).includes(name)) {
6370
const person = team[name];
6471
term.printArt(name);
@@ -159,6 +166,24 @@ const commands = {
159166
term.stylePrint(`(Robot voice): ${message}`);
160167
},
161168

169+
cowsay: function (args) {
170+
const message = args.join(" ") || "moo";
171+
const msgLen = message.length;
172+
const top = " " + "_".repeat(msgLen + 2);
173+
const bottom = " " + "-".repeat(msgLen + 2);
174+
const cow = [
175+
`< ${message} >`,
176+
bottom,
177+
" \\ ^__^",
178+
" \\ (oo)\\_______",
179+
" (__)\\ )\\/\\",
180+
" ||----w |",
181+
" || ||",
182+
];
183+
term.writeln(top);
184+
cow.forEach((line) => term.writeln(line));
185+
},
186+
162187
pwd: function () {
163188
term.stylePrint("/" + term.cwd.replaceAll("~", `home/${term.user}`));
164189
},

images/new_associate.png

60.4 KB
Loading

js/ascii-art.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ function preloadASCIIArt() {
2424
for (p of people) {
2525
_loadArt(p, 1.0, term.cols >= 60 ? 0.5 : 1.0, 'png', true);
2626
}
27+
// Easter egg
28+
_loadArt("new_associate", 1.0, term.cols >= 60 ? 0.5 : 1.0, 'png', true);
2729
}
2830

2931
// TODO: Here is where we should insert alternatives to ASCII as text

0 commit comments

Comments
 (0)