Skip to content

팀프로젝트 확인 부탁드립니다. #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 34 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
e6916ca
Create 수정.txt
JangDongBin Jan 19, 2021
2f10006
Delete 수정.txt
JangDongBin Jan 19, 2021
7bb2ad0
Create 수정.txt
JangDongBin Jan 19, 2021
9822f37
Update 수정.txt
ki-jung-kyun Jan 19, 2021
e553cee
enter key -> 스페이스
JangDongBin Jan 19, 2021
e276f6c
file change
ki-jung-kyun Jan 19, 2021
0660620
Sound Add
JangDongBin Jan 19, 2021
3291d6c
kor convert eng
JangDongBin Jan 19, 2021
f5e6f29
reupload
JangDongBin Jan 19, 2021
c9df800
sound End
JangDongBin Jan 20, 2021
96f22be
design change
ki-jung-kyun Jan 20, 2021
b1380cf
kor eng change
JangDongBin Jan 20, 2021
f77683e
change design2
ki-jung-kyun Jan 20, 2021
4630532
rank score file read
JangDongBin Jan 20, 2021
b53a68d
score rank file read
JangDongBin Jan 20, 2021
1b984a2
//test
tabss2003 Jan 20, 2021
5208b8c
kor-> eng
ki-jung-kyun Jan 20, 2021
515a884
test
tabss2003 Jan 20, 2021
79d10ba
Merge branch 'master' of https://github.com/tabss2003/2017_JAVA_TermP…
tabss2003 Jan 20, 2021
b27d470
reupload
ki-jung-kyun Jan 20, 2021
4c67235
score txt change
JangDongBin Jan 20, 2021
a0c0d02
score save
JangDongBin Jan 20, 2021
4678bba
Merge branch 'master' of https://github.com/tabss2003/2017_JAVA_TermP…
ki-jung-kyun Jan 20, 2021
580095d
score delete
JangDongBin Jan 20, 2021
5da0de3
test2
tabss2003 Jan 20, 2021
eb072b2
Merge branch 'master' of https://github.com/tabss2003/2017_JAVA_TermP…
tabss2003 Jan 20, 2021
d74dcb8
last game
ki-jung-kyun Jan 21, 2021
0aae78d
Update score.txt
tabss2003 Jan 21, 2021
f515b8d
Merge branch 'master' of https://github.com/tabss2003/2017_JAVA_TermP…
tabss2003 Jan 21, 2021
b6bad7d
reup
ki-jung-kyun Jan 21, 2021
863aaec
Merge branch 'master' of https://github.com/tabss2003/2017_JAVA_TermP…
ki-jung-kyun Jan 21, 2021
6344622
test3
tabss2003 Jan 21, 2021
dd7e408
Merge branch 'master' of https://github.com/tabss2003/2017_JAVA_TermP…
tabss2003 Jan 21, 2021
54f3dc5
오타 수정
JangDongBin Jan 21, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="src" path="Game/src"/>
<classpathentry kind="src" path="JAVA_FirstGame/src"/>
<classpathentry kind="src" path="javaTermProject/avoidBomb/src"/>
<classpathentry kind="output" path="JAVA_FirstGame/bin"/>
</classpath>
17 changes: 17 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>2017_JAVA_TermProject</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
Empty file added JAVA_FirstGame/.metadata/.lock
Empty file.
35 changes: 35 additions & 0 deletions JAVA_FirstGame/.metadata/.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
!SESSION 2021-01-19 23:21:26.220 -----------------------------------------------
eclipse.buildId=4.17.0.I20200902-1800
java.version=14.0.2
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=ko_KR
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product

