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. Interactive Fiction player for the web.
Powered by [cheap-glkote](https://github.com/He4eT/cheap-glkote) and [Emglken](https://github.com/curiousdannii/emglken). 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 ## Direct links
@ -12,13 +12,13 @@ You can provide the direct link to your game:
`/#/play/encodedURL/[theme]/[mode]/` `/#/play/encodedURL/[theme]/[mode]/`
- `encodedURL` — storyfile location encoded with `encodeURIComponent`. - `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: - `mode` — player interface mode, optional:
- the default mode is used if the option is not set. - the default mode is used if the option is not set.
- `focus` — single window mode without additional windows, such as the status bar. - `focus` — single window mode without additional windows, such as the status bar.
### Examples ### 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" 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/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/elseifplayer/#/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" 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/ifplayer/#/play/https%3A%2F%2Fmirror.ifarchive.org%2Fif-archive%2Fgames%2Fzcode%2FLostPig.z8/dim/focus/); - [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"` CURRENT_TIMESTAMP=`date +"%Y-%m-%d-%H%M%S"`
GH_REPO_NAME='ifplayer' GH_REPO_NAME='elseifplayer'
RELEASE_BRANCH='release' RELEASE_BRANCH='release'
BUILD_DIR='docs' BUILD_DIR='docs'

View file

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

3
package-lock.json generated
View file

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

View file

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

View file

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

View file

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

View file

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

View file

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