From 280a9015d61dec621f02ca6111dd5460f853a8b1 Mon Sep 17 00:00:00 2001 From: myitinos Date: Sat, 16 Feb 2019 22:10:55 +0800 Subject: [PATCH 1/4] Update 'README.md' --- README.md | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 1bd24e4..4fa1901 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,24 @@ -# HackTheGame v0.0.2 -## Decription -Hello Guys! This is v0.0.2, there are some improvement over the last version: -+ Added Save/Load System -+ Added Inn (Restore HP and Save) -+ Added Simple Fighting -+ Added Some Monster -+ Added Boss "Flag Guardian" +# HackTheGame-v002 +## Instruction +- Deploy pake docker +- Binary bisa di taruh di soal / GDrive -Because of some problem I need to disable offline playing and now it's only available online at: -nc 192.168.0.1 8080 +## Category +Joy -## Dependencies +## Desription +The game is progessing quite nicely, +now you can fight some monster. -This repo depends on: +And maybe if you level up enough +you could defeat the Final Boss +"The Flag Guardian" -### cpp-base64 -here: https://github.com/ReneNyffenegger/cpp-base64 +Author: Leonardo + +## Flag + +GKSK{H0w_d1d_I_n0t_real1ze_such_4_s7up1d_m1sT4k3} + +## Difficulty +Easy \ No newline at end of file From ee483a103390cac515e9ba53f9ce3ab7b11a6b6c Mon Sep 17 00:00:00 2001 From: soekarmana Date: Sat, 16 Feb 2019 22:20:46 +0800 Subject: [PATCH 2/4] add new build scripts & drone ci script --- .drone.yml | 10 ++++++++++ build-image.sh | 14 ++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 .drone.yml create mode 100644 build-image.sh diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..b9bb7c3 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,10 @@ +pipeline: + build-docker: + image: docker:18.06.1-ce + volumes: + - /var/run/docker.sock:/var/run/docker.sock + commands: + - chmod +x ./build-image.sh + - ./build-image.sh + when: +event: [push] \ No newline at end of file diff --git a/build-image.sh b/build-image.sh new file mode 100644 index 0000000..d34f19e --- /dev/null +++ b/build-image.sh @@ -0,0 +1,14 @@ +#!/bin/sh +set -e +set -o xtrace + +IMAGE_NAME=warmup_welcome + +# clean old images +OLD_IMAGES=$(docker images $IMAGE_NAME -q --no-trunc) +if [ -n "${OLD_IMAGES}" ]; then + docker rmi -f ${OLD_IMAGES}; +fi + +#Build Images +docker build . -t $IMAGE_NAME From cc87ffd3cc41f111b4e8df4b14ad4751c0a1ab58 Mon Sep 17 00:00:00 2001 From: soekarmana Date: Sat, 16 Feb 2019 22:21:14 +0800 Subject: [PATCH 3/4] change image name --- build-image.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-image.sh b/build-image.sh index d34f19e..c8bf2cd 100644 --- a/build-image.sh +++ b/build-image.sh @@ -2,7 +2,7 @@ set -e set -o xtrace -IMAGE_NAME=warmup_welcome +IMAGE_NAME=HackTheGame-v002 # clean old images OLD_IMAGES=$(docker images $IMAGE_NAME -q --no-trunc) From 21eb0c9703efc5c2af886da3f2d95fd9cc481c28 Mon Sep 17 00:00:00 2001 From: myitinos Date: Sat, 16 Feb 2019 22:40:18 +0800 Subject: [PATCH 4/4] Update 'README.md' --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4fa1901..f35890b 100644 --- a/README.md +++ b/README.md @@ -21,4 +21,4 @@ Author: Leonardo GKSK{H0w_d1d_I_n0t_real1ze_such_4_s7up1d_m1sT4k3} ## Difficulty -Easy \ No newline at end of file +Easy \ No newline at end of file