-
Notifications
You must be signed in to change notification settings - Fork 0
/
genCards.js
223 lines (202 loc) · 7.24 KB
/
genCards.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
const langs = {
js: "./imgs/jslogo.jpeg",
py: "https://cdn4.iconfinder.com/data/icons/scripting-and-programming-languages/512/Python_logo-512.png",
lua: "https://upload.wikimedia.org/wikipedia/commons/thumb/c/cf/Lua-Logo.svg/1200px-Lua-Logo.svg.png",
blocki: "./imgs/blocki.png",
};
function addProjects() {
generateCard(document.getElementById("projects"), {
hrefLink: "https://tic80.com/play?cart=3571",
title: "TIC-80 ML: DBScan",
description:
"DBSCAN Machine Learning algorithm implemented in the TIC-80 fantasy console.",
languageLogo: langs.lua,
topImage: "./imgs/dbscan_cover.png",
bottomImage: "./imgs/dbscan_back.gif",
year: "Fall 2023",
});
generateCard(document.getElementById("projects"), {
hrefLink: "https://tic80.com/play?cart=3572",
title: "TIC-80 ML: K-means",
description:
"K-Means Machine Learning algorithm implemented in the TIC-80 fantasy console.",
languageLogo: langs.lua,
topImage: "./imgs/kmeans_back.gif",
bottomImage: "./imgs/kmeans_back.gif",
year: "Fall 2023",
});
generateCard(document.getElementById("projects"), {
hrefLink: "https://github.com/rodigu/supernova-age",
title: "Supernova Age Prediction",
description:
"Applying Machine-Learning clustering algorithms to help predict the age of supernovae.",
languageLogo: langs.py,
topImage: "",
bottomImage: "",
year: "Fall 2022",
});
generateCard(document.getElementById("projects"), {
hrefLink: "https://github.com/Liu-Hy/Food-Bank-Network-Simulation",
title: "Foodbank Simulation",
description:
"Monte Carlo simulation of food distribution networks by foodbanks. Built based on real data from Illinois Foodbanks",
languageLogo: langs.py,
topImage: "",
bottomImage: "",
year: "Fall 2022",
});
generateCard(document.getElementById("projects"), {
hrefLink: "https://tic80.com/play?cart=2788",
title: "WFC",
description:
"Wave function collapse algorithm implemented inside a TIC-80 retro fantasy console.",
languageLogo: langs.lua,
topImage: "./imgs/wfcgifcover.gif",
bottomImage: "./imgs/wfccover.png",
year: "Spring 2022",
});
generateCard(document.getElementById("projects"), {
hrefLink: "https://tic80.com/play?cart=2897",
title: "RPS Cellular Automata",
description: "Implementation of the Rock-Paper-Scissors cellular automata.",
languageLogo: langs.lua,
topImage: "./imgs/rpsca.gif",
bottomImage: "./imgs/rpsca.gif",
year: "Fall 2022",
});
}
function addWork() {
generateCard(document.getElementById("work"), {
hrefLink: "https://courses.illinois.edu/schedule/2024/spring/GSD/103",
title: "GSD 405 TA",
description:
"Teaching assistant for Basics of Game Design. Taught and graded one discussion session (15 students).",
languageLogo: langs.blocki,
topImage: "",
bottomImage: "",
year: "Spring 2024",
});
generateCard(document.getElementById("work"), {
hrefLink: "https://courses.illinois.edu/schedule/2024/spring/GSD/405",
title: "GSD 405 TA",
description:
"Teaching assistant for Intro to the Game Development Process. Worked as game producer for students' projects. Managed the class Discord server.",
languageLogo: langs.blocki,
topImage: "",
bottomImage: "",
year: "Spring 2024",
});
generateCard(document.getElementById("work"), {
hrefLink: "https://courses.illinois.edu/schedule/2023/fall/GSD/403",
title: "GSD 403 TA",
description:
"Teaching assistant for Top Down Game Design. Worked as Dan Cermak's teaching assistant.",
languageLogo: langs.blocki,
topImage: "",
bottomImage: "",
year: "Fall 2023",
});
generateCard(document.getElementById("work"), {
hrefLink: "http://catalog.illinois.edu/courses-of-instruction/gsd/",
title: "GSD 103 TA",
description:
"Teaching assistant for Basics of Game Design. Taught and graded two discussion sessions (30 students).",
languageLogo: langs.blocki,
topImage: "",
bottomImage: "",
year: "Spring 2023",
});
generateCard(document.getElementById("work"), {
hrefLink: "https://ischool.illinois.edu/degrees-programs/courses/is101",
title: "IS 101 TA",
description:
"Teaching assistant for Information Science 101. Taught and graded two discussion sessions (50 students).",
languageLogo: langs.blocki,
topImage: "",
bottomImage: "",
year: "Fall 2022",
});
generateCard(document.getElementById("work"));
generateCard(document.getElementById("work"), {
hrefLink: "https://pushstart.com.br",
title: "Software Developer",
description:
"Junior JS developer at PushStart. Implemented web-based games using the PixiJS library.",
languageLogo: langs.js,
topImage: "",
bottomImage: "",
year: "Fall 2021",
});
}
function addGames() {
generateCard(document.getElementById("games"), {
hrefLink: "https://rmorais.itch.io/tritri",
title: "tritri",
description: "Falling trominoes game for up to 3 players.",
languageLogo: langs.lua,
topImage: "./imgs/tri.png",
bottomImage: "./imgs/tritri.gif",
year: "Fall 2024",
});
generateCard(document.getElementById("games"), {
hrefLink: "https://rmorais.itch.io/matic",
title: "MaTIC",
description: "Educational math game.",
languageLogo: langs.lua,
topImage: "./imgs/matic.gif",
bottomImage: "./imgs/matic_play.gif",
year: "Fall 2024",
});
generateCard(document.getElementById("games"), {
hrefLink: "https://rmorais.itch.io/xadado",
title: "Xadado",
description:
"A dice board game for two. Made for TIC-80 retro fantasy console.",
languageLogo: langs.lua,
topImage: "./imgs/dademomenu.gif",
bottomImage: "./imgs/dademoplay.gif",
year: "Spring 2023",
});
generateCard(document.getElementById("games"), {
hrefLink: "https://tic80.com/play?cart=2922",
title: "Batchan Game",
description: "Tic-tac-toe variation for the TIC-80 fantasy console.",
languageLogo: langs.lua,
topImage: "./imgs/baga.gif",
bottomImage: "./imgs/baga.gif",
year: "Fall 2022",
});
generateCard(document.getElementById("games"), {
hrefLink: "https://rmorais.itch.io/deliveries-bitsy",
title: "Deliveries",
description:
"Bitsy game about making deliveries to friends from around the world.",
languageLogo: langs.js,
topImage: "./imgs/deliveriescover.png",
bottomImage: "./imgs/deliveriesgif.gif",
year: "Fall 2022",
});
generateCard(document.getElementById("games"), {
hrefLink: "https://rmorais.itch.io/ntro",
title: "ntro",
description:
"Tron-like game for an arbitrary number of players. Made in 3 hours for Trijam #153.",
languageLogo: langs.js,
topImage: "./imgs/ntrocover.png",
bottomImage: "./imgs/ntrocover.png",
year: "Spring 2022",
});
generateCard(document.getElementById("games"), {
hrefLink: "https://rmorais.itch.io/a-monstrous-constelation",
title: "Monstrous Constelation",
description:
"Implementation of chirp-firing/dollar game. Made using the Network2020 library.",
languageLogo: langs.js,
topImage: "./imgs/monstrouscover.png",
bottomImage: "./imgs/monstrousgif.gif",
year: "Spring 2022",
});
}
addWork();
addGames();
addProjects();