Skip to content

Commit

Permalink
v1.2 [MAJOR UPDATE]
Browse files Browse the repository at this point in the history
-Added a new class to manage the game (GameManager)
-Added a new function which allows to save and load the match
-Added a new function which allows to go back to the start screen
-Added a progress bar which shows match status
-Updated card back and application icon
  • Loading branch information
acerbisgianluca committed Dec 3, 2017
1 parent f7a8170 commit 9d1d373
Show file tree
Hide file tree
Showing 56 changed files with 628 additions and 1,096 deletions.
6 changes: 3 additions & 3 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<!-- the Compile on Save feature is turned off for the project. -->
<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
<!-- in the project's Project Properties dialog box.-->
<project name="Memo" default="default" basedir=".">
<description>Builds, tests, and runs the project Memo.</description>
<project name="Memory" default="default" basedir=".">
<description>Builds, tests, and runs the project Memory.</description>
<import file="nbproject/build-impl.xml"/>
<!--
Expand Down Expand Up @@ -58,7 +58,7 @@
An example of overriding the target for project execution could look like this:
<target name="run" depends="Memo-impl.jar">
<target name="run" depends="Memory-impl.jar">
<exec dir="bin" executable="launcher.exe">
<arg file="${dist.jar}"/>
</exec>
Expand Down
4 changes: 2 additions & 2 deletions build/built-jar.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Fri, 01 Dec 2017 18:53:31 +0100
#Sun, 03 Dec 2017 19:53:19 +0100


D\:\\Project\\Java\ Project\\Memo=
D\:\\Project\\Java\ Project\\Memory=
Empty file.
Empty file.
Binary file removed build/classes/Memory/Carta.class
Binary file not shown.
Binary file modified build/classes/Memory/Game$1.class
Binary file not shown.
Binary file modified build/classes/Memory/Game$10.class
Binary file not shown.
Binary file modified build/classes/Memory/Game$11.class
Binary file not shown.
Binary file modified build/classes/Memory/Game$12.class
Binary file not shown.
Binary file modified build/classes/Memory/Game$13.class
Binary file not shown.
Binary file modified build/classes/Memory/Game$14.class
Binary file not shown.
Binary file modified build/classes/Memory/Game$15.class
Binary file not shown.
Binary file modified build/classes/Memory/Game$16.class
Binary file not shown.
Binary file modified build/classes/Memory/Game$17.class
Binary file not shown.
Binary file modified build/classes/Memory/Game$18.class
Binary file not shown.
Binary file modified build/classes/Memory/Game$19.class
Binary file not shown.
Binary file modified build/classes/Memory/Game$2.class
Binary file not shown.
Binary file added build/classes/Memory/Game$20.class
Binary file not shown.
Binary file added build/classes/Memory/Game$21.class
Binary file not shown.
Binary file modified build/classes/Memory/Game$3.class
Binary file not shown.
Binary file modified build/classes/Memory/Game$4.class
Binary file not shown.
Binary file modified build/classes/Memory/Game$5.class
Binary file not shown.
Binary file modified build/classes/Memory/Game$6.class
Binary file not shown.
Binary file modified build/classes/Memory/Game$7.class
Binary file not shown.
Binary file modified build/classes/Memory/Game$8.class
Binary file not shown.
Binary file modified build/classes/Memory/Game$9.class
Binary file not shown.
Binary file modified build/classes/Memory/Game.class
Binary file not shown.
486 changes: 0 additions & 486 deletions build/classes/Memory/Game.form

This file was deleted.

Binary file added build/classes/Memory/GameManager.class
Binary file not shown.
Binary file removed build/classes/Memory/Mazzo.class
Binary file not shown.
Binary file modified build/classes/Memory/Start$1.class
Binary file not shown.
Binary file modified build/classes/Memory/Start$2.class
Binary file not shown.
Binary file modified build/classes/Memory/Start$3.class
Binary file not shown.
Binary file added build/classes/Memory/Start$4.class
Binary file not shown.
Binary file modified build/classes/Memory/Start.class
Binary file not shown.
206 changes: 0 additions & 206 deletions build/classes/Memory/Start.form

This file was deleted.

Binary file modified build/classes/Memory/img/8.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified build/classes/Memory/img/logo.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 removed dist/Memo.jar
Binary file not shown.
Binary file added dist/Memory.jar
Binary file not shown.
Binary file modified dist/Memory.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/README.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ JAR files manifest file (MANIFEST.MF).
To run the project from the command line, go to the dist folder and
type the following:

java -jar "Memo.jar"
java -jar "Memory.jar"

