-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0e91f27
commit 1bc6ade
Showing
21 changed files
with
3,040 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
BSD 3-Clause License | ||
|
||
Copyright (c) 2022, 牛さん | ||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions are met: | ||
|
||
1. Redistributions of source code must retain the above copyright notice, this | ||
list of conditions and the following disclaimer. | ||
|
||
2. Redistributions in binary form must reproduce the above copyright notice, | ||
this list of conditions and the following disclaimer in the documentation | ||
and/or other materials provided with the distribution. | ||
|
||
3. Neither the name of the copyright holder nor the names of its | ||
contributors may be used to endorse or promote products derived from | ||
this software without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | ||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE | ||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | ||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | ||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | ||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
## t-rex-runner | ||
|
||
the trex runner game extracted from chrome offline err page. | ||
|
||
- 这是 B2409 电教委员自己瞎改 access 整出来的花样,灵感来源包括但不限于班上的梗和对 Minecraft 的热爱 | ||
- 尤其是小精灵 Colin ,宁波市教研室我真的谢谢你,当然还有班上的 Colin ,真的好可爱😊 | ||
|
||
see the [source](https://cs.chromium.org/chromium/src/components/neterror/resources/offline.js?q=t-rex+package:%5Echromium$&dr=C&l=7) from chromium | ||
|
||
|
||
[go and enjoy! :smile: ](http://wayou.github.io/t-rex-runner/) | ||
|
||
 | ||
|
||
## Interesting Forks/In Chinese, we call it 「花样玩法」 | ||
|
||
- [vianroyal](https://github.com/vianroyal)/[t-rex-runner](https://github.com/vianroyal/t-rex-runner) [Kumamon runner](http://vianroyal.github.io/t-rex-runner/) | ||
<br> | ||
|
||
 | ||
|
||
- [xkuga](https://github.com/xkuga)/[t-rex-runner](https://github.com/xkuga/t-rex-runner) [Hello KuGou](http://hellokugou.com/) | ||
<br> | ||
|
||
 | ||
|
||
- [d-nery](https://github.com/d-nery/)/[t-rex-runner](https://github.com/d-nery/t-rex-runner) [Novas coisas](http://d-nery.github.io/t-rex-runner/) | ||
<br> | ||
|
||
 | ||
|
||
- [chirag64](https://github.com/chirag64)/[t-rex-runner-bot](https://github.com/chirag64/t-rex-runner-bot) [t-rex runner bot](https://chirag64.github.io/t-rex-runner-bot/) | ||
<br> | ||
|
||
 | ||
|
||
- [19janil](https://github.com/19janil)/[t-rex-runner](https://github.com/19janil/t-rex-runner) [t-rex runner](https://19janil.github.io/t-rex-runner/) | ||
<br> | ||
|
||
 | ||
|
||
- [enthus1ast](https://github.com/enthus1ast)/[chromeTrip](https://github.com/enthus1ast/chromeTrip) [Chrome Trip by code0](https://code0.itch.io/chrome-trip) | ||
<br> | ||
|
||
 | ||
|
||
- [zouariste](https://github.com/zouariste)/[corona-runner](https://github.com/zouariste/corona-runner) [Corona runner](https://zouariste.github.io/corona-runner/) | ||
<br> | ||
|
||
 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,165 @@ | ||
/* Copyright 2013 The Chromium Authors. All rights reserved. | ||
* Use of this source code is governed by a BSD-style license that can be | ||
* found in the LICENSE file. */ | ||
|
||
html, body { | ||
padding: 0; | ||
margin: 0; | ||
width: 100%; | ||
height: 100%; | ||
} | ||
|
||
.icon { | ||
-webkit-user-select: none; | ||
user-select: none; | ||
display: inline-block; | ||
} | ||
|
||
.icon-offline { | ||
content: -webkit-image-set( url(assets/default_100_percent/100-error-offline.png) 1x, url(assets/default_200_percent/200-error-offline.png) 2x); | ||
position: relative; | ||
} | ||
|
||
.hidden { | ||
display: none; | ||
} | ||
|
||
|
||
/* Offline page */ | ||
|
||
.offline .interstitial-wrapper { | ||
color: #2b2b2b; | ||
font-size: 1em; | ||
line-height: 1.55; | ||
margin: 0 auto; | ||
max-width: 600px; | ||
padding-top: 100px; | ||
width: 100%; | ||
} | ||
|
||
.offline .runner-container { | ||
height: 150px; | ||
max-width: 600px; | ||
overflow: hidden; | ||
position: absolute; | ||
top: 35px; | ||
width: 44px; | ||
} | ||
|
||
.offline .runner-canvas { | ||
height: 150px; | ||
max-width: 600px; | ||
opacity: 1; | ||
overflow: hidden; | ||
position: absolute; | ||
top: 0; | ||
z-index: 2; | ||
} | ||
|
||
.offline .controller { | ||
background: rgba(247, 247, 247, .1); | ||
height: 100vh; | ||
left: 0; | ||
position: absolute; | ||
top: 0; | ||
width: 100vw; | ||
z-index: 1; | ||
} | ||
|
||
#offline-resources { | ||
display: none; | ||
} | ||
|
||
@media (max-width: 420px) { | ||
.suggested-left > #control-buttons, .suggested-right > #control-buttons { | ||
float: none; | ||
} | ||
.snackbar { | ||
left: 0; | ||
bottom: 0; | ||
width: 100%; | ||
border-radius: 0; | ||
} | ||
} | ||
|
||
@media (max-height: 350px) { | ||
h1 { | ||
margin: 0 0 15px; | ||
} | ||
.icon-offline { | ||
margin: 0 0 10px; | ||
} | ||
.interstitial-wrapper { | ||
margin-top: 5%; | ||
} | ||
.nav-wrapper { | ||
margin-top: 30px; | ||
} | ||
} | ||
|
||
@media (min-width: 600px) and (max-width: 736px) and (orientation: landscape) { | ||
.offline .interstitial-wrapper { | ||
margin-left: 0; | ||
margin-right: 0; | ||
} | ||
} | ||
|
||
@media (min-width: 420px) and (max-width: 736px) and (min-height: 240px) and (max-height: 420px) and (orientation:landscape) { | ||
.interstitial-wrapper { | ||
margin-bottom: 100px; | ||
} | ||
} | ||
|
||
@media (min-height: 240px) and (orientation: landscape) { | ||
.offline .interstitial-wrapper { | ||
margin-bottom: 90px; | ||
} | ||
.icon-offline { | ||
margin-bottom: 20px; | ||
} | ||
} | ||
|
||
@media (max-height: 320px) and (orientation: landscape) { | ||
.icon-offline { | ||
margin-bottom: 0; | ||
} | ||
.offline .runner-container { | ||
top: 10px; | ||
} | ||
} | ||
|
||
@media (max-width: 240px) { | ||
.interstitial-wrapper { | ||
overflow: inherit; | ||
padding: 0 8px; | ||
} | ||
} | ||
|
||
.arcade-mode, | ||
.arcade-mode .runner-container, | ||
.arcade-mode .runner-canvas { | ||
image-rendering: pixelated; | ||
max-width: 100%; | ||
overflow: hidden; | ||
} | ||
|
||
.arcade-mode #buttons, | ||
.arcade-mode #main-content { | ||
opacity: 0; | ||
overflow: hidden; | ||
} | ||
|
||
.arcade-mode .interstitial-wrapper { | ||
height: 100vh; | ||
max-width: 100%; | ||
overflow: hidden; | ||
} | ||
|
||
.arcade-mode .runner-container { | ||
left: 0; | ||
margin: auto; | ||
right: 0; | ||
transform-origin: top center; | ||
transition: transform 250ms cubic-bezier(0.4, 0, 1, 1) 400ms; | ||
z-index: 2; | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.