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/README.md b/README.md index 1bd24e4..f35890b 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 diff --git a/build-image.sh b/build-image.sh new file mode 100644 index 0000000..c8bf2cd --- /dev/null +++ b/build-image.sh @@ -0,0 +1,14 @@ +#!/bin/sh +set -e +set -o xtrace + +IMAGE_NAME=HackTheGame-v002 + +# 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