-
Notifications
You must be signed in to change notification settings - Fork 0
/
title-screen.js
61 lines (54 loc) · 1.35 KB
/
title-screen.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
const CFonts = require('cfonts');
const chalk = require('chalk');
function titleScreen() {
CFonts.say('Pixel Pusher!', {
font: 'block',
align: 'center',
colors: [],
background: 'transparent',
letterSpacing: 2,
lineHeight: 1,
space: true,
maxLength: '0',
gradient: ['#F88379', '#9867c5'],
independentGradient: false,
transitionGradient: false,
env: 'node',
});
CFonts.say('By st-ART-up', {
font: 'tiny',
align: 'center',
colors: ['#FFC476'],
background: 'transparent',
letterSpacing: 2,
lineHeight: 1,
space: true,
maxLength: '0',
independentGradient: false,
transitionGradient: false,
env: 'node',
});
console.log(
chalk.blueBright(
'・・・・・・・・・・・・・・・・・・・・ Katrina - Brandon - Kat - Vance - Nicole - Erich - Soraya - Steph ・・・・・・・・・・・・・・・・・・・・ \n\n'
)
);
let i = 0;
const goStop = setInterval(function () {
console.log('🌈');
console.log(' ❤️');
console.log(' 🧡');
console.log(' 💛');
console.log(' 💚');
console.log(' 💙');
console.log(' 💜');
i++;
if (i >= 6) {
clearInterval(goStop);
}
}, 800);
}
titleScreen();
module.exports = {
titleScreen
}