.
This commit is contained in:
parent
36576a27f3
commit
c2095d0b13
29 changed files with 5941 additions and 0 deletions
67
wip-refactor/assets/projects.ts
Normal file
67
wip-refactor/assets/projects.ts
Normal file
|
@ -0,0 +1,67 @@
|
|||
export const projects = [
|
||||
{
|
||||
name: "Wildspace",
|
||||
description: "A browser pet game.",
|
||||
tags: ["Website", "Multiplayer", "ALPHA"],
|
||||
links: {
|
||||
public: "https://thewild.space",
|
||||
local: null,
|
||||
testing: null,
|
||||
wiki: "wiki.smgames.club/wildspace",
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "Ghostbound",
|
||||
description: "A ghost hunting game.",
|
||||
tags: ["PC", "Singleplayer", "Multiplayer", "ALPHA", "Horror", "Team"],
|
||||
links: {
|
||||
public: null,
|
||||
local: null,
|
||||
testing: null,
|
||||
wiki: "wiki.smgames.club/ghostbound",
|
||||
},
|
||||
},
|
||||
{
|
||||
name: '"Island"',
|
||||
description: "A cozy play-at-your-pace game.",
|
||||
tags: ["PC", "Singleplayer", "Multiplayer", "ALPHA", "Relaxing", "Sim"],
|
||||
links: {
|
||||
public: null,
|
||||
local: null,
|
||||
testing: null,
|
||||
wiki: "wiki.smgames.club/island",
|
||||
},
|
||||
},
|
||||
{
|
||||
name: '"Random RPG"',
|
||||
description: "An RPG game with actions and consequences.",
|
||||
tags: ["PC", "Singleplayer", "ALPHA", "RPG"],
|
||||
links: {
|
||||
public: null,
|
||||
local: null,
|
||||
testing: null,
|
||||
wiki: "wiki.smgames.club/randomrpg",
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
// Fetch all tags from the projects array
|
||||
export var tags: Array<string> = [];
|
||||
|
||||
projects.forEach((project) => {
|
||||
project.tags.forEach((tag) => {
|
||||
var exists: boolean = false;
|
||||
tags.forEach((existingTag) => {
|
||||
if (tag === existingTag) {
|
||||
exists = true;
|
||||
}
|
||||
});
|
||||
if (!exists)
|
||||
tags.push(tag);
|
||||
});
|
||||
});
|
||||
|
||||
export default {
|
||||
projects,
|
||||
tags,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue