8000 GitHub - SE-cocacola/agricola: 소프트웨어 공학 아그리콜라 게임 JS 개발
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

SE-cocacola/agricola

Repository files navigation

Software Engineering

아그리콜라 게임 개발

agricola_banner

html html download

Build your farmstead by sowing fields and raising livestock. But don't forget to eat!

Agricola is an online, 2D game using JavaScript and HTML5.

노트북 하나로 Agricola 보드게임을 가족들과 친구들과 즐겨보세요!

How to start

1. Local Install (with electron)

You can create an installation file through electron and install it directly on your pc to play.

First, fork the repository. Then, go into your favorite terminal.

git clone git@github.com:YOUR_USERNAME/game.git
cd game
npm install
npm init -y
npm install --save-dev electron
npm install --save-dev electron-builder

Then, you need to modify package.json

"main": "main.js",
"scripts": {
    "start": "electron .",
    "dist": "electron-builder"
},
"build": {
    "appId": "agicola",
    "win": {
    "target": "nsis"
    }
    "mac": {
    "target": "dmg"
    }
},

If you are on Windows, type and run npm run dist. This will create an installation file in the dist folder. You can install it and play!

게임 플레이 화면

선 정하기

playing1

농지

playing6

주요 설비 획득

playing2

주요 설비 설치

playing3

게임 진행 - 울타리치기 / 가족 늘리기 / 씨 뿌리기

playing4

게임 진행 - 집 개조

playing5

점수 계산

playing7

디렉터리 구조

tree

Class Diagram

Agricola class diagram

핵심 파일 정리

  • Game
    • 게임 시작
    • 게임 끝
  • GameManager
    • 라운드 실행
    • 수확 실행
    • 이긴 사람 보여주기
  • Player
    • 점수 계산
    • 농부 이동
  • MajorCardManager
    • 전체 주요 설비 카드 관리
  • ResourceManager
    • 자원 추가
    • 자원 소비
    • 주요 설비 설치
    • 설치한 주요 설비 조회

Notice

  • 본 게임은 2인용 게임으로 게임의 진행을 위해 보조 설비, 직업 카드 없이 하는 규칙으로 설정했습니다.
  • 규칙에 따라 회합장소 -> 음식 1개 누적칸으로 변경되었습니다.
  • 게임은 7라운드까지 구현하였습니다.

Reference URL

html

  • 요구사항 명세서 (전체/문서/엔지니어링)
  • 회의록 (전체/회의)
  • 활동 보고서 (전체/문서/..)

html

  • 코드 저장소

html

  • jira project management

html

  • 커뮤니케이션

About

소프트웨어 공학 아그리콜라 게임 JS 개발

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6

0