-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Showing
3 changed files
with
42 additions
and
1 deletion.
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
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,30 @@ | ||
# 2048 | ||
|
||
[](https://artifacthub.io/packages/search?repo=dao-2048) | ||
|
||
2048 is a number puzzle game. When the squares of the same number are merged together, they will add up. Each round will have an extra square with 2 or 4 written on it, and the game ends when the square cannot be moved. Players have to find a way to make up a square with **2048** (or larger) in this small 16 squares. | ||
|
||
# Quick Start | ||
|
||
## Run as docker container | ||
|
||
open shell and input: | ||
|
||
``` | ||
TAG="1.1.0-alpha.2" | ||
docker run -d -p 8080:80 ghcr.io/daocloud/dao-2048:$TAG | ||
``` | ||
|
||
open browser and view http://<server-ip>:8080 . | ||
|
||
## Run in kubernetes | ||
|
||
``` | ||
helm repo add dao-2048 http://daocloud.github.io/dao-2048/ | ||
helm install my-release dao-2048/dao-2048 | ||
``` | ||
|
||
|
||
### Thanks | ||
|
||
This image is derived from the Docker Hub image **[alexwhen/docker-2048](https://registry.hub.docker.com/u/alexwhen/docker-2048/)**, thanks to the developer**[alexwhen] (https://github.com/alexwhen)** enthusiastic support. |
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