Skip to content

Commit d9e438c

Browse files
Revamp the theme and remove all other themes
1 parent c13eeef commit d9e438c

23 files changed

Lines changed: 484 additions & 1186 deletions

domain-urls.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
theludos.com - Main
2-
anythingthat.works - Alternative
32
theludos.netlify.app - Alternative
Original file line numberDiff line numberDiff line change
@@ -1,94 +1,93 @@
1-
<!DOCTYPE html>
2-
<html lang="en">
3-
<noscript>
4-
<h1 a>
5-
PLEASE TURN ON JAVASCRIPT! IT IS REQUIRED TO WORK ON THIS SITE
6-
</h1 a>
7-
</noscript>
8-
9-
<head>
10-
<title>
11-
Eaglercraft | Ludos
12-
</title>
13-
<meta name="description" content="Ludos is a site designed for playing online HTML games in your browser!">
14-
<meta name="keywords" content="ludos, html, browser, games, online, fun, 3kh0, mythicaltrashcan, 1_mythical, holymythicalman">
15-
<meta name="author" content="HolyMythicalMan">
16-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
17-
<link href="style.css" rel="stylesheet">
18-
<script src="script.js"></script>
19-
<link type="image/png" rel="shortcut icon" href="../../favicons/ludos-favicon.png" />
20-
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1576606614118788" crossorigin="anonymous"></script>
21-
</head>
22-
23-
<body>
24-
<div>
25-
<button class="main" onclick="returnToProjects()">Return to projects</button>
26-
</div>
27-
<div class="games">
28-
<div id="games-container"></div>
29-
</div>
30-
<table style="margin-top: 50px;">
31-
<td class="footer">
32-
<a>Made by</a>
33-
<a href="https://github.com/HolyMythicalMan"><strong>HolyMythicalMan</strong></a>
34-
<a>2022-2025</a>
35-
</td>
36-
</table>
37-
<script>
38-
const links = ["assetsLink", "villadeLink"];
39-
links.forEach(link => {
40-
if (localStorage.getItem(link) === null) {
41-
localStorage.setItem(link, location.protocol + '//' + location.host.replace('www', link.slice(0, -4)));
42-
}
43-
});
44-
45-
const gameIcons = [
46-
{name: "Eaglercraft 1.12.2", id: "eaglercraft1_12_2", icon: "eaglerx.png", onclick: "openGame('eaglercraft1_12_2')"},
47-
{name: "Eaglercraft 1.12.2 (WASM)", id: "eaglercraft1_12_2_wasm", icon: "eaglerx.png", onclick: "openGame('eaglercraft1_12_2_wasm')"},
48-
{name: "EaglercraftX 1.8.8", id: "eaglercraftx", icon: "eaglerx.png", onclick: "openGame('eaglercraftx')"},
49-
{name: "EaglercraftX 1.8.8 (WASM)", id: "eaglercraftx_wasm", icon: "eaglerx.png", onclick: "openGame('eaglercraftx_wasm')"},
50-
{name: "EaglercraftX Shadow 1.8.8", id: "eaglercraftx_shadow", icon: "optifine.png", onclick: "openGame('eaglercraftx_shadow')"},
51-
{name: "Eaglercraft 1.6.4", id: "eaglercraft1_6_4", icon: "eagler.png", onclick: "openGame('eaglercraft1_6_4')"},
52-
{name: "Eaglercraft 1.5.2", id: "eaglercraft1_5_2", icon: "eagler.png", onclick: "openGame('eaglercraft1_5_2')"},
53-
{name: "Eaglercraft Beta 1.3_01", id: "eaglercraftb1_3", icon: "beta-grass.png", onclick: "openGame('eaglercraftb1_3')"},
54-
{name: "Eaglercraft Beta 1.7.3", id: "eaglercraftb1_7_3", icon: "beta-grass.png", onclick: "openGame('eaglercraftb1_7_3')"},
55-
{name: "Eaglercraft Alpha 1.2.6", id: "eaglercrafta1_2_6", icon: "beta-grass.png", onclick: "openGame('eaglercrafta1_2_6')"},
56-
];
57-
58-
const games = {
59-
eaglercraft1_12_2: "1.12.2",
60-
eaglercraft1_12_2_wasm: "1.12.2-wasm",
61-
eaglercraftx: "1.8.8",
62-
eaglercraftx_wasm: "1.8.8-wasm",
63-
eaglercraftx_shadow: "s1.8.8",
64-
eaglercraft1_6_4: "1.6.4",
65-
eaglercraft1_5_2: "1.5.2",
66-
eaglercraftb1_3: "b1.3_01",
67-
eaglercraftb1_7_3: "b1.7.3",
68-
eaglercrafta1_2_6: "a1.2.6"
69-
};
70-
71-
const gamesHtml = gameIcons.map(game => {
72-
return `
73-
<button class="${game.id.toLowerCase()}" onclick="${game.onclick}">
74-
<img draggable="false" src="https://raw.githubusercontent.com/HolyMythicalMan/Ludos-Assets/main/game_icons/${game.icon}" width="100" height="100">
75-
<br>${game.name}
76-
</button>
77-
`;
78-
}).join("");
79-
80-
document.getElementById("games-container").innerHTML = gamesHtml;
81-
82-
function openGame(gameName) {
83-
const gamePath = games[gameName];
84-
if (gamePath) {
85-
window.location.href = localStorage.getItem("villadeLink") + "/" + gamePath + "/";
86-
}
87-
else {
88-
alert('There was an issue attempting to open the game. (Game not found)');
89-
}
90-
}
91-
</script>
92-
</body>
93-
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<noscript>
4+
<h1 a>
5+
PLEASE TURN ON JAVASCRIPT! IT IS REQUIRED TO WORK ON THIS SITE
6+
</h1 a>
7+
</noscript>
8+
9+
<head>
10+
<title>
11+
Eaglercraft | Ludos
12+
</title>
13+
<meta name="description" content="Ludos is a site designed for playing online HTML games in your browser!">
14+
<meta name="keywords" content="ludos, html, browser, games, online, fun, 3kh0, mythicaltrashcan, 1_mythical, holymythicalman">
15+
<meta name="author" content="HolyMythicalMan">
16+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
17+
<link href="style.css" rel="stylesheet">
18+
<script src="script.js"></script>
19+
<link type="image/png" rel="shortcut icon" href="../../favicons/ludos-favicon.png" />
20+
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1576606614118788" crossorigin="anonymous"></script>
21+
</head>
22+
23+
<body>
24+
<div>
25+
<button class="main" onclick="returnToGames()">Return to projects</button>
26+
</div>
27+
<div class="games">
28+
<div id="games-container"></div>
29+
</div>
30+
<table style="margin-top: 50px;">
31+
<td class="footer">
32+
<a href="https://github.com/HolyMythicalMan/Ludos"><strong>Ludos</strong></a>
33+
<a>2022-2025</a>
34+
</td>
35+
</table>
36+
<script>
37+
const links = ["assetsLink", "villadeLink"];
38+
links.forEach(link => {
39+
if (localStorage.getItem(link) === null) {
40+
localStorage.setItem(link, location.protocol + '//' + location.host.replace('www', link.slice(0, -4)));
41+
}
42+
});
43+
44+
const gameIcons = [
45+
{name: "Eaglercraft 1.12.2", id: "eaglercraft1_12_2", icon: "eaglerx.png", onclick: "openGame('eaglercraft1_12_2')"},
46+
{name: "Eaglercraft 1.12.2 (WASM)", id: "eaglercraft1_12_2_wasm", icon: "eaglerx.png", onclick: "openGame('eaglercraft1_12_2_wasm')"},
47+
{name: "EaglercraftX 1.8.8", id: "eaglercraftx", icon: "eaglerx.png", onclick: "openGame('eaglercraftx')"},
48+
{name: "EaglercraftX 1.8.8 (WASM)", id: "eaglercraftx_wasm", icon: "eaglerx.png", onclick: "openGame('eaglercraftx_wasm')"},
49+
{name: "EaglercraftX Shadow 1.8.8", id: "eaglercraftx_shadow", icon: "optifine.png", onclick: "openGame('eaglercraftx_shadow')"},
50+
{name: "Eaglercraft 1.6.4", id: "eaglercraft1_6_4", icon: "eagler.png", onclick: "openGame('eaglercraft1_6_4')"},
51+
{name: "Eaglercraft 1.5.2", id: "eaglercraft1_5_2", icon: "eagler.png", onclick: "openGame('eaglercraft1_5_2')"},
52+
{name: "Eaglercraft Beta 1.3_01", id: "eaglercraftb1_3", icon: "beta-grass.png", onclick: "openGame('eaglercraftb1_3')"},
53+
{name: "Eaglercraft Beta 1.7.3", id: "eaglercraftb1_7_3", icon: "beta-grass.png", onclick: "openGame('eaglercraftb1_7_3')"},
54+
{name: "Eaglercraft Alpha 1.2.6", id: "eaglercrafta1_2_6", icon: "beta-grass.png", onclick: "openGame('eaglercrafta1_2_6')"},
55+
];
56+
57+
const games = {
58+
eaglercraft1_12_2: "1.12.2",
59+
eaglercraft1_12_2_wasm: "1.12.2-wasm",
60+
eaglercraftx: "1.8.8",
61+
eaglercraftx_wasm: "1.8.8-wasm",
62+
eaglercraftx_shadow: "s1.8.8",
63+
eaglercraft1_6_4: "1.6.4",
64+
eaglercraft1_5_2: "1.5.2",
65+
eaglercraftb1_3: "b1.3_01",
66+
eaglercraftb1_7_3: "b1.7.3",
67+
eaglercrafta1_2_6: "a1.2.6"
68+
};
69+
70+
const gamesHtml = gameIcons.map(game => {
71+
return `
72+
<button class="${game.id.toLowerCase()}" onclick="${game.onclick}">
73+
<img draggable="false" src="https://raw.githubusercontent.com/HolyMythicalMan/Ludos-Assets/main/game_icons/${game.icon}" width="100" height="100">
74+
<br>${game.name}
75+
</button>
76+
`;
77+
}).join("");
78+
79+
document.getElementById("games-container").innerHTML = gamesHtml;
80+
81+
function openGame(gameName) {
82+
const gamePath = games[gameName];
83+
if (gamePath) {
84+
window.location.href = localStorage.getItem("villadeLink") + "/" + gamePath + "/";
85+
}
86+
else {
87+
alert('There was an issue attempting to open the game. (Game not found)');
88+
}
89+
}
90+
</script>
91+
</body>
92+
9493
</html>

