Skip to content

Game-as-a-Service/HUNTER-Gungi

Repository files navigation

HUNTER X HUNTER 軍儀

Intro your game

軍儀棋是全職獵人嵌合蟻篇出現,作者原創的棋。發源地是劇中的東果陀國。

規則類似象棋,而一開始放棋可以在自己陣地(最接近自己的三行)任意放。

棋盤為9×9的格仔棋盤。

並有特別的疊棋規則,最多疊三層。

所以盤面從平面向上延伸成立體,劇中也是因為軍儀棋這種變化莫測的特性,才讓「王」破解遊戲的同時探索自己的內心!

實作上會以官方版的規則為主如下
影片連結

Practice Stack

  • Event Storming
  • BDD (Example Mapping)
  • ATDD
  • OOAD
  • docker
  • CI/CD Pipeline
  • Clean Architecture

對於目前的pratice stack都不是很熟,但就是列在pratice stack了,一起加油吧

Tech Stack

Ubiquitous Language

chinese english
軍儀盤 gungiHan
軍儀 gungi
放置區 gungiOki
死亡區 deadArea
擲駒 furiGoma
goma
移駒 ugokiGoma
arata
推疊 tsukeru
投降 surrender

category of goma

chinese english
osho
hei
sho
chu
dai
uma
shi
yari
ho
yumi
tsutsu
toride
hakaru
shinobi

Development Environment Setup

The development environment is streamlined across operating systems using Docker container and image.

Step 1: Set up git environment

  • Local machine git config
    • name
    • email Example:
$ git config --global user.name "John Doe"
$ git config --global user.email [email protected]

The email should be one of the emails on the profile settings page on GitHub.

Link: https://github.com/settings/emails

At this stage it's recommended to use SSH on GitHub but it's not required.

Step 2: Install Required Technologies

  • Docker

  • NodeJs

    • Link: https://nodejs.org/en/
    • nvm is recommended to manage NodeJs versions but not required
      $ nvm install 18
      $ nvm alias default 18  # this sets the default alias to 18
      $ nvm use default  # explicitly uses default
      $ nvm list # lists all the installed and available node versions

Step 3: Set up project library CLI

Step 4: Configure Local Environment

Cloning the repo

  • SSH
$ git clone [email protected]:Game-as-a-Service/HUNTER-Gungi.git
  • HTTP
git clone https://github.com/Game-as-a-Service/HUNTER-Gungi.git

Local Dev Environment Setup

  • Install all dependencies from package.json in both server and frontend
$ cd ./server ; npm install
$ cd ./frontend ; npm install

Step 5: Build and Run Project

Building project

On the root folder directory run:

$ npm run start

This will build the image if there is no required image found and start running both the server and frontend.

  • local server: localhost:8000
  • local frontend: localhost:3000

Additional Notes

  • It's possible to run the application without Docker and this will just start a normal instance of server and frontend without Docker. Commands:
    • on server: npm run start:dev
    • on frontend: npm run dev
  • The Docker container is set up with hot reload on both server and frontend

About

HUNTER X HUNTER 獵人 軍儀

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published