To distribute this project, zip up the dist folder (including the lib folder)
and distribute the ZIP file.
Expand Down
10 changes: 5 additions & 5 deletions nbproject/build-impl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ is divided into following sections:
- cleanup
-->
<project xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc" basedir=".." default="default" name="Memo-impl">
<project xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc" basedir=".." default="default" name="Memory-impl">
<fail message="Please build using Ant 1.8.0 or higher.">
<condition>
<not>
Expand Down Expand Up @@ -440,7 +440,7 @@ is divided into following sections:
</condition>
<union id="test.set"/>
<taskdef classname="org.testng.TestNGAntTask" classpath="${run.test.classpath}" name="testng"/>
<testng classfilesetref="test.set" failureProperty="tests.failed" listeners="org.testng.reporters.VerboseReporter" methods="${testng.methods.arg}" mode="${testng.mode}" outputdir="${build.test.results.dir}" suitename="Memo" testname="TestNG tests" workingDir="${work.dir}">
<testng classfilesetref="test.set" failureProperty="tests.failed" listeners="org.testng.reporters.VerboseReporter" methods="${testng.methods.arg}" mode="${testng.mode}" outputdir="${build.test.results.dir}" suitename="Memory" testname="TestNG tests" workingDir="${work.dir}">
<xmlfileset dir="${build.test.classes.dir}" includes="@{testincludes}"/>
<propertyset>
<propertyref prefix="test-sys-prop."/>
Expand Down Expand Up @@ -588,7 +588,7 @@ is divided into following sections:
<condition else="-testclass @{testClass}" property="test.class.or.method" value="-methods @{testClass}.@{testMethod}">
<isset property="test.method"/>
</condition>
<condition else="-suitename Memo -testname @{testClass} ${test.class.or.method}" property="testng.cmd.args" value="@{testClass}">
<condition else="-suitename Memory -testname @{testClass} ${test.class.or.method}" property="testng.cmd.args" value="@{testClass}">
<matches pattern=".*\.xml" string="@{testClass}"/>
</condition>
<delete dir="${build.test.results.dir}" quiet="true"/>
Expand Down Expand Up @@ -880,7 +880,7 @@ is divided into following sections:
<delete file="${built-jar.properties}" quiet="true"/>
</target>
<target if="already.built.jar.${basedir}" name="-warn-already-built-jar">
<echo level="warn" message="Cycle detected: Memo was already built"/>
<echo level="warn" message="Cycle detected: Memory was already built"/>
</target>
<target depends="init,-deps-jar-init" name="deps-jar" unless="no.deps">
<mkdir dir="${build.dir}"/>
Expand Down Expand Up @@ -1361,7 +1361,7 @@ is divided into following sections:
<delete file="${built-clean.properties}" quiet="true"/>
</target>
<target if="already.built.clean.${basedir}" name="-warn-already-built-clean">
<echo level="warn" message="Cycle detected: Memo was already built"/>
<echo level="warn" message="Cycle detected: Memory was already built"/>
</target>
<target depends="init,-deps-clean-init" name="deps-clean" unless="no.deps">
<mkdir dir="${build.dir}"/>
Expand Down
8 changes: 4 additions & 4 deletions nbproject/genfiles.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
build.xml.data.CRC32=77818514
build.xml.script.CRC32=90f0c7e9
build.xml.data.CRC32=1d05f7fd
build.xml.script.CRC32=2742f061
build.xml.stylesheet.CRC32=8064a381@1.80.1.48
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
nbproject/build-impl.xml.data.CRC32=77818514
nbproject/build-impl.xml.script.CRC32=3074c0df
nbproject/build-impl.xml.data.CRC32=1d05f7fd
nbproject/build-impl.xml.script.CRC32=a75ce13d
nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48
6 changes: 1 addition & 5 deletions nbproject/private/private.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
<group>
<file>file:/D:/Project/Java%20Project/Memo/src/Memory/Game.java</file>
<file>file:/D:/Project/Java%20Project/Memo/src/Memory/Start.java</file>
<file>file:/D:/Project/Java%20Project/Memo/src/Memory/Deck.java</file>
</group>
<group/>
</open-files>
</project-private>
4 changes: 2 additions & 2 deletions nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ annotation.processing.enabled.in.editor=false
annotation.processing.processors.list=
annotation.processing.run.all.processors=true
annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
application.title=Memo
application.title=Memory
application.vendor=Gianluca
build.classes.dir=${build.dir}/classes
build.classes.excludes=**/*.java,**/*.form
Expand All @@ -25,7 +25,7 @@ debug.test.classpath=\
dist.archive.excludes=
# This directory is removed when the project is cleaned:
dist.dir=dist
dist.jar=${dist.dir}/Memo.jar
dist.jar=${dist.dir}/Memory.jar
dist.javadoc.dir=${dist.dir}/javadoc
endorsed.classpath=
excludes=
Expand Down
2 changes: 1 addition & 1 deletion nbproject/project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<type>org.netbeans.modules.java.j2seproject</type>
<configuration>
<data xmlns="http://www.netbeans.org/ns/j2se-project/3">
<name>Memo</name>
<name>Memory</name>
<source-roots>
<root id="src.dir"/>
</source-roots>
Expand Down
33 changes: 0 additions & 33 deletions src/Memory/Carta.java

This file was deleted.

Loading

0 comments on commit 9d1d373

Please sign in to comment.