games/eaglercraft/script.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
function returnToGames() {
2+
window.location.href = '../';
3+
}
Original file line numberDiff line numberDiff line change
@@ -1,90 +1,91 @@
1-
:root {
2-
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
3-
color: #afafaf;
4-
background: radial-gradient(#131313 0%, #000000 100%);
5-
}
6-
7-
h1, h2, div {
8-
text-align: center;
9-
font-size: 80px;
10-
}
11-
12-
.footer {
13-
position: fixed;
14-
left: 0px;
15-
bottom: 0px;
16-
right: 0px;
17-
width: 100%;
18-
height: 40px;
19-
background-color: #000000;
20-
color: white;
21-
text-align: center;
22-
font-size: 25px;
23-
}
24-
25-
.main {
26-
width: 90vw;
27-
height: 100px;
28-
max-width: 1200px;
29-
background-color: transparent;
30-
border-style: solid;
31-
border-color: #242424;
32-
border-width: 4px;
33-
border-radius: 10px;
34-
color: #afafaf;
35-
cursor: pointer;
36-
font-size: 40px;
37-
transition: background-color .25s, border-color .25s;
38-
color: #a78209;
39-
margin-bottom: 100px;
40-
}
41-
42-
.main:hover {
43-
border-color: #a78209;
44-
}
45-
46-
.games {
47-
margin-bottom: 20px;
48-
}
49-
50-
.eaglercraft1_12_2,
51-
.eaglercraft1_12_2_wasm,
52-
.eaglercraftx,
53-
.eaglercraftx_wasm,
54-
.eaglercraftx_shadow,
55-
.eaglercraft1_6_4,
56-
.eaglercraft1_5_2,
57-
.eaglercraftb1_3,
58-
.eaglercraftb1_7_3,
59-
.eaglercrafta1_2_6
60-
{
61-
width: 25vw;
62-
min-width: 350px;
63-
max-width: 650px;
64-
display: inline-block;
65-
padding: 24px;
66-
white-space: none;
67-
background-color: transparent;
68-
border-style: solid;
69-
border-color: #242424;
70-
border-radius: 10px;
71-
color: #ffffff;
72-
cursor: pointer;
73-
font-size: 35px;
74-
transition: background-color .25s, border-color .25s;
75-
margin-bottom: 20px;
76-
}
77-
78-
.eaglercraft1_12_2:hover,
79-
.eaglercraft1_12_2_wasm:hover,
80-
.eaglercraftx:hover,
81-
.eaglercraftx_wasm:hover,
82-
.eaglercraftx_shadow:hover,
83-
.eaglercraft1_6_4:hover,
84-
.eaglercraft1_5_2:hover,
85-
.eaglercraftb1_3:hover,
86-
.eaglercraftb1_7_3:hover,
87-
.eaglercrafta1_2_6:hover
88-
{
89-
border-color: #ffffff;
1+
:root {
2+
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
3+
background: #000000;
4+
color: #636363;
5+
}
6+
7+
h1, h2, div {
8+
text-align: center;
9+
font-size: 80px;
10+
}
11+
12+
.footer {
13+
position: fixed;
14+
left: 0px;
15+
bottom: 0px;
16+
right: 0px;
17+
width: 100%;
18+
height: 40px;
19+
background-color: #000000;
20+
color: white;
21+
text-align: center;
22+
font-size: 25px;
23+
border-top: 2px solid #242424;
24+
}
25+
26+
.main {
27+
width: 90vw;
28+
height: 100px;
29+
max-width: 1200px;
30+
background-color: transparent;
31+
border-style: solid;
32+
border-color: #242424;
33+
border-width: 4px;
34+
border-radius: 10px;
35+
color: #afafaf;
36+
cursor: pointer;
37+
font-size: 40px;
38+
transition: background-color .25s, border-color .25s;
39+
color: #a78209;
40+
margin-bottom: 100px;
41+
}
42+
43+
.main:hover {
44+
border-color: #a78209;
45+
}
46+
47+
.games {
48+
margin-bottom: 20px;
49+
}
50+
51+
.eaglercraft1_12_2,
52+
.eaglercraft1_12_2_wasm,
53+
.eaglercraftx,
54+
.eaglercraftx_wasm,
55+
.eaglercraftx_shadow,
56+
.eaglercraft1_6_4,
57+
.eaglercraft1_5_2,
58+
.eaglercraftb1_3,
59+
.eaglercraftb1_7_3,
60+
.eaglercrafta1_2_6
61+
{
62+
width: 25vw;
63+
min-width: 350px;
64+
max-width: 650px;
65+
display: inline-block;
66+
padding: 24px;
67+
white-space: none;
68+
background-color: transparent;
69+
border-style: solid;
70+
border-color: #242424;
71+
border-radius: 10px;
72+
color: #ffffff;
73+
cursor: pointer;
74+
font-size: 35px;
75+
transition: background-color .25s, border-color .25s;
76+
margin-bottom: 20px;
77+
}
78+
79+
.eaglercraft1_12_2:hover,
80+
.eaglercraft1_12_2_wasm:hover,
81+
.eaglercraftx:hover,
82+
.eaglercraftx_wasm:hover,
83+
.eaglercraftx_shadow:hover,
84+
.eaglercraft1_6_4:hover,
85+
.eaglercraft1_5_2:hover,
86+
.eaglercraftb1_3:hover,
87+
.eaglercraftb1_7_3:hover,
88+
.eaglercrafta1_2_6:hover
89+
{
90+
border-color: #ffffff;
9091
}

0 commit comments

Comments
 (0)