├── .gitignore
├── README.md
├── build.xml
├── dist
├── ExeploreGame.jar
└── README.TXT
├── manifest.mf
├── nbproject
├── build-impl.xml
├── genfiles.properties
├── project.properties
└── project.xml
├── screenshots
├── ballsNbridges.PNG
├── blackvswhite.PNG
├── boxes.PNG
├── memory.PNG
├── puzzle.PNG
├── queen.PNG
├── snake.PNG
└── tictactoe.PNG
└── src
├── exeploreGame
├── ExeploreGame.java
├── FinalPannel.form
├── FinalPannel.java
├── GamePannel.form
├── GamePannel.java
├── GamePannel1.form
├── GamePannel1.java
├── GamePannel2.form
├── GamePannel2.java
├── GamePannel3.form
├── GamePannel3.java
├── GamePannel4.form
├── GamePannel4.java
├── GamePannel5.form
├── GamePannel5.java
├── GamePannel6.form
├── GamePannel6.java
├── GamePannel7.form
├── GamePannel7.java
├── GamePannel8.form
├── GamePannel8.java
├── HomePannel.form
├── HomePannel.java
├── InstructionPannel.form
├── InstructionPannel.java
├── MainFrame.form
├── MainFrame.java
├── Score.java
├── WelcomePannel.form
└── WelcomePannel.java
└── images
├── Nexus.png
├── a.png
├── apple.png
├── b.png
├── ball.png
├── blackball.png
├── blueball.png
├── boardblack.jpg
├── boardoutline.jpg
├── boardwhite.jpg
├── box4.png
├── box5.png
├── boy2.png
├── bricks1.jpeg
├── brownbox.png
├── c.png
├── d.png
├── e.png
├── gameIcon1.jpg
├── gameIcon2.jpg
├── gameIcon3.jpg
├── gameIcon4.jpg
├── gameIcon5.png
├── gameIcon6.gif
├── gameIcon7.jpg
├── gameIcon8.png
├── gamePannelBackground.jpg
├── gamePannelBackground1.jpg
├── gamePannelBackground2.jpg
├── gamePannelBackground3.jpg
├── gamePannelBackground4.jpg
├── gamePannelBackground5.jpg
├── gamePannelBackground6.jpg
├── gamePannelBackground7.jpg
├── gamePannelBackground8.jpg
├── graybox.png
├── greenball.png
├── greenbox.png
├── hintpic1.jpg
├── hintpic2.jpg
├── hintpic3.jpg
├── hintpic4.jpg
├── homeButton.jpg
├── homePannelBackground.jpg
├── pic1.jpg
├── pic2.jpg
├── pic3.jpg
├── pic4.jpg
├── pinkball.png
├── queen.jpg
├── queencross.png
├── red_dot.jpg
├── redball.png
├── redbox.png
├── slice 0 pic 1.jpg
├── slice 0 pic 2.jpg
├── slice 0 pic 3.jpg
├── slice 0 pic 4.jpg
├── slice 1 pic 1.jpg
├── slice 1 pic 2.jpg
├── slice 1 pic 3.jpg
├── slice 1 pic 4.jpg
├── slice 10 pic 1.jpg
├── slice 10 pic 2.jpg
├── slice 10 pic 3.jpg
├── slice 10 pic 4.jpg
├── slice 11 pic 1.jpg
├── slice 11 pic 2.jpg
├── slice 11 pic 3.jpg
├── slice 11 pic 4.jpg
├── slice 12 pic 1.jpg
├── slice 12 pic 2.jpg
├── slice 12 pic 3.jpg
├── slice 12 pic 4.jpg
├── slice 13 pic 1.jpg
├── slice 13 pic 2.jpg
├── slice 13 pic 3.jpg
├── slice 13 pic 4.jpg
├── slice 14 pic 1.jpg
├── slice 14 pic 2.jpg
├── slice 14 pic 3.jpg
├── slice 14 pic 4.jpg
├── slice 15 pic 1.jpg
├── slice 15 pic 2.jpg
├── slice 15 pic 3.jpg
├── slice 15 pic 4.jpg
├── slice 2 pic 1.jpg
├── slice 2 pic 2.jpg
├── slice 2 pic 3.jpg
├── slice 2 pic 4.jpg
├── slice 3 pic 1.jpg
├── slice 3 pic 2.jpg
├── slice 3 pic 3.jpg
├── slice 3 pic 4.jpg
├── slice 4 pic 1.jpg
├── slice 4 pic 2.jpg
├── slice 4 pic 3.jpg
├── slice 4 pic 4.jpg
├── slice 5 pic 1.jpg
├── slice 5 pic 2.jpg
├── slice 5 pic 3.jpg
├── slice 5 pic 4.jpg
├── slice 6 pic 1.jpg
├── slice 6 pic 2.jpg
├── slice 6 pic 3.jpg
├── slice 6 pic 4.jpg
├── slice 7 pic 1.jpg
├── slice 7 pic 2.jpg
├── slice 7 pic 3.jpg
├── slice 7 pic 4.jpg
├── slice 8 pic 1.jpg
├── slice 8 pic 2.jpg
├── slice 8 pic 3.jpg
├── slice 8 pic 4.jpg
├── slice 9 pic 1.jpg
├── slice 9 pic 2.jpg
├── slice 9 pic 3.jpg
├── slice 9 pic 4.jpg
├── vishiGamePanel1.jpg
└── yellowbox.png
/.gitignore:
--------------------------------------------------------------------------------
1 | /nbproject/private/
2 | /build/
3 | .idea/
4 | ExeploreGame.iml
5 | out/
6 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # ExeploreGame
2 |
3 | ExeploreGame is a set of 8 classic games re-imagined for the current time.
4 | Enjoy games ranging from puzzles such as Tic-Tac-Toe to arcade-style play like snake!
5 |
6 |
7 | This game is developed by Team.EXE
8 |
9 | Coded using Java.
10 | Download the repository as a ZIP file.
11 | Ensure that you have a working [Java Runtime Enviroment](http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html) to make it run properly.
12 |
13 | Alternatively, get an IDE, e.g. Netbeans to run this game.
14 |
15 | Start the program by running MainFrame.java
16 |
17 | # Exeplore is a collection of eight games:
18 | # Tic-Tac-Toe:
19 | The game of X's and O's.
20 | 
21 | # Memory Game:
22 | A challenging game of memorization.
23 | 
24 | # Eight Queen:
25 | Use a chess board as never used before! 8 queens battle it out for royal superiority!
26 | 
27 | # Black vs White:
28 | Play against the computer to claim as many spots as you can before you're boxed in!
29 | 
30 | # Puzzle:
31 | A 4x4 sliding puzzle.
32 | 
33 | # Snake:
34 | The good ol' snake.
35 | 
36 | # Balls and Bridges:
37 | Control several balls to open bridges and get any ball to the finish line.
38 | 
39 | # Push Box:
40 | Push each box onto one of the target areas.
41 | 
42 |
43 | # Contribute to the development of this game by:
44 | A. Report Issues, please check if the issue already exists [here](https://github.com/srbcheema1/ExeploreGame/issues).
45 | B. Contribute to the existing issues and issue a pull request.
46 | #Try to contribute to this repository as much as you can to make this game worth of the hard work put into it.
47 |
--------------------------------------------------------------------------------
/build.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 | Builds, tests, and runs the project ExeploreGame.
12 |
13 |
73 |
74 |
--------------------------------------------------------------------------------
/dist/ExeploreGame.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/dist/ExeploreGame.jar
--------------------------------------------------------------------------------
/dist/README.TXT:
--------------------------------------------------------------------------------
1 | ========================
2 | BUILD OUTPUT DESCRIPTION
3 | ========================
4 |
5 | When you build an Java application project that has a main class, the IDE
6 | automatically copies all of the JAR
7 | files on the projects classpath to your projects dist/lib folder. The IDE
8 | also adds each of the JAR files to the Class-Path element in the application
9 | JAR files manifest file (MANIFEST.MF).
10 |
11 | To run the project from the command line, go to the dist folder and
12 | type the following:
13 |
14 | java -jar "ExeploreGame.jar"
15 |
16 | To distribute this project, zip up the dist folder (including the lib folder)
17 | and distribute the ZIP file.
18 |
19 | Notes:
20 |
21 | * If two JAR files on the project classpath have the same name, only the first
22 | JAR file is copied to the lib folder.
23 | * Only JAR files are copied to the lib folder.
24 | If the classpath contains other types of files or folders, these files (folders)
25 | are not copied.
26 | * If a library on the projects classpath also has a Class-Path element
27 | specified in the manifest,the content of the Class-Path element has to be on
28 | the projects runtime path.
29 | * To set a main class in a standard Java project, right-click the project node
30 | in the Projects window and choose Properties. Then click Run and enter the
31 | class name in the Main Class field. Alternatively, you can manually type the
32 | class name in the manifest Main-Class element.
33 |
--------------------------------------------------------------------------------
/manifest.mf:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | X-COMMENT: Main-Class will be added automatically by build
3 |
4 |
--------------------------------------------------------------------------------
/nbproject/genfiles.properties:
--------------------------------------------------------------------------------
1 | build.xml.data.CRC32=c428c5a1
2 | build.xml.script.CRC32=e8539c76
3 | build.xml.stylesheet.CRC32=8064a381@1.79.1.48
4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
6 | nbproject/build-impl.xml.data.CRC32=c428c5a1
7 | nbproject/build-impl.xml.script.CRC32=593aa577
8 | nbproject/build-impl.xml.stylesheet.CRC32=05530350@1.79.1.48
9 |
--------------------------------------------------------------------------------
/nbproject/project.properties:
--------------------------------------------------------------------------------
1 | annotation.processing.enabled=true
2 | annotation.processing.enabled.in.editor=false
3 | annotation.processing.processor.options=
4 | annotation.processing.processors.list=
5 | annotation.processing.run.all.processors=true
6 | annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
7 | build.classes.dir=${build.dir}/classes
8 | build.classes.excludes=**/*.java,**/*.form
9 | # This directory is removed when the project is cleaned:
10 | build.dir=build
11 | build.generated.dir=${build.dir}/generated
12 | build.generated.sources.dir=${build.dir}/generated-sources
13 | # Only compile against the classpath explicitly listed here:
14 | build.sysclasspath=ignore
15 | build.test.classes.dir=${build.dir}/test/classes
16 | build.test.results.dir=${build.dir}/test/results
17 | # Uncomment to specify the preferred debugger connection transport:
18 | #debug.transport=dt_socket
19 | debug.classpath=\
20 | ${run.classpath}
21 | debug.test.classpath=\
22 | ${run.test.classpath}
23 | # Files in build.classes.dir which should be excluded from distribution jar
24 | dist.archive.excludes=
25 | # This directory is removed when the project is cleaned:
26 | dist.dir=dist
27 | dist.jar=${dist.dir}/ExeploreGame.jar
28 | dist.javadoc.dir=${dist.dir}/javadoc
29 | excludes=
30 | includes=**
31 | jar.compress=false
32 | javac.classpath=
33 | # Space-separated list of extra javac options
34 | javac.compilerargs=
35 | javac.deprecation=false
36 | javac.external.vm=true
37 | javac.processorpath=\
38 | ${javac.classpath}
39 | javac.source=1.8
40 | javac.target=1.8
41 | javac.test.classpath=\
42 | ${javac.classpath}:\
43 | ${build.classes.dir}
44 | javac.test.processorpath=\
45 | ${javac.test.classpath}
46 | javadoc.additionalparam=
47 | javadoc.author=false
48 | javadoc.encoding=${source.encoding}
49 | javadoc.noindex=false
50 | javadoc.nonavbar=false
51 | javadoc.notree=false
52 | javadoc.private=false
53 | javadoc.splitindex=true
54 | javadoc.use=true
55 | javadoc.version=false
56 | javadoc.windowtitle=
57 | main.class=exeploreGame.ExeploreGame
58 | manifest.file=manifest.mf
59 | meta.inf.dir=${src.dir}/META-INF
60 | mkdist.disabled=false
61 | platform.active=default_platform
62 | run.classpath=\
63 | ${javac.classpath}:\
64 | ${build.classes.dir}
65 | # Space-separated list of JVM arguments used when running the project.
66 | # You may also define separate properties like run-sys-prop.name=value instead of -Dname=value.
67 | # To set system properties for unit tests define test-sys-prop.name=value:
68 | run.jvmargs=
69 | run.test.classpath=\
70 | ${javac.test.classpath}:\
71 | ${build.test.classes.dir}
72 | source.encoding=UTF-8
73 | src.dir=src
74 | test.src.dir=test
75 |
--------------------------------------------------------------------------------
/nbproject/project.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | org.netbeans.modules.java.j2seproject
4 |
5 |
6 | ExeploreGame
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/screenshots/ballsNbridges.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/screenshots/ballsNbridges.PNG
--------------------------------------------------------------------------------
/screenshots/blackvswhite.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/screenshots/blackvswhite.PNG
--------------------------------------------------------------------------------
/screenshots/boxes.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/screenshots/boxes.PNG
--------------------------------------------------------------------------------
/screenshots/memory.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/screenshots/memory.PNG
--------------------------------------------------------------------------------
/screenshots/puzzle.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/screenshots/puzzle.PNG
--------------------------------------------------------------------------------
/screenshots/queen.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/screenshots/queen.PNG
--------------------------------------------------------------------------------
/screenshots/snake.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/screenshots/snake.PNG
--------------------------------------------------------------------------------
/screenshots/tictactoe.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/screenshots/tictactoe.PNG
--------------------------------------------------------------------------------
/src/exeploreGame/ExeploreGame.java:
--------------------------------------------------------------------------------
1 | package exeploreGame;
2 |
3 | import javax.swing.JOptionPane;
4 |
5 | public class ExeploreGame {
6 | final static String userId;
7 |
8 | public static void main(String[] args) {
9 | while(true){
10 | final String password = JOptionPane.showInputDialog(null, "Enter Password", "Password", JOptionPane.INFORMATION_MESSAGE);
11 | if(password ==null)continue;
12 | if(password.compareTo("cheema")==0)break;
13 | }
14 | while(true){
15 | final userId =JOptionPane.showInputDialog(null,"Enter User ID","user id",JOptionPane.INFORMATION_MESSAGE);
16 | if(userId==null)continue;
17 | if(userId.compareTo("")!=0)break;
18 | }
19 | java.awt.EventQueue.invokeLater(() -> {
20 | final MainFrame mainframe = new MainFrame();
21 | mainframe.setVisible(true);
22 | });
23 |
24 | }
25 |
26 | }
27 |
--------------------------------------------------------------------------------
/src/exeploreGame/FinalPannel.form:
--------------------------------------------------------------------------------
1 |
2 |
3 |
41 |
--------------------------------------------------------------------------------
/src/exeploreGame/FinalPannel.java:
--------------------------------------------------------------------------------
1 | package exeploreGame;
2 |
3 | import java.awt.Color;
4 |
5 | /**
6 | *
7 | * @author srb
8 | */
9 | public class FinalPannel extends javax.swing.JPanel {
10 | private int shade=0;
11 |
12 | public FinalPannel(GamePannel gamePannel) {
13 | initComponents();
14 | final GamePannel gamePannel1 = gamePannel;
15 | myinit();
16 | }
17 |
18 | public void myinit(){
19 | setBackground(new Color(99,99,99));
20 | final Thread shader = new Thread() {
21 | public void run() {
22 | shadeChange();
23 | }
24 | };
25 | // shader.start();
26 | }
27 |
28 | public void shadeChange(){
29 | try {Thread.sleep(1000);} catch (InterruptedException ex) { }
30 | welcomeLabel.setText("Thank You");
31 | for(int i=0;i<150;i++){
32 | shade=i;
33 | java.awt.EventQueue.invokeLater(new Runnable() {
34 | public void run() {
35 | welcomeLabel.setForeground(new Color(222,222,222,shade));
36 | }
37 | });
38 | try {Thread.sleep(50);} catch (InterruptedException ex) { }
39 | }
40 | java.awt.EventQueue.invokeLater(new Runnable() {
41 | public void run() {
42 | welcomeLabel.setForeground(new Color(0,0,0,0));
43 | }
44 | });
45 | try {Thread.sleep(1000);} catch (InterruptedException ex) { }
46 | welcomeLabel.setText("TEAM .EXE");
47 | for(int i=0;i<150;i++){
48 | shade=i;
49 | java.awt.EventQueue.invokeLater(new Runnable() {
50 | public void run() {
51 | welcomeLabel.setForeground(new Color(255,255,255,shade));
52 | }
53 | });
54 | try {Thread.sleep(50);} catch (InterruptedException ex) { }
55 | }
56 | }
57 |
58 |
59 | @SuppressWarnings("unchecked")
60 | // //GEN-BEGIN:initComponents
61 | private void initComponents() {
62 |
63 | final welcomeLabel = new javax.swing.JLabel();
64 |
65 | setBackground(new java.awt.Color(34, 34, 34));
66 | setLayout(null);
67 |
68 | welcomeLabel.setFont(new java.awt.Font("Ubuntu Light", 1, 60)); // NOI18N
69 | welcomeLabel.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
70 | add(welcomeLabel);
71 | welcomeLabel.setBounds(0, 220, 820, 120);
72 | }// //GEN-END:initComponents
73 |
74 |
75 | // Variables declaration - do not modify//GEN-BEGIN:variables
76 | private javax.swing.JLabel welcomeLabel;
77 | // End of variables declaration//GEN-END:variables
78 | }
79 |
--------------------------------------------------------------------------------
/src/exeploreGame/GamePannel.form:
--------------------------------------------------------------------------------
1 |
2 |
3 |
159 |
--------------------------------------------------------------------------------
/src/exeploreGame/GamePannel.java:
--------------------------------------------------------------------------------
1 | package exeploreGame;
2 |
3 | import java.awt.CardLayout;
4 | import java.awt.Color;
5 | import java.awt.event.ActionEvent;
6 | import java.awt.event.ActionListener;
7 | import javax.swing.JOptionPane;
8 | import javax.swing.Timer;
9 | import javax.swing.border.Border;
10 | import javax.swing.border.LineBorder;
11 |
12 | public class GamePannel extends javax.swing.JPanel {
13 |
14 | final private Border darkborder = new LineBorder(Color.DARK_GRAY, 1);
15 | final private Border lightborder = new LineBorder(Color.lightGray, 1);
16 | final private Border nullborder = new LineBorder(Color.darkGray, 0);
17 |
18 | //gamepanels
19 | public WelcomePannel welcomePannel;
20 | public HomePannel homePannel;
21 | public InstructionPannel instructionPannel;
22 | public GamePannel1 gamePannel1;
23 | public GamePannel2 gamePannel2;
24 | public GamePannel3 gamePannel3;
25 | public GamePannel4 gamePannel4;
26 | public GamePannel5 gamePannel5;
27 | public GamePannel6 gamePannel6;
28 | public GamePannel7 gamePannel7;
29 | public GamePannel8 gamePannel8;
30 | public FinalPannel finalPannel;
31 |
32 |
33 | final private CardLayout card=new CardLayout();//layout for controlPannel
34 |
35 | //game variables
36 | final int hours=2,minutes=0,seconds=0;
37 | final int timerlock=0;
38 | final Timer clockTimer;
39 | int totalScore;
40 |
41 | public GamePannel() {
42 | initComponents();
43 | myinit();
44 | }//constructor
45 |
46 | public final void myinit(){
47 | setSize(970, 690);//our standard game pannel size
48 | setOpaque(false);//to make buttons transparent
49 | TaskBarPannel.setBackground(new Color(34,34,34));
50 | controlPannel.setLayout(card);
51 | clockTimer = new Timer(1000,new ClockUpdater());
52 | userIdLabel.setText(ExeploreGame.userId);
53 |
54 | createGames();//creates games
55 |
56 | initBoard();//level one start
57 |
58 | }//my init
59 |
60 | public void createGames(){
61 | welcomePannel=new WelcomePannel(this);
62 | controlPannel.add(welcomePannel,"welcomePannel");
63 | final homePannel=new HomePannel(this);
64 | controlPannel.add(homePannel,"homePannel");
65 | instructionPannel=new InstructionPannel(this);
66 | controlPannel.add(instructionPannel,"instructionPannel");
67 |
68 | final gamePannel1=new GamePannel1(this);
69 | controlPannel.add(gamePannel1,"gamePannel1");
70 | final gamePannel2=new GamePannel2(this);
71 | controlPannel.add(gamePannel2,"gamePannel2");
72 | final gamePannel3=new GamePannel3(this);
73 | controlPannel.add(gamePannel3,"gamePannel3");
74 | final gamePannel4=new GamePannel4(this);
75 | controlPannel.add(gamePannel4,"gamePannel4");
76 | final gamePannel5=new GamePannel5(this);
77 | controlPannel.add(gamePannel5,"gamePannel5");
78 | final gamePannel6=new GamePannel6(this);
79 | controlPannel.add(gamePannel6,"gamePannel6");
80 | final gamePannel7=new GamePannel7(this);
81 | controlPannel.add(gamePannel7,"gamePannel7");
82 | final gamePannel8=new GamePannel8(this);
83 | controlPannel.add(gamePannel8,"gamePannel8");
84 |
85 | final finalPannel=new FinalPannel(this);
86 | controlPannel.add(finalPannel,"finalPannel");
87 | } //creates Games
88 |
89 | public void updateGui(){
90 |
91 | } //update box display
92 |
93 | public void openGame(int index){
94 | switch(index){
95 | case 1://tic tac toe
96 | int cardPannel = 1;
97 | if(gamePannel1.bestScore<30){
98 | card.show(controlPannel,"gamePannel1");
99 | }
100 | else{
101 | JOptionPane.showMessageDialog(controlPannel, "Game is completed");
102 | }
103 | break;
104 | case 2://memory
105 | cardPannel =2;
106 | if(gamePannel2.bestScore<45){
107 | card.show(controlPannel,"gamePannel2");
108 | gamePannel2.resetLevel();
109 | gamePannel2.getFocus();
110 | }
111 | else{
112 | JOptionPane.showMessageDialog(controlPannel, "Game is completed");
113 | }
114 | break;
115 | case 3://queen8
116 | cardPannel =3;
117 | if(gamePannel3.bestScore<40){
118 | card.show(controlPannel,"gamePannel3");
119 | }
120 | else{
121 | JOptionPane.showMessageDialog(controlPannel, "Game is completed");
122 | }
123 | break;
124 | case 4://black vs white
125 | cardPannel =4;
126 | if(gamePannel4.bestScore<48){
127 | card.show(controlPannel,"gamePannel4");
128 | gamePannel4.getFocus();
129 | }
130 | else{
131 | JOptionPane.showMessageDialog(controlPannel, "Game is completed");
132 | }
133 | break;
134 | case 5://pic 4x4
135 | cardPannel =5;
136 | if(gamePannel5.bestScore<150){
137 | card.show(controlPannel,"gamePannel5");
138 | gamePannel5.getFocus();
139 | }
140 | else{
141 | JOptionPane.showMessageDialog(controlPannel, "Game is completed");
142 | }
143 | break;
144 | case 6://snake
145 | cardPannel =6;
146 | if(gamePannel6.score<5000){
147 | card.show(controlPannel,"gamePannel6");
148 | gamePannel6.getFocus();
149 | }
150 | else{
151 | JOptionPane.showMessageDialog(controlPannel, "Game is completed");
152 | }
153 | break;
154 | case 7://
155 | cardPannel =7;
156 | if(gamePannel7.score<60){
157 | card.show(controlPannel,"gamePannel7");
158 | gamePannel7.getFocus();
159 | }
160 | else{
161 | JOptionPane.showMessageDialog(controlPannel, "Game is completed");
162 | }
163 | break;
164 | case 8:
165 | cardPannel =8;
166 | if(gamePannel8.score<120){
167 | card.show(controlPannel,"gamePannel8");
168 | gamePannel8.getFocus();
169 | }
170 | else{
171 | JOptionPane.showMessageDialog(controlPannel, "Game is completed");
172 | }
173 | break;
174 | }
175 |
176 | }
177 |
178 | class ClockUpdater implements ActionListener{
179 | @Override
180 | public void actionPerformed(ActionEvent arg0) {
181 | timeLabel.setText(String.valueOf(hours)+":"+String.format("%02d",minutes)+":"+String.format("%02d",seconds));
182 | if(seconds==0){
183 | if(minutes==0) {
184 | if(hours==0&&minutes==0&&seconds==0) {
185 | clockTimer.stop();
186 | timerlock=2;
187 | JOptionPane.showMessageDialog(controlPannel,"TimeUp");
188 | card.show(controlPannel,"finalPannel");
189 | finalPannel.shader.start(); }
190 | minutes=60;
191 | hours--;
192 | }
193 | seconds=60;
194 | minutes--;
195 | }
196 | seconds--;
197 | }
198 | }
199 |
200 | public void home(){
201 | if(timerlock==0){
202 | clockTimer.start();
203 | TaskBarPannel.setBackground(new Color(99,99,99));
204 | timerlock=1;
205 | }
206 | if(timerlock==1)
207 | card.show(controlPannel,"homePannel");
208 | }//home
209 |
210 | public void scoreUpdate(){
211 | totalScore=gamePannel1.bestScore+gamePannel2.bestScore+gamePannel3.bestScore+gamePannel4.bestScore
212 | +gamePannel5.bestScore+gamePannel6.bestScore+gamePannel7.bestScore+gamePannel8.bestScore;
213 | scoreLabel.setText("Score : "+String.format("%03d",totalScore));
214 | }
215 |
216 | public void initBoard(){
217 | card.show(controlPannel,"welcomePannel");
218 |
219 | updateGui();//calls update box
220 | } //initializes board1
221 |
222 | @SuppressWarnings("unchecked")
223 | // //GEN-BEGIN:initComponents
224 | private void initComponents() {
225 |
226 | homeButton = new javax.swing.JButton();
227 | TaskBarPannel = new javax.swing.JPanel();
228 | userIdLabel = new javax.swing.JLabel();
229 | scoreLabel = new javax.swing.JLabel();
230 | timeLabel = new javax.swing.JLabel();
231 | controlPannel = new javax.swing.JPanel();
232 | background_Image = new javax.swing.JLabel();
233 |
234 | setLayout(null);
235 |
236 | homeButton.setBackground(new java.awt.Color(222, 222, 222));
237 | homeButton.setForeground(new java.awt.Color(21, 21, 21));
238 | homeButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/homeButton.jpg"))); // NOI18N
239 | homeButton.setBorder(nullborder);
240 | homeButton.addActionListener(new java.awt.event.ActionListener() {
241 | public void actionPerformed(java.awt.event.ActionEvent evt) {
242 | homeButtonActionPerformed(evt);
243 | }
244 | });
245 | add(homeButton);
246 | homeButton.setBounds(900, 340, 50, 50);
247 |
248 | TaskBarPannel.setBackground(new java.awt.Color(101, 101, 101));
249 |
250 | userIdLabel.setFont(new java.awt.Font("Ubuntu", 0, 17)); // NOI18N
251 | userIdLabel.setForeground(new java.awt.Color(36, 36, 36));
252 |
253 | scoreLabel.setFont(new java.awt.Font("Ubuntu", 0, 17)); // NOI18N
254 | scoreLabel.setForeground(new java.awt.Color(36, 36, 36));
255 | scoreLabel.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
256 | scoreLabel.setText("Score : 000");
257 |
258 | timeLabel.setFont(new java.awt.Font("Ubuntu", 0, 17)); // NOI18N
259 | timeLabel.setForeground(new java.awt.Color(36, 36, 36));
260 | timeLabel.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
261 | timeLabel.setText("2:00:00");
262 | timeLabel.setToolTipText("");
263 | timeLabel.setAlignmentY(1.0F);
264 |
265 | javax.swing.GroupLayout TaskBarPannelLayout = new javax.swing.GroupLayout(TaskBarPannel);
266 | TaskBarPannel.setLayout(TaskBarPannelLayout);
267 | TaskBarPannelLayout.setHorizontalGroup(
268 | TaskBarPannelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
269 | .addGroup(TaskBarPannelLayout.createSequentialGroup()
270 | .addGap(20, 20, 20)
271 | .addComponent(userIdLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 229, javax.swing.GroupLayout.PREFERRED_SIZE)
272 | .addGap(39, 39, 39)
273 | .addComponent(scoreLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)
274 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 232, Short.MAX_VALUE)
275 | .addComponent(timeLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE))
276 | );
277 | TaskBarPannelLayout.setVerticalGroup(
278 | TaskBarPannelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
279 | .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, TaskBarPannelLayout.createSequentialGroup()
280 | .addGroup(TaskBarPannelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
281 | .addComponent(userIdLabel, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
282 | .addComponent(scoreLabel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
283 | .addComponent(timeLabel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
284 | .addContainerGap())
285 | );
286 |
287 | add(TaskBarPannel);
288 | TaskBarPannel.setBounds(60, 30, 820, 20);
289 |
290 | javax.swing.GroupLayout controlPannelLayout = new javax.swing.GroupLayout(controlPannel);
291 | controlPannel.setLayout(controlPannelLayout);
292 | controlPannelLayout.setHorizontalGroup(
293 | controlPannelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
294 | .addGap(0, 820, Short.MAX_VALUE)
295 | );
296 | controlPannelLayout.setVerticalGroup(
297 | controlPannelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
298 | .addGap(0, 620, Short.MAX_VALUE)
299 | );
300 |
301 | add(controlPannel);
302 | controlPannel.setBounds(60, 50, 820, 620);
303 |
304 | background_Image.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/Nexus.png"))); // NOI18N
305 | add(background_Image);
306 | background_Image.setBounds(0, 0, 970, 690);
307 | }// //GEN-END:initComponents
308 |
309 | private void homeButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_homeButtonActionPerformed
310 | home();
311 | }//GEN-LAST:event_homeButtonActionPerformed
312 |
313 | // Variables declaration - do not modify//GEN-BEGIN:variables
314 | private javax.swing.JPanel TaskBarPannel;
315 | private javax.swing.JLabel background_Image;
316 | public javax.swing.JPanel controlPannel;
317 | private javax.swing.JButton homeButton;
318 | private javax.swing.JLabel scoreLabel;
319 | private javax.swing.JLabel timeLabel;
320 | private javax.swing.JLabel userIdLabel;
321 | // End of variables declaration//GEN-END:variables
322 | }
323 |
--------------------------------------------------------------------------------
/src/exeploreGame/GamePannel2.form:
--------------------------------------------------------------------------------
1 |
2 |
3 |
193 |
--------------------------------------------------------------------------------
/src/exeploreGame/GamePannel2.java:
--------------------------------------------------------------------------------
1 | package exeploreGame;
2 |
3 | import java.awt.CardLayout;
4 | import java.awt.Color;
5 | import java.awt.event.ActionEvent;
6 | import java.awt.event.ActionListener;
7 | import javax.swing.JOptionPane;
8 | import javax.swing.*;
9 | import javax.swing.border.Border;
10 | import javax.swing.border.LineBorder;
11 |
12 | /**
13 | *
14 | * @author srb
15 | */
16 | public class GamePannel2 extends javax.swing.JPanel {
17 |
18 | int win=0,levelwin=0,level=1,maxlevel=3,bestScore=0;
19 |
20 | final private Border darkborder = new LineBorder(Color.DARK_GRAY, 1);
21 | final private Border lightborder = new LineBorder(Color.lightGray, 1);
22 | final private Border nullborder = new LineBorder(Color.darkGray, 0);
23 | final private JLabel imageLabel=new JLabel();
24 | final private JPanel stage = new JPanel();
25 | final private GamePannel gamePannel ;
26 |
27 | final private CardLayout card=new CardLayout();//layout for controlPannel
28 |
29 | //game variables
30 | final private int maxpics=8,a,b,c,d,e,i,ans=0,pictime=800,lock=0;
31 | final private Timer picTimer;
32 |
33 | public GamePannel2(GamePannel gamePannel) {
34 | initComponents();
35 | this.gamePannel=gamePannel;
36 | myinit();
37 | }//constructor
38 |
39 | public void updateBox(){
40 |
41 | }
42 |
43 | public final void myinit(){
44 | setSize(820, 620);//our standard game pannel size
45 | setOpaque(false);//to make buttons transparent
46 |
47 | controlPannel.setBounds(60,150,500,288);//ratio 585:495 :: 13:11
48 | controlPannel.setLayout(null);
49 | controlPannel.setFocusable(true);
50 | controlPannel.setOpaque(false);//to make buttons transparent
51 | controlPannel.setFocusTraversalKeysEnabled(false);
52 | imageLabel.setBounds(0,0,588,288);
53 | controlPannel.add(imageLabel);
54 |
55 | initBoard();
56 |
57 | }//my init
58 |
59 | public void gameFinish(){
60 | levelwin=1;
61 | switch(level){
62 | case 1:
63 | bestScore=10;
64 | break;
65 | case 2:
66 | bestScore=25;
67 | break;
68 | case 3:
69 | bestScore=45;
70 | break;
71 | }
72 | if(levelwin==1){
73 | if(level0&&i<(maxpics*2)+1){
116 | if(i%2==0){//no image for even times
117 | imageLabel.setIcon(null);
118 | }
119 | else
120 | {
121 |
122 | rnd=(int)(Math.random()*5)+1;
123 | switch(rnd)
124 | {
125 | case 1:
126 | imageLabel.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/a.png")));
127 | a++;
128 | break;
129 | case 2:
130 | imageLabel.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/b.png")));
131 | b++;
132 | break;
133 | case 3:
134 | imageLabel.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/c.png")));
135 | c++;
136 | break;
137 | case 4:
138 | imageLabel.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/d.png")));
139 | d++;
140 | break;
141 | case 5:
142 | imageLabel.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/e.png")));
143 | e++;
144 | break;
145 | default:
146 | break;
147 | }
148 | }//end else
149 | }
150 |
151 | if(i==maxpics*2+1){
152 | try { Thread.sleep(2000); } catch (InterruptedException ex) { }
153 | }
154 | if(i==maxpics*2+2){
155 | picTimer.stop();
156 | question();
157 | }
158 | i++;
159 | }
160 |
161 | }
162 |
163 | public void question(){
164 | ansTextField.setVisible(true);
165 | submitButton.setVisible(true);
166 | questionLabel.setVisible(true);
167 |
168 | int rnd = (int)(Math.random()*5)+1;
169 | switch(rnd)
170 | {
171 | case 1:
172 | imageLabel.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/a.png")));
173 | ans=a;
174 | break;
175 | case 2:
176 | imageLabel.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/b.png")));
177 | ans=b;
178 | break;
179 | case 3:
180 | imageLabel.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/c.png")));
181 | ans=c;
182 | break;
183 | case 4:
184 | imageLabel.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/d.png")));
185 | ans=d;
186 | break;
187 | case 5:
188 | imageLabel.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/e.png")));
189 | ans=e;
190 | break;
191 | }
192 |
193 | }
194 |
195 | public void getFocus(){
196 | controlPannel.grabFocus();//get focus back to control pannel
197 | }
198 |
199 | public void resetLevel(){
200 | picTimer.stop();
201 | imageLabel.setIcon(null);
202 | initBoard();
203 | controlPannel.grabFocus();//get focus back to control pannel
204 | }
205 |
206 | @SuppressWarnings("unchecked")
207 | // //GEN-BEGIN:initComponents
208 | private void initComponents() {
209 |
210 | heading = new javax.swing.JLabel();
211 | controlPannel = new javax.swing.JPanel();
212 | newButton = new javax.swing.JButton();
213 | submitButton = new javax.swing.JButton();
214 | helpButton = new javax.swing.JButton();
215 | levelLabel = new javax.swing.JLabel();
216 | scoreLabel = new javax.swing.JLabel();
217 | questionLabel = new javax.swing.JLabel();
218 | ansTextField = new javax.swing.JTextField();
219 | footerLabel = new javax.swing.JLabel();
220 | background_Image = new javax.swing.JLabel();
221 |
222 | setLayout(null);
223 |
224 | heading.setFont(new java.awt.Font("DejaVu Serif", 1, 48)); // NOI18N
225 | heading.setForeground(new java.awt.Color(255, 25, 255));
226 | heading.setText("Memory Game");
227 | add(heading);
228 | heading.setBounds(140, 10, 430, 90);
229 |
230 | javax.swing.GroupLayout controlPannelLayout = new javax.swing.GroupLayout(controlPannel);
231 | controlPannel.setLayout(controlPannelLayout);
232 | controlPannelLayout.setHorizontalGroup(
233 | controlPannelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
234 | .addGap(0, 0, Short.MAX_VALUE)
235 | );
236 | controlPannelLayout.setVerticalGroup(
237 | controlPannelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
238 | .addGap(0, 0, Short.MAX_VALUE)
239 | );
240 |
241 | add(controlPannel);
242 | controlPannel.setBounds(60, 150, 500, 288);
243 | controlPannel.getAccessibleContext().setAccessibleName("");
244 |
245 | newButton.setText("reset");
246 | newButton.addActionListener(new java.awt.event.ActionListener() {
247 | public void actionPerformed(java.awt.event.ActionEvent evt) {
248 | newButtonActionPerformed(evt);
249 | }
250 | });
251 | add(newButton);
252 | newButton.setBounds(670, 290, 110, 29);
253 |
254 | submitButton.setText("submit");
255 | submitButton.addActionListener(new java.awt.event.ActionListener() {
256 | public void actionPerformed(java.awt.event.ActionEvent evt) {
257 | submitButtonActionPerformed(evt);
258 | }
259 | });
260 | add(submitButton);
261 | submitButton.setBounds(440, 490, 110, 29);
262 |
263 | helpButton.setText("help");
264 | helpButton.addActionListener(new java.awt.event.ActionListener() {
265 | public void actionPerformed(java.awt.event.ActionEvent evt) {
266 | helpButtonActionPerformed(evt);
267 | }
268 | });
269 | add(helpButton);
270 | helpButton.setBounds(670, 350, 110, 29);
271 |
272 | levelLabel.setFont(new java.awt.Font("TakaoPGothic", 1, 24)); // NOI18N
273 | levelLabel.setForeground(new java.awt.Color(252, 236, 236));
274 | levelLabel.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
275 | levelLabel.setText("Level : 1/3");
276 | add(levelLabel);
277 | levelLabel.setBounds(620, 20, 180, 50);
278 |
279 | scoreLabel.setFont(new java.awt.Font("TakaoPGothic", 1, 24)); // NOI18N
280 | scoreLabel.setForeground(new java.awt.Color(252, 236, 236));
281 | scoreLabel.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
282 | scoreLabel.setText("score : 0");
283 | add(scoreLabel);
284 | scoreLabel.setBounds(620, 120, 180, 50);
285 |
286 | questionLabel.setFont(new java.awt.Font("TakaoPGothic", 1, 18)); // NOI18N
287 | questionLabel.setForeground(new java.awt.Color(230, 116, 26));
288 | questionLabel.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
289 | questionLabel.setText("how many times this pic appeared :");
290 | add(questionLabel);
291 | questionLabel.setBounds(80, 430, 350, 50);
292 | questionLabel.getAccessibleContext().setAccessibleDescription("");
293 |
294 | ansTextField.addKeyListener(new java.awt.event.KeyAdapter() {
295 | public void keyTyped(java.awt.event.KeyEvent evt) {
296 | ansTextFieldKeyTyped(evt);
297 | }
298 | });
299 | add(ansTextField);
300 | ansTextField.setBounds(460, 450, 70, 30);
301 |
302 | footerLabel.setFont(new java.awt.Font("Ubuntu", 0, 18)); // NOI18N
303 | footerLabel.setForeground(new java.awt.Color(255, 244, 244));
304 | footerLabel.setText("made with love by Team .EXE");
305 | add(footerLabel);
306 | footerLabel.setBounds(40, 590, 250, 20);
307 |
308 | background_Image.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/gamePannelBackground2.jpg"))); // NOI18N
309 | add(background_Image);
310 | background_Image.setBounds(0, 0, 820, 620);
311 | }// //GEN-END:initComponents
312 |
313 | private void newButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_newButtonActionPerformed
314 | resetLevel();
315 | }//GEN-LAST:event_newButtonActionPerformed
316 |
317 | private void helpButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_helpButtonActionPerformed
318 | JOptionPane.showMessageDialog(controlPannel,"* Count number of times every pic is shown\n"
319 | +"* At end a picture will be displayed\n"
320 | +"* Enter number of times it was displayed\n"
321 | +"* You can press enter or click submit button to submit ans\n"
322 | +"* You can answer only once. However you reset level\n"
323 | +"* First level carries 10 points\n"
324 | +"* Second level carries 15 points\n"
325 | +"* Third level carries 20 points\n"
326 | ,"Instructions"
327 | ,JOptionPane.INFORMATION_MESSAGE
328 | );
329 | controlPannel.grabFocus();//get focus back to control pannel
330 | }//GEN-LAST:event_helpButtonActionPerformed
331 |
332 | private void submitButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_submitButtonActionPerformed
333 | if(lock==0){
334 | lock=1;
335 | boolean validans=false;
336 | String digit=(ansTextField.getText());
337 | if(digit.compareTo("")==0) digit=" "; //to make string length at least one
338 | if(digit.charAt(0)>='0' && digit.charAt(0)<='9' && digit.length()==1){
339 | validans=true;
340 | if(ans==Integer.parseInt(ansTextField.getText())){
341 | questionLabel.setText("Correct Answer !!!");
342 | ansTextField.setVisible(false);
343 | submitButton.setVisible(false);
344 | gameFinish();
345 | ansTextField.setText("");
346 | return;
347 | }
348 | else {
349 | questionLabel.setText("Wrong Ans .... plz reset ...");
350 | ansTextField.setVisible(false);
351 | submitButton.setVisible(false);
352 |
353 | }
354 | }
355 | if(validans==false){
356 | questionLabel.setText("Invalid Ans .... plz reset ...");
357 | ansTextField.setVisible(false);
358 | submitButton.setVisible(false);
359 | }
360 | ansTextField.setText("");
361 | }
362 | }//GEN-LAST:event_submitButtonActionPerformed
363 |
364 | private void ansTextFieldKeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_ansTextFieldKeyTyped
365 | if(evt.getKeyChar()=='\n'){
366 | submitButtonActionPerformed(new ActionEvent(stage, d, TOOL_TIP_TEXT_KEY));
367 | }
368 | }//GEN-LAST:event_ansTextFieldKeyTyped
369 |
370 | // Variables declaration - do not modify//GEN-BEGIN:variables
371 | private javax.swing.JTextField ansTextField;
372 | private javax.swing.JLabel background_Image;
373 | private javax.swing.JPanel controlPannel;
374 | private javax.swing.JLabel footerLabel;
375 | private javax.swing.JLabel heading;
376 | private javax.swing.JButton helpButton;
377 | private javax.swing.JLabel levelLabel;
378 | private javax.swing.JButton newButton;
379 | private javax.swing.JLabel questionLabel;
380 | private javax.swing.JLabel scoreLabel;
381 | private javax.swing.JButton submitButton;
382 | // End of variables declaration//GEN-END:variables
383 | }
384 |
--------------------------------------------------------------------------------
/src/exeploreGame/GamePannel3.form:
--------------------------------------------------------------------------------
1 |
2 |
3 |
134 |
--------------------------------------------------------------------------------
/src/exeploreGame/GamePannel3.java:
--------------------------------------------------------------------------------
1 | package exeploreGame;
2 |
3 | import java.awt.Color;
4 | import java.awt.event.ActionEvent;
5 | import java.awt.event.ActionListener;
6 | import javax.swing.JButton;
7 | import javax.swing.JOptionPane;
8 | import javax.swing.border.Border;
9 | import javax.swing.border.LineBorder;
10 |
11 |
12 | /**
13 | *
14 | * @author srb
15 | */
16 | public class GamePannel3 extends javax.swing.JPanel implements ActionListener {
17 | private final int [][] board;
18 | private int queencount;
19 | private queenbutton checker[][]=new queenbutton[8][8];
20 | private final GamePannel gamePannel ;
21 | int bestScore =0;
22 |
23 | public GamePannel3(GamePannel gamePannel) {
24 | this.setSize(820,620);
25 | this.gamePannel=gamePannel;
26 | this.queencount = 0;
27 | this.board=new int[8][8];
28 | initComponents();
29 | cellpanel.setLayout(new java.awt.GridLayout(8, 8));
30 | for(int i=0;i<8;i++){
31 | for(int j=0;j<8;j++){
32 | checker[i][j]=new queenbutton(i,j);
33 |
34 | if((i+j)%2==0)
35 | {
36 | checker[i][j].setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/boardwhite.jpg")));
37 | }
38 | else
39 | {
40 | checker[i][j].setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/boardblack.jpg")));
41 | }
42 | final Border buttonborder = new LineBorder(Color.black, 1);
43 | checker[i][j].setBorder(buttonborder);
44 | cellpanel.add(checker[i][j]);
45 | checker[i][j].addActionListener(this);
46 | }
47 | }
48 | }
49 |
50 | public void wincheck(){
51 | queencount=0;
52 | for(int i=0;i<8;i++){
53 | for(int j=0;j<8;j++){
54 | if(board[i][j]==1){
55 | queencount++;
56 | }
57 | }
58 | }
59 | if(queencount==8){
60 | bestScore=40;
61 | gamePannel.scoreUpdate();
62 | JOptionPane.showMessageDialog(jPanel2,"You won");
63 | gamePannel.home();
64 | }
65 |
66 | }
67 | public void checkqueen(){
68 | int sum=0,sub=0;
69 | for(int i=0;i<8;i++){
70 | for(int j=0;j<8;j++){
71 | if(board[i][j]!=0){
72 | board[i][j]=1;
73 | sum=i+j;
74 | sub=i-j;
75 | for(int k=0;k<8;k++){
76 | for(int l=0;l<8;l++){
77 | if(board[k][l]!=0&&(k!=i||l!=j)){
78 | if(k+l==sum||(k-l)==sub||k==i||l==j){
79 | // checker[i][j].setIcon(new javax.swing.ImageIcon(getClass().getResource("/queencross.png")));
80 | //checker[k][l].setIcon(new javax.swing.ImageIcon(getClass().getResource("/queencross.png")));
81 | // board[i][j]=2;
82 | board[k][l]=2;
83 | board[i][j]=2;
84 | queencount--;
85 | }
86 |
87 |
88 |
89 | }
90 | }
91 | }
92 | }
93 | }
94 | }
95 | for(int i=0;i<8;i++){
96 | for(int j=0;j<8;j++){
97 |
98 | if(board[i][j]==2){
99 | checker[i][j].setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/queencross.png")));
100 | }
101 | if(board[i][j]==1){
102 | checker[i][j].setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/queen.jpg")));
103 | }
104 | }
105 | }
106 | }
107 | public void toggle(int r,int c){
108 | if(board[r][c]==0 ){
109 | board[r][c]=1;
110 | // checker[r][c].setIcon(new javax.swing.ImageIcon(getClass().getResource("/queen.jpg")));
111 | // queencount++;
112 | checkqueen();
113 | wincheck();
114 | }
115 | else{
116 | board[r][c]=0;
117 | if((r+c)%2==0)
118 | checker[r][c].setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/boardwhite.jpg")));
119 | else
120 | checker[r][c].setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/boardblack.jpg")));
121 | // queencount--;
122 | checkqueen();
123 | wincheck();
124 | }
125 | }
126 | public void actionPerformed(ActionEvent evt){
127 | queenbutton but;
128 | but = (queenbutton)evt.getSource();
129 | toggle(but.getrow(),but.getcol());
130 | }
131 |
132 | @SuppressWarnings("unchecked")
133 | // //GEN-BEGIN:initComponents
134 | private void initComponents() {
135 |
136 | jLabel2 = new javax.swing.JLabel();
137 | resetButton = new javax.swing.JButton();
138 | helpButton = new javax.swing.JButton();
139 | jPanel2 = new javax.swing.JPanel();
140 | cellpanel = new javax.swing.JPanel();
141 | jLabel1 = new javax.swing.JLabel();
142 | back = new javax.swing.JLabel();
143 |
144 | setLayout(null);
145 |
146 | jLabel2.setFont(new java.awt.Font("TakaoPGothic", 1, 36)); // NOI18N
147 | jLabel2.setForeground(new java.awt.Color(205, 205, 205));
148 | jLabel2.setText("Eight Queen");
149 | add(jLabel2);
150 | jLabel2.setBounds(340, 20, 250, 40);
151 |
152 | resetButton.setForeground(new java.awt.Color(1, 1, 1));
153 | resetButton.setText("reset");
154 | resetButton.addActionListener(new java.awt.event.ActionListener() {
155 | public void actionPerformed(java.awt.event.ActionEvent evt) {
156 | resetButtonActionPerformed(evt);
157 | }
158 | });
159 | add(resetButton);
160 | resetButton.setBounds(710, 410, 80, 29);
161 |
162 | helpButton.setForeground(new java.awt.Color(1, 1, 1));
163 | helpButton.setText("help");
164 | helpButton.addActionListener(new java.awt.event.ActionListener() {
165 | public void actionPerformed(java.awt.event.ActionEvent evt) {
166 | helpButtonActionPerformed(evt);
167 | }
168 | });
169 | add(helpButton);
170 | helpButton.setBounds(710, 470, 80, 29);
171 |
172 | jPanel2.setLayout(null);
173 |
174 | cellpanel.setBackground(new java.awt.Color(172, 63, 1));
175 |
176 | javax.swing.GroupLayout cellpanelLayout = new javax.swing.GroupLayout(cellpanel);
177 | cellpanel.setLayout(cellpanelLayout);
178 | cellpanelLayout.setHorizontalGroup(
179 | cellpanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
180 | .addGap(0, 440, Short.MAX_VALUE)
181 | );
182 | cellpanelLayout.setVerticalGroup(
183 | cellpanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
184 | .addGap(0, 440, Short.MAX_VALUE)
185 | );
186 |
187 | jPanel2.add(cellpanel);
188 | cellpanel.setBounds(25, 20, 440, 440);
189 |
190 | jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
191 | jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/boardoutline.jpg"))); // NOI18N
192 | jPanel2.add(jLabel1);
193 | jLabel1.setBounds(0, 0, 490, 480);
194 |
195 | add(jPanel2);
196 | jPanel2.setBounds(50, 90, 490, 480);
197 |
198 | back.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/gamePannelBackground3.jpg"))); // NOI18N
199 | add(back);
200 | back.setBounds(-460, -100, 1310, 1200);
201 | }// //GEN-END:initComponents
202 |
203 | private void resetButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_resetButtonActionPerformed
204 |
205 | for(int i=0;i<8;i++){
206 | for(int j=0;j<8;j++){
207 | board[i][j]=0;
208 | if((i+j)%2==0)
209 | {
210 | checker[i][j].setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/boardwhite.jpg")));
211 | }
212 | else
213 | {
214 | checker[i][j].setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/boardblack.jpg")));
215 | }
216 |
217 | }
218 | } // TODO add your handling code here:
219 | }//GEN-LAST:event_resetButtonActionPerformed
220 |
221 | private void helpButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_helpButtonActionPerformed
222 | JOptionPane.showMessageDialog(jPanel2,"* Place 8 queens on board\n"
223 | +"* No queen must be in target position w.r.t other queen\n"
224 | +"* 40 points will be awarded for finishing the game\n"
225 | ,"Instructions"
226 | ,JOptionPane.INFORMATION_MESSAGE
227 | );
228 | }//GEN-LAST:event_helpButtonActionPerformed
229 |
230 |
231 | // Variables declaration - do not modify//GEN-BEGIN:variables
232 | private javax.swing.JLabel back;
233 | private javax.swing.JPanel cellpanel;
234 | private javax.swing.JButton helpButton;
235 | private javax.swing.JLabel jLabel1;
236 | private javax.swing.JLabel jLabel2;
237 | private javax.swing.JPanel jPanel2;
238 | private javax.swing.JButton resetButton;
239 | // End of variables declaration//GEN-END:variables
240 |
241 | public class queenbutton extends JButton
242 | {
243 | private int value,row,col;
244 | public queenbutton(int r,int c)
245 | {
246 | row=r;
247 | col=c;
248 | value=0;
249 | }
250 | int getrow()
251 | {
252 | return row;
253 | }
254 | int getcol()
255 | {
256 | return col;
257 | }
258 | int getvalue()
259 | {
260 | return value;
261 | }
262 | void setrow(int r)
263 | {
264 | row=r;
265 | }
266 | void setcol(int c)
267 | {
268 | col=c;
269 | }
270 | void setvalue(int val)
271 | {
272 | value=val;
273 | }
274 | }
275 | }
276 |
--------------------------------------------------------------------------------
/src/exeploreGame/GamePannel4.form:
--------------------------------------------------------------------------------
1 |
2 |
3 |
208 |
--------------------------------------------------------------------------------
/src/exeploreGame/GamePannel5.form:
--------------------------------------------------------------------------------
1 |
2 |
3 |
173 |
--------------------------------------------------------------------------------
/src/exeploreGame/GamePannel6.form:
--------------------------------------------------------------------------------
1 |
2 |
3 |
183 |
--------------------------------------------------------------------------------
/src/exeploreGame/GamePannel7.form:
--------------------------------------------------------------------------------
1 |
2 |
3 |
188 |
--------------------------------------------------------------------------------
/src/exeploreGame/GamePannel8.form:
--------------------------------------------------------------------------------
1 |
2 |
3 |
180 |
--------------------------------------------------------------------------------
/src/exeploreGame/HomePannel.form:
--------------------------------------------------------------------------------
1 |
2 |
3 |
155 |
--------------------------------------------------------------------------------
/src/exeploreGame/HomePannel.java:
--------------------------------------------------------------------------------
1 | package exeploreGame;
2 |
3 | import java.awt.CardLayout;
4 | import java.awt.Color;
5 | import javax.swing.border.Border;
6 | import javax.swing.border.LineBorder;
7 |
8 | /**
9 | *
10 | * @author srb
11 | */
12 | public class HomePannel extends javax.swing.JPanel {
13 |
14 | Border darkborder = new LineBorder(Color.DARK_GRAY, 1);
15 | Border lightborder = new LineBorder(Color.lightGray, 1);
16 | Border nullborder = new LineBorder(Color.darkGray, 0);
17 |
18 | CardLayout card=new CardLayout();
19 |
20 |
21 | GamePannel gamePannel ;
22 |
23 | public HomePannel(GamePannel gamePannel) {
24 | initComponents();
25 | this.gamePannel=gamePannel;
26 | myinit();
27 | }//constructor
28 |
29 | public final void myinit(){
30 | setSize(820, 620);//our standard game pannel size
31 |
32 | initBoard();
33 | }//my init
34 |
35 | public void initBoard(){
36 |
37 | }
38 |
39 | @SuppressWarnings("unchecked")
40 | // //GEN-BEGIN:initComponents
41 | private void initComponents() {
42 |
43 | gameIcon1 = new javax.swing.JButton();
44 | gameIcon2 = new javax.swing.JButton();
45 | gameIcon3 = new javax.swing.JButton();
46 | gameIcon4 = new javax.swing.JButton();
47 | gameIcon8 = new javax.swing.JButton();
48 | gameIcon7 = new javax.swing.JButton();
49 | gameIcon6 = new javax.swing.JButton();
50 | gameIcon5 = new javax.swing.JButton();
51 | backgroundLabel = new javax.swing.JLabel();
52 |
53 | setLayout(null);
54 |
55 | gameIcon1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/gameIcon1.jpg"))); // NOI18N
56 | gameIcon1.addActionListener(new java.awt.event.ActionListener() {
57 | public void actionPerformed(java.awt.event.ActionEvent evt) {
58 | gameIcon1ActionPerformed(evt);
59 | }
60 | });
61 | add(gameIcon1);
62 | gameIcon1.setBounds(44, 90, 150, 150);
63 |
64 | gameIcon2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/gameIcon2.jpg"))); // NOI18N
65 | gameIcon2.addActionListener(new java.awt.event.ActionListener() {
66 | public void actionPerformed(java.awt.event.ActionEvent evt) {
67 | gameIcon2ActionPerformed(evt);
68 | }
69 | });
70 | add(gameIcon2);
71 | gameIcon2.setBounds(238, 90, 150, 150);
72 |
73 | gameIcon3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/gameIcon3.jpg"))); // NOI18N
74 | gameIcon3.addActionListener(new java.awt.event.ActionListener() {
75 | public void actionPerformed(java.awt.event.ActionEvent evt) {
76 | gameIcon3ActionPerformed(evt);
77 | }
78 | });
79 | add(gameIcon3);
80 | gameIcon3.setBounds(432, 90, 150, 150);
81 |
82 | gameIcon4.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/gameIcon4.jpg"))); // NOI18N
83 | gameIcon4.addActionListener(new java.awt.event.ActionListener() {
84 | public void actionPerformed(java.awt.event.ActionEvent evt) {
85 | gameIcon4ActionPerformed(evt);
86 | }
87 | });
88 | add(gameIcon4);
89 | gameIcon4.setBounds(626, 90, 150, 150);
90 |
91 | gameIcon8.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/gameIcon8.png"))); // NOI18N
92 | gameIcon8.addActionListener(new java.awt.event.ActionListener() {
93 | public void actionPerformed(java.awt.event.ActionEvent evt) {
94 | gameIcon8ActionPerformed(evt);
95 | }
96 | });
97 | add(gameIcon8);
98 | gameIcon8.setBounds(626, 284, 150, 150);
99 |
100 | gameIcon7.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/gameIcon7.jpg"))); // NOI18N
101 | gameIcon7.addActionListener(new java.awt.event.ActionListener() {
102 | public void actionPerformed(java.awt.event.ActionEvent evt) {
103 | gameIcon7ActionPerformed(evt);
104 | }
105 | });
106 | add(gameIcon7);
107 | gameIcon7.setBounds(432, 284, 150, 150);
108 |
109 | gameIcon6.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/gameIcon6.gif"))); // NOI18N
110 | gameIcon6.addActionListener(new java.awt.event.ActionListener() {
111 | public void actionPerformed(java.awt.event.ActionEvent evt) {
112 | gameIcon6ActionPerformed(evt);
113 | }
114 | });
115 | add(gameIcon6);
116 | gameIcon6.setBounds(238, 284, 150, 150);
117 |
118 | gameIcon5.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/gameIcon5.png"))); // NOI18N
119 | gameIcon5.addActionListener(new java.awt.event.ActionListener() {
120 | public void actionPerformed(java.awt.event.ActionEvent evt) {
121 | gameIcon5ActionPerformed(evt);
122 | }
123 | });
124 | add(gameIcon5);
125 | gameIcon5.setBounds(44, 284, 150, 150);
126 |
127 | backgroundLabel.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/homePannelBackground.jpg"))); // NOI18N
128 | add(backgroundLabel);
129 | backgroundLabel.setBounds(0, 0, 820, 620);
130 | }// //GEN-END:initComponents
131 |
132 | private void gameIcon1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_gameIcon1ActionPerformed
133 | gamePannel.openGame(1);
134 | }//GEN-LAST:event_gameIcon1ActionPerformed
135 |
136 | private void gameIcon2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_gameIcon2ActionPerformed
137 | gamePannel.openGame(2);
138 | }//GEN-LAST:event_gameIcon2ActionPerformed
139 |
140 | private void gameIcon3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_gameIcon3ActionPerformed
141 | gamePannel.openGame(3);
142 | }//GEN-LAST:event_gameIcon3ActionPerformed
143 |
144 | private void gameIcon4ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_gameIcon4ActionPerformed
145 | gamePannel.openGame(4);
146 | }//GEN-LAST:event_gameIcon4ActionPerformed
147 |
148 | private void gameIcon8ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_gameIcon8ActionPerformed
149 | gamePannel.openGame(8);
150 | }//GEN-LAST:event_gameIcon8ActionPerformed
151 |
152 | private void gameIcon7ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_gameIcon7ActionPerformed
153 | gamePannel.openGame(7);
154 | }//GEN-LAST:event_gameIcon7ActionPerformed
155 |
156 | private void gameIcon6ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_gameIcon6ActionPerformed
157 | gamePannel.openGame(6);
158 | }//GEN-LAST:event_gameIcon6ActionPerformed
159 |
160 | private void gameIcon5ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_gameIcon5ActionPerformed
161 | gamePannel.openGame(5);
162 | }//GEN-LAST:event_gameIcon5ActionPerformed
163 |
164 | // Variables declaration - do not modify//GEN-BEGIN:variables
165 | private javax.swing.JLabel backgroundLabel;
166 | private javax.swing.JButton gameIcon1;
167 | private javax.swing.JButton gameIcon2;
168 | private javax.swing.JButton gameIcon3;
169 | private javax.swing.JButton gameIcon4;
170 | private javax.swing.JButton gameIcon5;
171 | private javax.swing.JButton gameIcon6;
172 | private javax.swing.JButton gameIcon7;
173 | private javax.swing.JButton gameIcon8;
174 | // End of variables declaration//GEN-END:variables
175 | }
176 |
--------------------------------------------------------------------------------
/src/exeploreGame/InstructionPannel.form:
--------------------------------------------------------------------------------
1 |
2 |
3 |
41 |
--------------------------------------------------------------------------------
/src/exeploreGame/InstructionPannel.java:
--------------------------------------------------------------------------------
1 | package exeploreGame;
2 |
3 | import java.awt.Color;
4 |
5 | /**
6 | *
7 | * @author srb
8 | */
9 | public class InstructionPannel extends javax.swing.JPanel {
10 | int shade=0;
11 | Thread shader;
12 | GamePannel gamePannel;
13 |
14 | public InstructionPannel(GamePannel gamePannel) {
15 | initComponents();
16 | this.gamePannel=gamePannel;
17 | myinit();
18 | }
19 |
20 | public void myinit(){
21 | setBackground(new Color(199,99,99));
22 | shader=new Thread(){
23 | public void run(){
24 | shadeChange();
25 | }
26 | };
27 | // shader.start();
28 | }
29 |
30 | public void shadeChange(){
31 | try {Thread.sleep(1000);} catch (InterruptedException ex) { }
32 | welcomeLabel.setText("Welcome");
33 | for(int i=0;i<150;i++){
34 | shade=i;
35 | java.awt.EventQueue.invokeLater(new Runnable() {
36 | public void run() {
37 | welcomeLabel.setForeground(new Color(222,222,222,shade));
38 | }
39 | });
40 | try {Thread.sleep(50);} catch (InterruptedException ex) { }
41 | }
42 | java.awt.EventQueue.invokeLater(new Runnable() {
43 | public void run() {
44 | welcomeLabel.setForeground(new Color(0,0,0,0));
45 | }
46 | });
47 | try {Thread.sleep(1000);} catch (InterruptedException ex) { }
48 | welcomeLabel.setText("Exeplore");
49 | for(int i=0;i<150;i++){
50 | shade=i;
51 | java.awt.EventQueue.invokeLater(new Runnable() {
52 | public void run() {
53 | welcomeLabel.setForeground(new Color(255,255,255,shade));
54 | }
55 | });
56 | try {Thread.sleep(50);} catch (InterruptedException ex) { }
57 | }
58 | }
59 |
60 |
61 | @SuppressWarnings("unchecked")
62 | // //GEN-BEGIN:initComponents
63 | private void initComponents() {
64 |
65 | welcomeLabel = new javax.swing.JLabel();
66 |
67 | setBackground(new java.awt.Color(34, 34, 34));
68 | setLayout(null);
69 |
70 | welcomeLabel.setFont(new java.awt.Font("Ubuntu Light", 1, 60)); // NOI18N
71 | welcomeLabel.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
72 | add(welcomeLabel);
73 | welcomeLabel.setBounds(0, 220, 820, 120);
74 | }// //GEN-END:initComponents
75 |
76 |
77 | // Variables declaration - do not modify//GEN-BEGIN:variables
78 | private javax.swing.JLabel welcomeLabel;
79 | // End of variables declaration//GEN-END:variables
80 | }
81 |
--------------------------------------------------------------------------------
/src/exeploreGame/MainFrame.form:
--------------------------------------------------------------------------------
1 |
2 |
3 |
29 |
--------------------------------------------------------------------------------
/src/exeploreGame/MainFrame.java:
--------------------------------------------------------------------------------
1 | package exeploreGame;
2 |
3 | /**
4 | *
5 | * @author srb
6 | */
7 | public class MainFrame extends javax.swing.JFrame {
8 |
9 | public MainFrame() {
10 | initComponents();
11 | myinit();
12 | }
13 |
14 | public final void myinit(){
15 | setSize(970,690);
16 | setResizable(false);
17 | gamePannel = new GamePannel();
18 |
19 | add(gamePannel);
20 | }
21 |
22 | @SuppressWarnings("unchecked")
23 | // //GEN-BEGIN:initComponents
24 | private void initComponents() {
25 |
26 | setDefaultCloseOperation(javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE);
27 | setAlwaysOnTop(true);
28 | getContentPane().setLayout(null);
29 |
30 | pack();
31 | }// //GEN-END:initComponents
32 |
33 | public static void main(String args[]) {
34 |
35 | try {
36 | for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
37 | if ("Nimbus".equals(info.getName())) {
38 | javax.swing.UIManager.setLookAndFeel(info.getClassName());
39 | break;
40 | }
41 | }
42 | } catch (ClassNotFoundException ex) {
43 | java.util.logging.Logger.getLogger(MainFrame.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
44 | } catch (InstantiationException ex) {
45 | java.util.logging.Logger.getLogger(MainFrame.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
46 | } catch (IllegalAccessException ex) {
47 | java.util.logging.Logger.getLogger(MainFrame.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
48 | } catch (javax.swing.UnsupportedLookAndFeelException ex) {
49 | java.util.logging.Logger.getLogger(MainFrame.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
50 | }
51 |
52 | java.awt.EventQueue.invokeLater(new Runnable() {
53 | public void run() {
54 | new MainFrame().setVisible(true);
55 | }
56 | });
57 | }
58 |
59 | //my variables
60 | GamePannel gamePannel;
61 | // Variables declaration - do not modify//GEN-BEGIN:variables
62 | // End of variables declaration//GEN-END:variables
63 | }
64 |
--------------------------------------------------------------------------------
/src/exeploreGame/Score.java:
--------------------------------------------------------------------------------
1 | package exeploreGame;
2 | import java.io.*;
3 |
4 | /**
5 | * Created by akatsuki(https://github.com/Akatsuki06) on 3/10/17.
6 | */
7 | public class Score {
8 | /*Use Score.getScore(fileName) to get the score
9 | and Score.saveScore(score,fileName) to save,*/
10 | public static int getScore(String fileName) throws IOException {
11 | int score=0;
12 | try {
13 | DataInputStream dis = new DataInputStream(new FileInputStream(fileName));
14 | score=dis.readInt();
15 | dis.close();
16 |
17 | }
18 | catch(FileNotFoundException ex) {
19 | System.out.println("File not found : " +fileName + "");
20 | }
21 | catch(IOException ex) {
22 | System.out.println("Error reading file :"+ fileName + "");
23 | }
24 | return score;
25 | }
26 | public static void saveScore(int score, String fileName){
27 | try {
28 |
29 | DataOutputStream dos = new DataOutputStream(new FileOutputStream(fileName));
30 | dos.writeInt(score);
31 | dos.close();
32 |
33 | }
34 | catch(IOException ex) {
35 | System.out.println("Error writing file "+ fileName + " ");
36 | }
37 | }
38 |
39 | }
40 |
--------------------------------------------------------------------------------
/src/exeploreGame/WelcomePannel.form:
--------------------------------------------------------------------------------
1 |
2 |
3 |
41 |
--------------------------------------------------------------------------------
/src/exeploreGame/WelcomePannel.java:
--------------------------------------------------------------------------------
1 |
2 | package exeploreGame;
3 |
4 | import java.awt.Color;
5 |
6 | /**
7 | *
8 | * @author srb
9 | */
10 | public class WelcomePannel extends javax.swing.JPanel {
11 | private int shade=0;
12 | final private GamePannel gamePannel;
13 |
14 | public WelcomePannel(GamePannel gamePannel) {
15 | initComponents();
16 | this.gamePannel=gamePannel;
17 | myinit();
18 | }
19 |
20 | public void myinit(){
21 | final Thread shader = new Thread() {
22 | public void run() {
23 | shadeChange();
24 | }
25 | };
26 | shader.start();
27 | }
28 |
29 | public void shadeChange(){
30 | try {Thread.sleep(1000);} catch (InterruptedException ex) { }
31 | welcomeLabel.setText("Welcome");
32 | for(int i=0;i<150;i++){
33 | shade=i;
34 | java.awt.EventQueue.invokeLater(new Runnable() {
35 | public void run() {
36 | welcomeLabel.setForeground(new Color(222,222,222,shade));
37 | }
38 | });
39 | try {Thread.sleep(50);} catch (InterruptedException ex) { }
40 | }
41 | java.awt.EventQueue.invokeLater(new Runnable() {
42 | public void run() {
43 | welcomeLabel.setForeground(new Color(0,0,0,0));
44 | }
45 | });
46 | try {Thread.sleep(1000);} catch (InterruptedException ex) { }
47 | welcomeLabel.setText("Exeplore");
48 | for(int i=0;i<150;i++){
49 | shade=i;
50 | java.awt.EventQueue.invokeLater(new Runnable() {
51 | public void run() {
52 | welcomeLabel.setForeground(new Color(255,255,255,shade));
53 | }
54 | });
55 | try {Thread.sleep(50);} catch (InterruptedException ex) { }
56 | }
57 | if(gamePannel.timerlock==0)//till now homw button not pressed
58 | gamePannel.home();
59 | }
60 |
61 |
62 | @SuppressWarnings("unchecked")
63 | // //GEN-BEGIN:initComponents
64 | private void initComponents() {
65 |
66 | welcomeLabel = new javax.swing.JLabel();
67 |
68 | setBackground(new java.awt.Color(34, 34, 34));
69 | setLayout(null);
70 |
71 | welcomeLabel.setFont(new java.awt.Font("Ubuntu Light", 1, 60)); // NOI18N
72 | welcomeLabel.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
73 | add(welcomeLabel);
74 | welcomeLabel.setBounds(0, 220, 820, 120);
75 | }// //GEN-END:initComponents
76 |
77 |
78 | // Variables declaration - do not modify//GEN-BEGIN:variables
79 | private javax.swing.JLabel welcomeLabel;
80 | // End of variables declaration//GEN-END:variables
81 | }
82 |
--------------------------------------------------------------------------------
/src/images/Nexus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/Nexus.png
--------------------------------------------------------------------------------
/src/images/a.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/a.png
--------------------------------------------------------------------------------
/src/images/apple.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/apple.png
--------------------------------------------------------------------------------
/src/images/b.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/b.png
--------------------------------------------------------------------------------
/src/images/ball.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/ball.png
--------------------------------------------------------------------------------
/src/images/blackball.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/blackball.png
--------------------------------------------------------------------------------
/src/images/blueball.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/blueball.png
--------------------------------------------------------------------------------
/src/images/boardblack.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/boardblack.jpg
--------------------------------------------------------------------------------
/src/images/boardoutline.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/boardoutline.jpg
--------------------------------------------------------------------------------
/src/images/boardwhite.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/boardwhite.jpg
--------------------------------------------------------------------------------
/src/images/box4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/box4.png
--------------------------------------------------------------------------------
/src/images/box5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/box5.png
--------------------------------------------------------------------------------
/src/images/boy2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/boy2.png
--------------------------------------------------------------------------------
/src/images/bricks1.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/bricks1.jpeg
--------------------------------------------------------------------------------
/src/images/brownbox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/brownbox.png
--------------------------------------------------------------------------------
/src/images/c.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/c.png
--------------------------------------------------------------------------------
/src/images/d.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/d.png
--------------------------------------------------------------------------------
/src/images/e.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/e.png
--------------------------------------------------------------------------------
/src/images/gameIcon1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/gameIcon1.jpg
--------------------------------------------------------------------------------
/src/images/gameIcon2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/gameIcon2.jpg
--------------------------------------------------------------------------------
/src/images/gameIcon3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/gameIcon3.jpg
--------------------------------------------------------------------------------
/src/images/gameIcon4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/gameIcon4.jpg
--------------------------------------------------------------------------------
/src/images/gameIcon5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/gameIcon5.png
--------------------------------------------------------------------------------
/src/images/gameIcon6.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/gameIcon6.gif
--------------------------------------------------------------------------------
/src/images/gameIcon7.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/gameIcon7.jpg
--------------------------------------------------------------------------------
/src/images/gameIcon8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/gameIcon8.png
--------------------------------------------------------------------------------
/src/images/gamePannelBackground.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/gamePannelBackground.jpg
--------------------------------------------------------------------------------
/src/images/gamePannelBackground1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/gamePannelBackground1.jpg
--------------------------------------------------------------------------------
/src/images/gamePannelBackground2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/gamePannelBackground2.jpg
--------------------------------------------------------------------------------
/src/images/gamePannelBackground3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/gamePannelBackground3.jpg
--------------------------------------------------------------------------------
/src/images/gamePannelBackground4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/gamePannelBackground4.jpg
--------------------------------------------------------------------------------
/src/images/gamePannelBackground5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/gamePannelBackground5.jpg
--------------------------------------------------------------------------------
/src/images/gamePannelBackground6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/gamePannelBackground6.jpg
--------------------------------------------------------------------------------
/src/images/gamePannelBackground7.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/gamePannelBackground7.jpg
--------------------------------------------------------------------------------
/src/images/gamePannelBackground8.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/gamePannelBackground8.jpg
--------------------------------------------------------------------------------
/src/images/graybox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/graybox.png
--------------------------------------------------------------------------------
/src/images/greenball.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/greenball.png
--------------------------------------------------------------------------------
/src/images/greenbox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/greenbox.png
--------------------------------------------------------------------------------
/src/images/hintpic1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/hintpic1.jpg
--------------------------------------------------------------------------------
/src/images/hintpic2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/hintpic2.jpg
--------------------------------------------------------------------------------
/src/images/hintpic3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/hintpic3.jpg
--------------------------------------------------------------------------------
/src/images/hintpic4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/hintpic4.jpg
--------------------------------------------------------------------------------
/src/images/homeButton.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/homeButton.jpg
--------------------------------------------------------------------------------
/src/images/homePannelBackground.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/homePannelBackground.jpg
--------------------------------------------------------------------------------
/src/images/pic1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/pic1.jpg
--------------------------------------------------------------------------------
/src/images/pic2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/pic2.jpg
--------------------------------------------------------------------------------
/src/images/pic3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/pic3.jpg
--------------------------------------------------------------------------------
/src/images/pic4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/pic4.jpg
--------------------------------------------------------------------------------
/src/images/pinkball.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/pinkball.png
--------------------------------------------------------------------------------
/src/images/queen.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/queen.jpg
--------------------------------------------------------------------------------
/src/images/queencross.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/queencross.png
--------------------------------------------------------------------------------
/src/images/red_dot.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/red_dot.jpg
--------------------------------------------------------------------------------
/src/images/redball.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/redball.png
--------------------------------------------------------------------------------
/src/images/redbox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/redbox.png
--------------------------------------------------------------------------------
/src/images/slice 0 pic 1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 0 pic 1.jpg
--------------------------------------------------------------------------------
/src/images/slice 0 pic 2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 0 pic 2.jpg
--------------------------------------------------------------------------------
/src/images/slice 0 pic 3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 0 pic 3.jpg
--------------------------------------------------------------------------------
/src/images/slice 0 pic 4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 0 pic 4.jpg
--------------------------------------------------------------------------------
/src/images/slice 1 pic 1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 1 pic 1.jpg
--------------------------------------------------------------------------------
/src/images/slice 1 pic 2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 1 pic 2.jpg
--------------------------------------------------------------------------------
/src/images/slice 1 pic 3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 1 pic 3.jpg
--------------------------------------------------------------------------------
/src/images/slice 1 pic 4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 1 pic 4.jpg
--------------------------------------------------------------------------------
/src/images/slice 10 pic 1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 10 pic 1.jpg
--------------------------------------------------------------------------------
/src/images/slice 10 pic 2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 10 pic 2.jpg
--------------------------------------------------------------------------------
/src/images/slice 10 pic 3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 10 pic 3.jpg
--------------------------------------------------------------------------------
/src/images/slice 10 pic 4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 10 pic 4.jpg
--------------------------------------------------------------------------------
/src/images/slice 11 pic 1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 11 pic 1.jpg
--------------------------------------------------------------------------------
/src/images/slice 11 pic 2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 11 pic 2.jpg
--------------------------------------------------------------------------------
/src/images/slice 11 pic 3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 11 pic 3.jpg
--------------------------------------------------------------------------------
/src/images/slice 11 pic 4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 11 pic 4.jpg
--------------------------------------------------------------------------------
/src/images/slice 12 pic 1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 12 pic 1.jpg
--------------------------------------------------------------------------------
/src/images/slice 12 pic 2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 12 pic 2.jpg
--------------------------------------------------------------------------------
/src/images/slice 12 pic 3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 12 pic 3.jpg
--------------------------------------------------------------------------------
/src/images/slice 12 pic 4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 12 pic 4.jpg
--------------------------------------------------------------------------------
/src/images/slice 13 pic 1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 13 pic 1.jpg
--------------------------------------------------------------------------------
/src/images/slice 13 pic 2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 13 pic 2.jpg
--------------------------------------------------------------------------------
/src/images/slice 13 pic 3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 13 pic 3.jpg
--------------------------------------------------------------------------------
/src/images/slice 13 pic 4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 13 pic 4.jpg
--------------------------------------------------------------------------------
/src/images/slice 14 pic 1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 14 pic 1.jpg
--------------------------------------------------------------------------------
/src/images/slice 14 pic 2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 14 pic 2.jpg
--------------------------------------------------------------------------------
/src/images/slice 14 pic 3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 14 pic 3.jpg
--------------------------------------------------------------------------------
/src/images/slice 14 pic 4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 14 pic 4.jpg
--------------------------------------------------------------------------------
/src/images/slice 15 pic 1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 15 pic 1.jpg
--------------------------------------------------------------------------------
/src/images/slice 15 pic 2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 15 pic 2.jpg
--------------------------------------------------------------------------------
/src/images/slice 15 pic 3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 15 pic 3.jpg
--------------------------------------------------------------------------------
/src/images/slice 15 pic 4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 15 pic 4.jpg
--------------------------------------------------------------------------------
/src/images/slice 2 pic 1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 2 pic 1.jpg
--------------------------------------------------------------------------------
/src/images/slice 2 pic 2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 2 pic 2.jpg
--------------------------------------------------------------------------------
/src/images/slice 2 pic 3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 2 pic 3.jpg
--------------------------------------------------------------------------------
/src/images/slice 2 pic 4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 2 pic 4.jpg
--------------------------------------------------------------------------------
/src/images/slice 3 pic 1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 3 pic 1.jpg
--------------------------------------------------------------------------------
/src/images/slice 3 pic 2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 3 pic 2.jpg
--------------------------------------------------------------------------------
/src/images/slice 3 pic 3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 3 pic 3.jpg
--------------------------------------------------------------------------------
/src/images/slice 3 pic 4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 3 pic 4.jpg
--------------------------------------------------------------------------------
/src/images/slice 4 pic 1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 4 pic 1.jpg
--------------------------------------------------------------------------------
/src/images/slice 4 pic 2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 4 pic 2.jpg
--------------------------------------------------------------------------------
/src/images/slice 4 pic 3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 4 pic 3.jpg
--------------------------------------------------------------------------------
/src/images/slice 4 pic 4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 4 pic 4.jpg
--------------------------------------------------------------------------------
/src/images/slice 5 pic 1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 5 pic 1.jpg
--------------------------------------------------------------------------------
/src/images/slice 5 pic 2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 5 pic 2.jpg
--------------------------------------------------------------------------------
/src/images/slice 5 pic 3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 5 pic 3.jpg
--------------------------------------------------------------------------------
/src/images/slice 5 pic 4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 5 pic 4.jpg
--------------------------------------------------------------------------------
/src/images/slice 6 pic 1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 6 pic 1.jpg
--------------------------------------------------------------------------------
/src/images/slice 6 pic 2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 6 pic 2.jpg
--------------------------------------------------------------------------------
/src/images/slice 6 pic 3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 6 pic 3.jpg
--------------------------------------------------------------------------------
/src/images/slice 6 pic 4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 6 pic 4.jpg
--------------------------------------------------------------------------------
/src/images/slice 7 pic 1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 7 pic 1.jpg
--------------------------------------------------------------------------------
/src/images/slice 7 pic 2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 7 pic 2.jpg
--------------------------------------------------------------------------------
/src/images/slice 7 pic 3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 7 pic 3.jpg
--------------------------------------------------------------------------------
/src/images/slice 7 pic 4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 7 pic 4.jpg
--------------------------------------------------------------------------------
/src/images/slice 8 pic 1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 8 pic 1.jpg
--------------------------------------------------------------------------------
/src/images/slice 8 pic 2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 8 pic 2.jpg
--------------------------------------------------------------------------------
/src/images/slice 8 pic 3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 8 pic 3.jpg
--------------------------------------------------------------------------------
/src/images/slice 8 pic 4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 8 pic 4.jpg
--------------------------------------------------------------------------------
/src/images/slice 9 pic 1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 9 pic 1.jpg
--------------------------------------------------------------------------------
/src/images/slice 9 pic 2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 9 pic 2.jpg
--------------------------------------------------------------------------------
/src/images/slice 9 pic 3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 9 pic 3.jpg
--------------------------------------------------------------------------------
/src/images/slice 9 pic 4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/slice 9 pic 4.jpg
--------------------------------------------------------------------------------
/src/images/vishiGamePanel1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/vishiGamePanel1.jpg
--------------------------------------------------------------------------------
/src/images/yellowbox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srbcheema1/ExeploreGame/864d3bfb14b4a4b6b591eb2d3ac52c662b1c817f/src/images/yellowbox.png
--------------------------------------------------------------------------------