Fork of the popular game "2048"
After <div class="game-container">...</div>
, remove the three <p>...</p>
nodes.
Remove the tag <h1 class="title">2048</h1>
.
Above window.requestAnimationFrame(...)
, initialize a new variable with var gameManager;
.
Replace new GameManager(...)
with gameManager = new GameManager(...)
.
Before .above-game:after { ... }
, add:
.above-game {
display: none;
}
Inside of gameContainer.addEventListener(this.eventTouchstart, function (event) {
, remove event.preventDefault()
at the end.
Remove the definition var gameContainer = document.getElementsByClassName("game-container")[0];
.
Replace all occurrences of gameContainer
with document
.
All contributions are welcome! If you wish to contribute, please create an issue first so that your feature, problem or question can be discussed.
- AppRater — delight.im — Apache License 2.0
- Android-BaseLib — delight.im — Apache License 2.0
- Android-Progress — delight.im — Apache License 2.0
- Android-AdvancedWebView — delight.im — Apache License 2.0
- 2048 — Gabriele Cirulli — MIT License
- Android 2.2+
This project is neither affiliated with nor endorsed by Gabriele Cirulli.
Copyright (c) delight.im <info@delight.im>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.