Giter VIP home page Giter VIP logo

javagame_teamproject's Introduction

JavaGame_TeamProject

GitHub java figma Notion


프로젝트 계기

Warriors Rise to Glory의 미니게임 구성

게임 클론 코딩을 통하여 Java의 기본적인 코드 구성과 협업툴을 사용을 숙달하기 위하여 진행하였다.

팀원 소개

  • 황민철
  • 길민성
  • 최수연

DEMO


DESIGN

Reference : Warriors Rise to Glory

Figma : https://www.figma.com/file/xjPY1vzyXr9hXG519f0e01/JAVA-GAME


Tech

팀원별 활동 내역 및 이슈정리

Notion 정리 : https://www.notion.so/1e9bb76e928349909f72b4b9ff4eac66?v=003d3590ae8c4783960586a9bf0fea44

Notion 작업 목록 : https://www.notion.so/8c6d4d6de7114911a2fc616e3868dfde?v=6168762095974f3dad9abf7e7ac7a7c8


마무리

21/03/29 ~ 21/04/16

첫 기획부터 개발, 마지막 발표까지 같이 열심히 진행해서 좋았습니다.

완벽하다고는 할 수는 없지만 하고자하는 기본적인 협업툴 사용법, JAVA 복습에 많은 도움이 되는 프로젝트 였습니다.

javagame_teamproject's People

Contributors

mc1128 avatar csooy38 avatar minseong0924 avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Forkers

csooy38

javagame_teamproject's Issues

딜레이 Thread문

Timer timer_delay = new Timer();
TimerTask task_delay = new TimerTask() {

				@Override
				public void run() {
					Dice();
					System.out.println(2);
					timer_delay.cancel();
				}
			};
			timer_delay.schedule(task_delay, 2500);

글씨색상 시간차 변경 - Timer 이용

userResult1.setForeground(Color.red);

			Timer timer_delay = new Timer();
			TimerTask task_delay = new TimerTask() {

							@Override
							public void run() {
								userResult1.setForeground(Color.black);
								System.out.println("유저결과1 색상변경");
							}
						};
						timer_delay.schedule(task_delay, 500);

골드 확률 적용 출력

static JLabel Result_Label;
static JLabel Gold_Label;
String resultText; // 결과값 메시지
int goldResult; // 골드값 메시지

void result() {

	if((Values.userHPData > Values.comHPData) && Values.comHPData == 0) {	// 대승리
		resultText = "이겼습니다!";
		Values.gold *= 2.5;
	}else if(Values.userHPData > Values.comHPData) {	// 승리
		resultText = "이겼습니다!";
		Values.gold *= 2;
	}else if(Values.userHPData == Values.comHPData) {	// 무승부
		resultText = "비겼습니다!";
		Values.gold *= 1;
	}else if(Values.userHPData < Values.comHPData) {	// 패배
		resultText = "졌습니다!";
		Values.gold *= 0;
	}
	
	Result_Label.setText(resultText);
	Gold_Label.setText(String.valueOf(Values.gold));
	
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.