Skip to content

Commit d622d41

Browse files
Merge pull request #20 from roman-yagodin/master
Update website
2 parents 0667683 + f6c7335 commit d622d41

12 files changed

+22
-19
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# Protogame
1+
# Philogem
22

33
5D action adventure.
44

55
## What's this all about?
66

7-
It's up to you to [discover](https://roman-yagodin.github.io/protogame/)!
8-
Don't take it too seriously - have fun!
7+
It's up to you to [discover](https://roman-yagodin.github.io/philogem/)!
8+
Don't take it too seriously and have fun!
99

1010
## Licenses
1111

@@ -15,5 +15,5 @@ All content used by this program (see `data` folder) is used under citation rule
1515
All author rights to the original content used by this program belongs to its respectful authors.
1616

1717
If you (as author or copyright holder) feel your rights were somethat affected in a way you'd not want to,
18-
please contact me via email from my [GitHub profile](https://github.com/roman-yagodin/protogame)
19-
or open an [issue](https://github.com/roman-yagodin/protogame/issues)/[discussion](https://github.com/roman-yagodin/protogame/discussions).
18+
please contact me via email from my [GitHub profile](https://github.com/roman-yagodin/philogem)
19+
or open an [issue](https://github.com/roman-yagodin/philogem/issues)/[discussion](https://github.com/roman-yagodin/philogem/discussions).

data/about/58ea074f.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
author: Roman Yagodin
33
colors: [ white ]
44
---
5-
The main (and only) resource in Protogame is the _action points_ (AP).
5+
The main (and only) resource in Philogem is the _action points_ (AP).
66

77
Action points recieved semi-randomly on a daily basis and could be spent to "follow" actions (costs 2 AP) and other actions (costs 1 AP).
88

data/about/d4c1df21.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
author: Roman Yagodin
33
colors: [ white ]
44
---
5-
The Protogame project combines (in a strange way) a lot of things which is dear to me: WWW, programming, FLOSS, computer games, languages, philosophy, self-knowledge, humor, etc.
5+
The Philogem project combines (in a strange way) a lot of things which is dear to me: WWW, programming, FLOSS, computer games, languages, philosophy, self-knowledge, humor, etc.
66

77
You can think of it as a blog, a collection of personal notes, a game of words - that you can play with, then make your own, and then develop further in a ways that you (and probably only you) would know, understand and love.
88

data/about/e6aa104d.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
author: Roman Yagodin
33
colors: [ white ]
44
---
5-
Every Protogame run begins with player level equal to 0.
5+
Every Philogem run begins with player level equal to 0.
66

77
Every time player returns to the game after 12h interval, his/hers level is increased by 1 point.
88

data/marx/50935c17-ru.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
author: Karl Marx
33
co-authors: [ Spinoza, Hegel ]
44
lang: ru
5-
colors: [ white, blue ]
5+
colors: [ white, blue, orange ]
66
---
77
Необходимость слепа, пока не станет осознанной.
88
Свобода - это сознание необходимости.

data/marx/50935c17y.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
author: Karl Marx
33
co-authors: [ Spinoza, Hegel ]
4-
colors: [ white, blue ]
4+
colors: [ white, blue, orange ]
55
link: https://www.socratic-method.com/quote-meanings-and-interpretations/karl-marx-necessity-is-blind-until-it-becomes-conscious-freedom-is-the-consciousness-of-necessity
66
---
77
Necessity is blind until it becomes conscious.

index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!doctype html>
22
<html>
33
<head>
4-
<title>Protogame: 5D action adventure</title>
4+
<title>Philogem: 5D action adventure</title>
55
<meta name="viewport" content="width=device-width, initial-scale=1" />
66
<link rel="stylesheet" href="css/xterm.css" />
77
<link rel="stylesheet" href="css/styles.css" />

js/app.js

+5-4
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class Game {
4949

5050
loadOrNew() {
5151
// TODO: Detect localStorage support
52-
const stateStr = localStorage.getItem("protogame_state");
52+
const stateStr = localStorage.getItem("philogem_state");
5353
if (stateStr) {
5454
this.state = JSON.parse(stateStr);
5555
// TODO: Tweak format of resulting state - if may be from old version
@@ -75,7 +75,7 @@ class Game {
7575
}
7676

7777
saveState() {
78-
localStorage.setItem("protogame_state", JSON.stringify(this.state));
78+
localStorage.setItem("philogem_state", JSON.stringify(this.state));
7979
}
8080

8181
resetActionCounter() {
@@ -453,12 +453,13 @@ async function scene2_greeting() {
453453
resetStyle();
454454

455455
let showMenu = true;
456+
const adventure = randomMsg(["adventure", "your journey"]);
456457
while (true) {
457458
const choice = await menu([
458459
{ text: "", choice: "showMenu" },
459-
{ text: `Continue ${randomMsg(["adventure", "your journey"])}`, choice: "continue" },
460+
{ text: `Continue ${adventure}`, choice: "continue" },
460461
{ text: "You have emails: (1)", choice: "email" },
461-
{ text: "New protogame (resets progress)", choice: "newGame" }
462+
{ text: `New ${adventure} (resets progress)`, choice: "newGame" }
462463
], showMenu);
463464

464465
showMenu = false;

js/data.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/playerNames.js

+2
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,6 @@ export const playerNames = [
1616
"adventurer",
1717
"traveler",
1818
"wanderer",
19+
"protagonist",
20+
"actor"
1921
];

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "protogame",
2+
"name": "philogem",
33
"version": "1.0.0",
44
"description": "",
55
"main": "index.js",

0 commit comments

Comments
 (0)