Rename the project to ElseIFPlayer

This commit is contained in:
He4eT 2021-07-24 19:52:42 +05:00 committed by Alexey
commit 8699868c42
9 changed files with 17 additions and 16 deletions

View file

@ -1,9 +1,9 @@
# ifplayer
# ElseIFPlayer
Interactive Fiction player for the web.
Powered by [cheap-glkote](https://github.com/He4eT/cheap-glkote) and [Emglken](https://github.com/curiousdannii/emglken).
To see a live demo, check out [https://he4et.github.io/ifplayer/](https://he4et.github.io/ifplayer/).
To see a live demo, check out [https://he4et.github.io/elseifplayer/](https://he4et.github.io/elseifplayer/).
## Direct links
@ -12,13 +12,13 @@ You can provide the direct link to your game:
`/#/play/encodedURL/[theme]/[mode]/`
- `encodedURL` — storyfile location encoded with `encodeURIComponent`.
- `theme` — [UI theme](https://github.com/He4eT/ifplayer/blob/master/src/themes/themes.js), optional.
- `theme` — [UI theme](https://github.com/He4eT/elseifplayer/blob/master/src/themes/themes.js), optional.
- `mode` — player interface mode, optional:
- the default mode is used if the option is not set.
- `focus` — single window mode without additional windows, such as the status bar.
### Examples
- [Play "Lost Pig" with default or last used theme](https://he4et.github.io/ifplayer/#/play/https%3A%2F%2Fmirror.ifarchive.org%2Fif-archive%2Fgames%2Fzcode%2FLostPig.z8/);
- [Play "Lost Pig" without statusbar with default or last used theme](https://he4et.github.io/ifplayer/#/play/https%3A%2F%2Fmirror.ifarchive.org%2Fif-archive%2Fgames%2Fzcode%2FLostPig.z8/);
- [Play "Lost Pig" with Nord theme](https://he4et.github.io/ifplayer/#/play/https%3A%2F%2Fmirror.ifarchive.org%2Fif-archive%2Fgames%2Fzcode%2FLostPig.z8/nord/);
- [Play "Lost Pig" without statusbar with Dim theme](https://he4et.github.io/ifplayer/#/play/https%3A%2F%2Fmirror.ifarchive.org%2Fif-archive%2Fgames%2Fzcode%2FLostPig.z8/dim/focus/);
- [Play "Lost Pig" with default or last used theme](https://he4et.github.io/elseifplayer/#/play/https%3A%2F%2Fmirror.ifarchive.org%2Fif-archive%2Fgames%2Fzcode%2FLostPig.z8/);
- [Play "Lost Pig" without statusbar with default or last used theme](https://he4et.github.io/elseifplayer/#/play/https%3A%2F%2Fmirror.ifarchive.org%2Fif-archive%2Fgames%2Fzcode%2FLostPig.z8/);
- [Play "Lost Pig" with Nord theme](https://he4et.github.io/elseifplayer/#/play/https%3A%2F%2Fmirror.ifarchive.org%2Fif-archive%2Fgames%2Fzcode%2FLostPig.z8/nord/);
- [Play "Lost Pig" without statusbar with Dim theme](https://he4et.github.io/elseifplayer/#/play/https%3A%2F%2Fmirror.ifarchive.org%2Fif-archive%2Fgames%2Fzcode%2FLostPig.z8/dim/focus/);

View file

@ -2,7 +2,7 @@
CURRENT_TIMESTAMP=`date +"%Y-%m-%d-%H%M%S"`
GH_REPO_NAME='ifplayer'
GH_REPO_NAME='elseifplayer'
RELEASE_BRANCH='release'
BUILD_DIR='docs'

View file

@ -6,7 +6,7 @@
name="viewport"
content="width=device-width, initial-scale=1.0">
<title>
IFPlayer
ElseIFPlayer
</title>
<meta
name="description"

3
package-lock.json generated
View file

@ -1,10 +1,11 @@
{
"name": "ifplayer",
"name": "elseifplayer",
"version": "0.1.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "elseifplayer",
"version": "0.1.0",
"license": "MIT",
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "ifplayer",
"name": "elseifplayer",
"version": "0.1.0",
"description": "Play interactive fiction games in your browser",
"main": "index.js",

View file

@ -15,7 +15,7 @@ const fail = details => (
<a
target='_blank'
rel='noopener noreferrer'
href='https://github.com/He4eT/ifplayer/issues'>
href='https://github.com/He4eT/elseifplayer/issues'>
Report bug
</a>
</div>

View file

@ -16,7 +16,7 @@ const themes = [
'wasp'
]
const LS_THEME_KEY = 'ifplayer/theme'
const LS_THEME_KEY = 'elseifplayer/theme'
const DEFAULT_THEME = themes[0]
const getSavedTheme = () => {

View file

@ -21,7 +21,7 @@ export default function ({ themeEngine }) {
return (
<main className='view home'>
<h1>
ifplayer
ElseIFPlayer
</h1>
<section>
@ -32,7 +32,7 @@ export default function ({ themeEngine }) {
Source code can be found in this <a
target='_blank'
rel='noopener noreferrer'
href='https://github.com/He4eT/ifplayer'>
href='https://github.com/He4eT/elseifplayer'>
repository
</a>.
</p>

View file

@ -18,7 +18,7 @@ export default () => (
<a
target='_blank'
rel='noopener noreferrer'
href='https://github.com/He4eT/ifplayer/issues'>
href='https://github.com/He4eT/elseifplayer/issues'>
Report bug
</a>
</div>