Skip to content

DaoCloud/dao-2048

Repository files navigation

2048

Artifact Hub

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:

export VERSION=v1.4.1
docker run -d -p 8080:80 ghcr.io/daocloud/dao-2048:$VERSION

open browser and view https://:8080 .

Run in kubernetes

export VERSION=v1.4.1
helm repo add dao-2048 https://daocloud.github.io/dao-2048/
helm install dao-2048 dao-2048/dao-2048 --version $VERSION 

Advanced Usage

Use LoadBalancer Service

helm upgrade --install dao-2048 dao-2048/dao-2048 --version $VERSION --set service.type=LoadBalancer

Use Dual Stack Service

helm upgrade --install dao-2048 dao-2048/dao-2048 --version $VERSION --set service.ipFamilyPolicy=PreferDualStack

Use Static Image

helm upgrade --install dao-2048 dao-2048/dao-2048 --version $VERSION --set image.repository=daocloud/dao-2048-static

Thanks

This image is derived from the Docker Hub image alexwhen/docker-2048, thanks to the developer alexwhen enthusiastic support. And thanks to gabrielecirulli's 2048 project