diff options
Diffstat (limited to 'Java/Beginer training')
| -rw-r--r-- | Java/Beginer training/.idea/.gitignore | 2 | ||||
| -rw-r--r-- | Java/Beginer training/.idea/.name | 1 | ||||
| -rw-r--r-- | Java/Beginer training/.idea/misc.xml | 6 | ||||
| -rw-r--r-- | Java/Beginer training/.idea/modules.xml | 8 | ||||
| -rw-r--r-- | Java/Beginer training/.idea/uiDesigner.xml | 124 | ||||
| -rw-r--r-- | Java/Beginer training/.idea/vcs.xml | 6 | ||||
| -rw-r--r-- | Java/Beginer training/out/production/Beginer training/Game_test.class | bin | 2422 -> 0 bytes | |||
| -rw-r--r-- | Java/Beginer training/out/production/Beginer training/META-INF/Beginer training.kotlin_module | bin | 16 -> 0 bytes | |||
| -rw-r--r-- | Java/Beginer training/out/production/Beginer training/NumberName.class | bin | 4947 -> 0 bytes | |||
| -rw-r--r-- | Java/Beginer training/out/production/Beginer training/Player.class | bin | 396 -> 0 bytes | |||
| -rw-r--r-- | Java/Beginer training/out/production/Beginer training/Training.class | bin | 3505 -> 0 bytes | |||
| -rw-r--r-- | Java/Beginer training/out/production/Beginer training/VampireNumber explanation.txt | 39 | ||||
| -rw-r--r-- | Java/Beginer training/out/production/Beginer training/VampireNumber.class | bin | 1968 -> 0 bytes |
13 files changed, 0 insertions, 186 deletions
diff --git a/Java/Beginer training/.idea/.gitignore b/Java/Beginer training/.idea/.gitignore deleted file mode 100644 index 5c98b42..0000000 --- a/Java/Beginer training/.idea/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -# Default ignored files -/workspace.xml
\ No newline at end of file diff --git a/Java/Beginer training/.idea/.name b/Java/Beginer training/.idea/.name deleted file mode 100644 index eb51918..0000000 --- a/Java/Beginer training/.idea/.name +++ /dev/null @@ -1 +0,0 @@ -Beginner training
\ No newline at end of file diff --git a/Java/Beginer training/.idea/misc.xml b/Java/Beginer training/.idea/misc.xml deleted file mode 100644 index e0844bc..0000000 --- a/Java/Beginer training/.idea/misc.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="11" project-jdk-type="JavaSDK"> - <output url="file://$PROJECT_DIR$/out" /> - </component> -</project>
\ No newline at end of file diff --git a/Java/Beginer training/.idea/modules.xml b/Java/Beginer training/.idea/modules.xml deleted file mode 100644 index 70966ea..0000000 --- a/Java/Beginer training/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="ProjectModuleManager"> - <modules> - <module fileurl="file://$PROJECT_DIR$/Beginer training.iml" filepath="$PROJECT_DIR$/Beginer training.iml" /> - </modules> - </component> -</project>
\ No newline at end of file diff --git a/Java/Beginer training/.idea/uiDesigner.xml b/Java/Beginer training/.idea/uiDesigner.xml deleted file mode 100644 index e96534f..0000000 --- a/Java/Beginer training/.idea/uiDesigner.xml +++ /dev/null @@ -1,124 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="Palette2"> - <group name="Swing"> - <item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false"> - <default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" /> - </item> - <item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false"> - <default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" /> - </item> - <item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false"> - <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" /> - </item> - <item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true"> - <default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" /> - </item> - <item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false"> - <default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" /> - <initial-values> - <property name="text" value="Button" /> - </initial-values> - </item> - <item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false"> - <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" /> - <initial-values> - <property name="text" value="RadioButton" /> - </initial-values> - </item> - <item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false"> - <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" /> - <initial-values> - <property name="text" value="CheckBox" /> - </initial-values> - </item> - <item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false"> - <default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" /> - <initial-values> - <property name="text" value="Label" /> - </initial-values> - </item> - <item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true"> - <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> - <preferred-size width="150" height="-1" /> - </default-constraints> - </item> - <item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true"> - <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> - <preferred-size width="150" height="-1" /> - </default-constraints> - </item> - <item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true"> - <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> - <preferred-size width="150" height="-1" /> - </default-constraints> - </item> - <item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true"> - <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> - <preferred-size width="150" height="50" /> - </default-constraints> - </item> - <item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true"> - <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> - <preferred-size width="150" height="50" /> - </default-constraints> - </item> - <item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true"> - <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> - <preferred-size width="150" height="50" /> - </default-constraints> - </item> - <item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true"> - <default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" /> - </item> - <item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false"> - <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> - <preferred-size width="150" height="50" /> - </default-constraints> - </item> - <item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false"> - <default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3"> - <preferred-size width="150" height="50" /> - </default-constraints> - </item> - <item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false"> - <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> - <preferred-size width="150" height="50" /> - </default-constraints> - </item> - <item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false"> - <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3"> - <preferred-size width="200" height="200" /> - </default-constraints> - </item> - <item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false"> - <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3"> - <preferred-size width="200" height="200" /> - </default-constraints> - </item> - <item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true"> - <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" /> - </item> - <item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false"> - <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" /> - </item> - <item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false"> - <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" /> - </item> - <item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false"> - <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" /> - </item> - <item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false"> - <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1"> - <preferred-size width="-1" height="20" /> - </default-constraints> - </item> - <item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false"> - <default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" /> - </item> - <item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false"> - <default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" /> - </item> - </group> - </component> -</project>
\ No newline at end of file diff --git a/Java/Beginer training/.idea/vcs.xml b/Java/Beginer training/.idea/vcs.xml deleted file mode 100644 index b2bdec2..0000000 --- a/Java/Beginer training/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="VcsDirectoryMappings"> - <mapping directory="$PROJECT_DIR$/../.." vcs="Git" /> - </component> -</project>
\ No newline at end of file diff --git a/Java/Beginer training/out/production/Beginer training/Game_test.class b/Java/Beginer training/out/production/Beginer training/Game_test.class Binary files differdeleted file mode 100644 index 38331d5..0000000 --- a/Java/Beginer training/out/production/Beginer training/Game_test.class +++ /dev/null diff --git a/Java/Beginer training/out/production/Beginer training/META-INF/Beginer training.kotlin_module b/Java/Beginer training/out/production/Beginer training/META-INF/Beginer training.kotlin_module Binary files differdeleted file mode 100644 index 2983af7..0000000 --- a/Java/Beginer training/out/production/Beginer training/META-INF/Beginer training.kotlin_module +++ /dev/null diff --git a/Java/Beginer training/out/production/Beginer training/NumberName.class b/Java/Beginer training/out/production/Beginer training/NumberName.class Binary files differdeleted file mode 100644 index 39408a5..0000000 --- a/Java/Beginer training/out/production/Beginer training/NumberName.class +++ /dev/null diff --git a/Java/Beginer training/out/production/Beginer training/Player.class b/Java/Beginer training/out/production/Beginer training/Player.class Binary files differdeleted file mode 100644 index 398e5e5..0000000 --- a/Java/Beginer training/out/production/Beginer training/Player.class +++ /dev/null diff --git a/Java/Beginer training/out/production/Beginer training/Training.class b/Java/Beginer training/out/production/Beginer training/Training.class Binary files differdeleted file mode 100644 index 9bc5125..0000000 --- a/Java/Beginer training/out/production/Beginer training/Training.class +++ /dev/null diff --git a/Java/Beginer training/out/production/Beginer training/VampireNumber explanation.txt b/Java/Beginer training/out/production/Beginer training/VampireNumber explanation.txt deleted file mode 100644 index 10ac553..0000000 --- a/Java/Beginer training/out/production/Beginer training/VampireNumber explanation.txt +++ /dev/null @@ -1,39 +0,0 @@ -VampireNumber Java task, code explanation with the number 1827: - -1827 (Number that we are checking) -0123 (Indexes of digits, in code they are named: first, second, third & fourth) - -The first and second number that are multiplied are illustrated combined as one (the first half of the calculated numbers is the first multiple, and the second half - the second) -For example, the number 1278 is actually 12 and 78 and they are multiplied to check for the result -This is done like that to better illustrate how the numbers change - -Cycle: Swap 1 with 3 (indexes): -1827 1728 -1782 1287 -1278 1872 - -2178 2871 -2817 2718 -2781 2187 NOTE: 2187 is the answer, so the code would stop here, but this example is continued to the end - -7281 7182 -7128 7821 -7812 7218 - -8712 8217 -8271 8172 -8127 8721 - -1827 (Here the cycles end) - -Cycle: it rotates the last 3 digits, for example if we have 123,the 3 gets in the front and the others move back, i.e. 312 - - 1 2 3 => 3 1 2 - ^-----' - -Swap 1 with 3: as the name suggests, it makes a second version of the number by swapping the 1st (index) and 2nd (index) digit - - 0 1 2 3 => 0 3 2 1 - ^---^ - - -the swap is there because with the cycle we miss out on half of the possible numbers
\ No newline at end of file diff --git a/Java/Beginer training/out/production/Beginer training/VampireNumber.class b/Java/Beginer training/out/production/Beginer training/VampireNumber.class Binary files differdeleted file mode 100644 index ef49838..0000000 --- a/Java/Beginer training/out/production/Beginer training/VampireNumber.class +++ /dev/null |