!ENTRY org.eclipse.jface 2 0 2021-01-19 23:21:46.366
!MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2021-01-19 23:21:46.366
!MESSAGE A conflict occurred for CTRL+SHIFT+T:
Binding(CTRL+SHIFT+T,
ParameterizedCommand(Command(org.eclipse.jdt.ui.navigate.open.type,Open Type,
Open a type in a Java editor,
Category(org.eclipse.ui.category.navigate,Navigate,null,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@7252bdb,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(CTRL+SHIFT+T,
ParameterizedCommand(Command(org.eclipse.lsp4e.symbolinworkspace,Go to Symbol in Workspace,
,
Category(org.eclipse.lsp4e.category,Language Servers,null,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@25ea068e,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)

!ENTRY org.eclipse.egit.ui 2 0 2021-01-19 23:22:05.678
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\rlwnd'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
version=1
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
content_assist_proposals_background=255,255,255
content_assist_proposals_foreground=0,0,0
eclipse.preferences.version=1
org.eclipse.jdt.ui.formatterprofiles.version=20
spelling_locale_initialized=true
useAnnotationsPrefPage=true
useQuickDiffPrefPage=true
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
org.eclipse.jsch.core.hasChangedDefaultWin32SshHome=true
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
org.eclipse.m2e.discovery.pref.projects=
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
PROBLEMS_FILTERS_MIGRATE=true
eclipse.preferences.version=1
platformState=1605883069631
quickStart=false
tipsAndTricks=true
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
showIntro=false
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
//org.eclipse.ui.commands/state/org.eclipse.ui.navigator.resources.nested.changeProjectPresentation/org.eclipse.ui.commands.radioState=false
PLUGINS_NOT_ACTIVATED_ON_STARTUP=;org.eclipse.m2e.discovery;
eclipse.preferences.version=1
org.eclipse.ui.workbench.ACTIVE_NOFOCUS_TAB_BG_END=255,255,255
org.eclipse.ui.workbench.ACTIVE_NOFOCUS_TAB_BG_START=255,255,255
org.eclipse.ui.workbench.ACTIVE_NOFOCUS_TAB_TEXT_COLOR=16,16,16
org.eclipse.ui.workbench.ACTIVE_TAB_BG_END=255,255,255
org.eclipse.ui.workbench.ACTIVE_TAB_BG_START=255,255,255
org.eclipse.ui.workbench.INACTIVE_TAB_BG_START=242,242,242
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
processedSchemes=,eclipse+mpc,eclipse+command
2,118 changes: 2,118 additions & 0 deletions JAVA_FirstGame/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<typeInfoHistroy/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<qualifiedTypeNameHistroy/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<section name="Workbench">
<section name="org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart">
<item key="group_libraries" value="true"/>
<item key="layout" value="2"/>
<item key="rootMode" value="1"/>
<item key="linkWithEditor" value="false"/>
<item key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#x0D;&#x0A;&lt;packageExplorer group_libraries=&quot;1&quot; layout=&quot;2&quot; linkWithEditor=&quot;0&quot; rootMode=&quot;1&quot; workingSetName=&quot;Aggregate for window 1611066114663&quot;&gt;&#x0D;&#x0A;&lt;customFilters userDefinedPatternsEnabled=&quot;false&quot;&gt;&#x0D;&#x0A;&lt;xmlDefinedFilters&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.StaticsFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.buildship.ui.packageexplorer.filter.gradle.buildfolder&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.NonJavaProjectsFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer_patternFilterId_.*&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.NonSharedProjectsFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.SyntheticMembersFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.ContainedLibraryFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.internal.ui.PackageExplorer.HideInnerClassFilesFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.internal.ui.PackageExplorer.EmptyInnerPackageFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.m2e.MavenModuleFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.buildship.ui.packageexplorer.filter.gradle.subProject&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.ClosedProjectsFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.DeprecatedMembersFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.EmptyLibraryContainerFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.PackageDeclarationFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.ImportDeclarationFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.NonJavaElementFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.LibraryFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.CuAndClassFileFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.internal.ui.PackageExplorer.EmptyPackageFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.NonPublicFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.LocalTypesFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.FieldsFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;/xmlDefinedFilters&gt;&#x0D;&#x0A;&lt;/customFilters&gt;&#x0D;&#x0A;&lt;/packageExplorer&gt;"/>
</section>
</section>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2021-01-19 23:22:04,236 [Worker-2: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is up-to-date. Trying to read.
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<configuration scan="true">
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<pattern>%date [%thread] %-5level %logger{35} - %msg%n</pattern>
</encoder>
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>OFF</level> <!-- change to DEBUG to mimic '-consolelog' behaviour -->
</filter>
</appender>

<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<File>${org.eclipse.m2e.log.dir}/0.log</File>
<rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
<FileNamePattern>${org.eclipse.m2e.log.dir}/%i.log</FileNamePattern>
<MinIndex>1</MinIndex>
<MaxIndex>10</MaxIndex>
</rollingPolicy>
<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
<MaxFileSize>100MB</MaxFileSize>
</triggeringPolicy>
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<pattern>%date [%thread] %-5level %logger{35} - %msg%n</pattern>
</encoder>
</appender>

<appender name="EclipseLog" class="org.eclipse.m2e.logback.appender.EclipseLogAppender">
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>WARN</level>
</filter>
</appender>

<appender name="MavenConsoleLog" class="org.eclipse.m2e.logback.appender.MavenConsoleAppender">
</appender>

<root level="INFO">
<appender-ref ref="FILE" />
<appender-ref ref="STDOUT" />
<appender-ref ref="EclipseLog" />
<appender-ref ref="MavenConsoleLog" />
</root>

<logger name="com.ning.http.client" level="INFO" />
</configuration>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<setup:Workspace
xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
name="workspace"/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<section name="Workbench">
</section>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<state reopen="false"/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<workingSetManager>
<workingSet editPageId="org.eclipse.jdt.internal.ui.DynamicSourcesWorkingSet" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1611066108814_0" label="Java Main Sources" name="Java Main Sources"/>
<workingSet editPageId="org.eclipse.jdt.internal.ui.DynamicSourcesWorkingSet" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1611066108879_1" label="Java Test Sources" name="Java Test Sources"/>
<workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1611066114663_2" label="Window Working Set" name="Aggregate for window 1611066114663"/>
</workingSetManager>
3 changes: 3 additions & 0 deletions JAVA_FirstGame/.metadata/version.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#Tue Jan 19 23:21:41 KST 2021
org.eclipse.core.runtime=2
org.eclipse.platform=4.17.0.v20200902-1800
14 changes: 14 additions & 0 deletions JAVA_FirstGame/bin/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/CatThread.class
/DogThread.class
/FishThread.class
/MyKeyListener$ScoreThread.class
/MyKeyListener.class
/NyangiGame$1.class
/NyangiGame.class
/Test/
/TimeOver$1.class
/TimeOver.class
/TimerThread.class
/bombGame/
/main/
/nyangIGame/
Binary file added JAVA_FirstGame/bin/CatThread.class
Binary file not shown.
Binary file added JAVA_FirstGame/bin/DogThread.class
Binary file not shown.
Binary file added JAVA_FirstGame/bin/FishThread.class
Binary file not shown.
Binary file not shown.
Binary file added JAVA_FirstGame/bin/MyKeyListener.class
Binary file not shown.
Binary file added JAVA_FirstGame/bin/NyangiGame$1.class
Binary file not shown.
Binary file added JAVA_FirstGame/bin/NyangiGame.class
Binary file not shown.
Binary file added JAVA_FirstGame/bin/Test/ClickButton$1.class
Binary file not shown.
Binary file added JAVA_FirstGame/bin/Test/ClickButton.class
Binary file not shown.
Binary file added JAVA_FirstGame/bin/Test/InitArrayValue.class
Binary file not shown.
Binary file added JAVA_FirstGame/bin/TimeOver$1.class
Binary file not shown.
Binary file added JAVA_FirstGame/bin/TimeOver.class
Binary file not shown.
Binary file added JAVA_FirstGame/bin/TimerThread.class
Binary file not shown.
5 changes: 5 additions & 0 deletions JAVA_FirstGame/bin/bombGame/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>
17 changes: 17 additions & 0 deletions JAVA_FirstGame/bin/bombGame/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>bombGame</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
Binary file modified JAVA_FirstGame/bin/main/BottomDesign.class
Binary file not shown.
Binary file modified JAVA_FirstGame/bin/main/ImageThread.class
Binary file not shown.
Binary file modified JAVA_FirstGame/bin/main/Main.class
Binary file not shown.
Binary file modified JAVA_FirstGame/bin/main/MainFrame$1.class
Binary file not shown.
Binary file modified JAVA_FirstGame/bin/main/MainFrame$2.class
Binary file not shown.
Binary file modified JAVA_FirstGame/bin/main/MainFrame$3.class
Binary file not shown.
Binary file added JAVA_FirstGame/bin/main/MainFrame$4.class
Binary file not shown.
Binary file modified JAVA_FirstGame/bin/main/MainFrame.class
Binary file not shown.
Binary file modified JAVA_FirstGame/bin/nyangIGame/MyKeyListener$ScoreThread.class
Binary file not shown.
Binary file modified JAVA_FirstGame/bin/nyangIGame/MyKeyListener.class
Binary file not shown.
Binary file modified JAVA_FirstGame/bin/nyangIGame/NyangiGame$1.class
Binary file not shown.
Binary file modified JAVA_FirstGame/bin/nyangIGame/NyangiGame.class
Binary file not shown.
Binary file modified JAVA_FirstGame/bin/nyangIGame/TimeOver$1.class
Binary file not shown.
Binary file modified JAVA_FirstGame/bin/nyangIGame/TimeOver.class
Binary file not shown.
Binary file added JAVA_FirstGame/images/back.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added JAVA_FirstGame/images/doodunyang.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added JAVA_FirstGame/images/rnak.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added JAVA_FirstGame/images/screen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions JAVA_FirstGame/resource/score.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
319
24
8
13
101
Binary file added JAVA_FirstGame/sound/cat.wav
Binary file not shown.
Binary file added JAVA_FirstGame/sound/dog.wav
Binary file not shown.
Binary file added JAVA_FirstGame/sound/fish.wav
Binary file not shown.
Binary file added JAVA_FirstGame/sound/mainBGM.wav
Binary file not shown.
12 changes: 3 additions & 9 deletions JAVA_FirstGame/src/main/BottomDesign.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,21 @@

import javax.swing.*;

import bombGame.ButtonTimer;

public class BottomDesign {
public BottomDesign(JFrame container) {

/*
* ������ �̹��� label ����
*/
/*Pipe image label setting*/
ImageIcon imagePipe = new ImageIcon("./images/bottom/pipe.png");
JLabel pipe = new JLabel(imagePipe);

pipe.setBounds(330, 380, 100, 100);

/*
* Ƣ��� �̹��� label ����
*/
/*Jump out image label setting*/
ImageThread thread = new ImageThread(container);
thread.start();


// container�� pipe�� ����
// container pipe add
container.add(pipe);
}
}
22 changes: 9 additions & 13 deletions JAVA_FirstGame/src/main/ImageThread.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ public void run() {
while(true) {


/*
* 6�� �ö󰡰�, 3�� ���, 6�� ��������
*/
/*6sec up, 3sec wait, 6sec down*/
if (wait < 6) {
y -= 10;
randomImage.setBounds(x, y, 100, 100);
Expand All @@ -46,37 +44,35 @@ public void run() {
sleep(100);
wait++;

// 1.5�� ���� �ʱ�ȭ
//1.5sec Initialize
if(wait == 15) {

// �̹��� ����
//image delete
randomImage.setIcon(null);
// wait���� �ʱ�ȭ
//wait variable Initialize
wait = 1;

// �̹��� ����
//image change

// �̹����� �������� �����ϱ� ���� ���� �� �ޱ�
//Receive random values for randomly selecting images
int rand = (int)(Math.random()*4);
if (rand >= 4) rand=3;

System.out.println("main.ImageThread.run :: rand : "+rand);

// �������� ���� ���� �迭�� �־� �̹��� ����
//Choose an image by placing randomly received values in an array
String addrImg = "images/bottom/"+imageArr[rand];
ImageIcon image = new ImageIcon(addrImg);

if (image.getClass() != null) {
System.out.println("main.ImageThread.run :: addrImg : "+ addrImg);
}

randomImage.setIcon(image);
}
} catch (InterruptedException e) {
}
catch (InterruptedException e) {
return;
}
}
}

}
14 changes: 12 additions & 2 deletions JAVA_FirstGame/src/main/Main.java
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
package main;

import java.awt.Color;
import java.io.IOException;

import javax.sound.sampled.LineUnavailableException;
import javax.sound.sampled.UnsupportedAudioFileException;
import javax.swing.JFrame;

public class Main {

public static void main(String[] args) {
public static void main(String[] args) throws UnsupportedAudioFileException, IOException, LineUnavailableException {
MainFrame frame = new MainFrame();
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setSize(515,700);
frame.setVisible(true);

new MainFrame();

}
}
Loading