-
Notifications
You must be signed in to change notification settings - Fork 3
/
bin.js
executable file
·29 lines (26 loc) · 1.38 KB
/
bin.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/usr/bin/env node
import adventure from 'adventure'
import * as IntroductionProblem from './problems/0-introduction/index.js'
import * as SpaceOutProblem from './problems/1-space-out/index.js'
import * as CatMemesProblem from './problems/2-cat-memes/index.js'
import * as DelegationProblem from './problems/3-delegation/index.js'
import * as InfiniteCompressionProblem from './problems/4-infinite-compression/index.js'
import * as MemesProblem from './problems/5-memes/index.js'
import * as DudeWhereProblem from './problems/6-dude-where/index.js'
import * as CommPProblem from './problems/7-commp/index.js'
// import * as PlaceholderProblem from './problems/placeholder/index.js'
const shop = adventure({
name: 'learnyouw3up',
title: '⁂ LEARN YOU THE W3UP FOR MUCH WIN!',
bg: 'magenta'
})
shop.add('Introduction: UCAN do it!', () => IntroductionProblem)
shop.add('Lets space out', () => SpaceOutProblem)
shop.add('Storing cat memes for fun and gossip', () => CatMemesProblem)
shop.add('Delegation, invocation and procrastination', () => DelegationProblem)
shop.add('Infinite avatar compression!', () => InfiniteCompressionProblem)
shop.add('Memes for my eyes', () => MemesProblem)
shop.add('DUDE, WHERE\'S MY CAR?', () => DudeWhereProblem)
shop.add('CommP at the edge or die trying', () => CommPProblem)
// shop.add('Revocation station', () => PlaceholderProblem)
shop.execute(process.argv.slice(2))