-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
488 lines (455 loc) · 19.5 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>My Journey</title>
<link rel="stylesheet" href="dist/reset.css">
<link rel="stylesheet" href="dist/reveal.css">
<link rel="stylesheet" href="dist/theme/black.css">
<!-- Theme used for syntax highlighted code -->
<link rel="stylesheet" href="plugin/highlight/monokai.css">
<link rel="stylesheet" href="css/myStyleSheet.css">
</head>
<body>
<div class="reveal">
<div class="slides">
<section>
<h3>My Java Development Journey</h3>
<p>Created by Michael Ploier</p>
</section>
<section>
<h3>Contents</h3>
<ul>
<li><a href="#/calculator">Calculator</a></li>
<li><a href="#/rockPaperScissor">Rock Paper Scissor</a></li>
<li><a href="#/minesweeper">Minesweeper</a></li>
<li><a href="#/pacman">PacMan</a></li>
<li><a href="#/quizapp">Quizapp</a></li>
<li><a href="#/snake">Snake</a></li>
</ul>
</section>
<!--Calculator-->
<section id="calculator">
<section>
<h3>Calculator</h3>
<p>First Project</p>
</section>
<section data-transition="fade-out">
<div class="container">
<div class="imgContainer">
<video src="media/1_calculator/grundFunktion.mov" data-autoplay></video>
</div>
<div class="textContainer">
<p class="text">In the first project we had to programme a <span
class="fragment highlight-green">calculator with simple functions</span> such as plus,
minus, times and dividing. <br><br>
The calculator should also be able to clear the input.</p>
</div>
</div>
</section>
<section data-transition="fade-in">
<div class="container">
<div class="imgContainer">
<video src="media/1_calculator/erweiterungen.mov" data-autoplay></video>
</div>
<div class="textContainer">
<div>
<p class="text">
We could think of extensions ourselves.<br><br>
I extended my calculator with a key for:
</p>
<ul class="text">
<li><span class="fragment highlight-red">square root</span></li>
<li><span class="fragment highlight-blue">delete last input</span></li>
<li><span class="fragment highlight-green">minus sign</span></li>
</ul>
</div>
</div>
</div>
</section>
</section>
<!--Rock Paper Scissor-->
<section id="rockPaperScissor">
<section>
<h3>Rock Paper Scissor</h3>
<p>Second Project</p>
</section>
<section>
<div class="container">
<div class="imgContainer">
<img src="media/2_SchereSteinPapier/SchereSteinPapier.png">
</div>
<div class="textContainer">
<p class="text">For our second project we had to program a simple <span
class="fragment highlight-green">rock paper scissors </span> game.</p>
</div>
</div>
</section>
<section>
<div class="textMiddle">
<div class="textContainer">
<div>
<h3 class="text">Requirements</h3>
<ul class="text">
<li><span class="fragment blur">3 basic symbols</span></li>
<li><span class="fragment blur">Bridge evaluation with progress bar</span></li>
<li><span class="fragment blur">Using GIT</span></li>
</ul>
</div>
</div>
</div>
</section>
<section>
<div class="textMiddle">
<div class="textContainer">
<div>
<h3 class="text">Extensions</h3>
<ul class="text">
<li><span class="fragment blur">Fourth symbol (Well)</span></li>
<li><span class="fragment blur">Note highscore</span></li>
<li><span class="fragment blur">Background music</span></li>
</ul>
</div>
</div>
</div>
</section>
<section>
<div class="container">
<div class="imgContainer">
<h4>Progress</h4>
<img src="media/2_SchereSteinPapier/SchereSteinPapier_Prozess.png">
</div>
<div class="imgContainer">
<h4>Evaluation</h4>
<img src="media/2_SchereSteinPapier/SchereSteinPapier_Auswertung.png">
</div>
</div>
</section>
<section>
<div class="showVideo">
<h4>Gameplay</h4>
<video src="media/2_SchereSteinPapier/SchereSteinPapierSpiel.mov" data-autoplay></video>
</div>
</section>
<section>
<h2>What is GIT?</h2>
<p>Git is a distributed version control system for tracking changes in source code during software
development.</p>
</section>
<!-- Slide 3 -->
<section>
<h2>Key Concepts</h2>
<ul>
<li>Repository</li>
<li>Commit</li>
<li>Branch</li>
<li>Merge</li>
<li>Pull Request</li>
</ul>
</section>
<!-- Slide 4 -->
<section>
<h2>Basic Commands</h2>
<pre>
<code> git init
git add
git commit
git pull
git push
git merge</code></pre>
</section>
</section>
<!--Minesweaper-->
<section>
<section>
<h3>Minesweeper</h3>
<p>Third Project</p>
</section>
<section>
<div class="container">
<div class="imgContainer">
<img src="media/3_Minesweeper/Play.png">
</div>
<div class="textContainer">
<p style="text-align: center;">For our third project we programmed the classic game Minesweeper</p>
</div>
</div>
</section>
<section>
<div class="container">
<div class="imgContainer">
<h4>Easy</h4>
<img src="media/3_Minesweeper/Easy.png">
<p class="textMiddle text">8x8</p>
</div>
<div class="imgContainer">
<h4>Medium</h4>
<img src="media/3_Minesweeper/Medium.png">
<p class="textMiddle text">16x16</p>
</div>
<div class="imgContainer">
<h4>Hard</h4>
<img height="313px" src="media/3_Minesweeper/Hard.png">
<p class="textMiddle text">16x30</p>
</div>
</div>
</section>
<section>
<div class="container">
<div class="imgContainer r-stack">
<img src="media/3_Minesweeper/FeldVerloren.png">
<img src="media/3_Minesweeper/Verloren.png" class="fragment">
</div>
<div class="textContainer">
<p>If you click on a bomb, all other bombs will be revealed and a pop-up notification shows up.</p>
</div>
</div>
</section>
<section>
<div class="container">
<div class="imgContainer r-stack">
<img src="media/3_Minesweeper/FeldGewonnen.png">
<img src="media/3_Minesweeper/Gewonnen.png" class="fragment">
</div>
<div class="textContainer">
<p>If you are able to mark all bombs with a flag, you win and a pop-up notification shows up.</p>
</div>
</div>
</section>
<section>
<div class="showVideo">
<h4>Gameplay</h4>
<video src="media/3_Minesweeper/Gameplay.mov" height="600px" data-autoplay></video>
</div>
</section>
<section>
<h3>Recursion in Java</h3>
<p>We used recursion to reveal all blank spots</p>
</section>
<section>
<h4>What is Recursion?</h4>
<p class="text">Recursion is a programming concept where a function calls itself in order to solve a problem. In Java, this can lead to elegant and concise solutions.</p>
</section>
<section>
<h4>Example: Factorial</h4>
<p class="text">Let's take the example of calculating the factorial of a number</p>
<pre><code>
public class Factorial {
public static int factorial(int n) {
if (n == 0 || n == 1) {
return 1;
} else {
return n * factorial(n - 1);
}
}
}
</code></pre>
</section>
<section>
<h3>How it works</h3>
<ul class="text">
<li class="fragment">The base case checks if <code>n</code> is 0 or 1, in which case the factorial is 1</li>
<li class="fragment">Otherwise, it multiplies <code>n</code> by the factorial of <code>(n - 1)</code></li>
</ul>
</section>
<section>
<h3>Key Concepts</h3>
<ul class="text">
<li class="fragment"><strong>Base Case:</strong> A condition that stops the recursion. In the factorial example, it's when <code>n</code> is 0 or 1</li>
<li class="fragment"><strong>Recursive Case:</strong> The case where the function calls itself with a modified argument (<code>n - 1</code> in the factorial example)</li>
<li class="fragment"><strong>Stack Memory:</strong> Each recursive call adds a frame to the stack, and the stack is popped when the base case is reached</li>
</ul>
</section>
<section>
<h3>Conclusion</h3>
<ul class="text">
<li class="fragment">Recursion can be a powerful tool in programming</li>
<li class="fragment">Care should be taken to define a proper base case to avoid infinite recursion</li>
<li class="fragment">Java supports recursion, but it may not always be the most efficient solution</li>
</ul>
</section>
</section>
<!--PacMan-->
<section id="pacman">
<section>
<h3>PacMan</h3>
<p>Fourth Project</p>
</section>
<section>
<div class="container">
<div class="imgContainer">
<img src="media/4_PacMan/startUp.png">
</div>
<div class="textContainer">
<p>For our forth project we had to bring up a idea on our own. Me and a team of 3 classmates decided to program PacMan in language Java</p>
</div>
</div>
</section>
<section>
<div class="container">
<div class="imgContainer r-stack">
<img src="media/4_PacMan/Playground.png">
<img src="media/4_PacMan/PacmanRight.png" height="300px" class="fragment">
<img src="media/4_PacMan/Blinky.png" height="300px" class="fragment">
<img src="media/4_PacMan/Clyde.png" height="300px" class="fragment">
<img src="media/4_PacMan/Pinky.png" height="300px" class="fragment">
</div>
<div class="textContainer">
<p>We also designed our own playfield, our own pacman, cookies, coins and ghosts</p>
</div>
</div>
</section>
<section>
<div class="container">
<div class="imgContainer r-stack">
<img src="media/4_PacMan/Gewonnen.png">
<img src="media/4_PacMan/Verloren.png" class="fragment">
</div>
<div class="textContainer">
<p>If you can collect all coins and cookies on the playfield you win, but if a ghost catches you, you lose</p>
</div>
</div>
</section>
<section>
<div class="showVideo">
<h4>Gameplay</h4>
<video src="media/4_PacMan/Gameplay.mov" height="600px" data-autoplay></video>
</div>
</section>
</section>
<!--Quizapp-->
<section id="quizapp">
<section>
<h3>Quizapp</h3>
<p>Fifth Project</p>
</section>
<section>
<div class="container">
<div class="imgContainer">
<img src="media/5_Quizapp/StartScreen.png">
</div>
<div class="textContainer">
<p>For our fifth project we developed a quiz application.</p>
</div>
</div>
</section>
<section>
<div class="container">
<div class="imgContainer">
<img src="media/5_Quizapp/Editor.png">
</div>
<div class="textContainer">
<p>In first place we developed a editor to create and edit different quiz games </p>
</div>
</div>
</section>
<section>
<div class="container">
<div class="imgContainer">
<img src="media/5_Quizapp/Editor.png">
</div>
<div class="textContainer">
<ul>
<li class="fragment">Left side: Quizzes</li>
<li class="fragment">Middle top: Questions of selected quiz</li>
<li class="fragment">Middle bottom: Answers of selected question</li>
</ul>
</div>
</div>
</section>
<section>
<div class="container">
<div class="imgContainer">
<img src="media/5_Quizapp/QuizSelection.png">
</div>
<div class="textContainer">
<p>After you created a game you can select it and play it.</p>
</div>
</div>
</section>
<section>
<div class="container">
<div class="imgContainer r-stack">
<img src="media/5_Quizapp/FirstQuestion.png">
<img class="fragment" src="media/5_Quizapp/FirstQuestionAnswer.png">
</div>
<div class="textContainer">
<p>We got inspired of the layout from the classic game Kahoot</p>
</div>
</div>
</section>
<section>
<div class="container">
<div class="imgContainer">
<img src="media/5_Quizapp/EndScore.png">
</div>
<div class="textContainer">
<p>After your game you have the opportunity to put your name in for the high score board</p>
</div>
</div>
</section>
</section>
<!--Snake-->
<section id="snake">
<section>
<h3>Snake</h3>
<p>Sixth Project</p>
</section>
<section>
<div class="container">
<div class="imgContainer">
<img src="media/6_Snake/startUp.png">
</div>
<div class="textContainer">
<p>For our last project we developed our own snake game.</p>
</div>
</div>
</section>
<section>
<h4>Requirements</h4>
<ul class="text">
<li class="fragment">Control snake with arrow keys</li>
<li class="fragment">Space key will pause the game</li>
<li class="fragment">ESC key will close the game</li>
<li class="fragment">Obstacles will occur during the game</li>
</ul>
</section>
<section>
<h4>Extension</h4>
<ul class="text">
<li class="fragment">Select difficulty in startup screen</li>
<li class="fragment">Difficulty increases over time</li>
<li class="fragment">More Obstacles spawn over time</li>
<li class="fragment">Special food bites which decrease snake length</li>
</ul>
</section>
<section>
<h4>Gameplay</h4>
<video src="media/6_Snake/Gameplay.mov" height="600px" data-autoplay></video>
</section>
</section>
<section>
<h2>Thanks for watching</h2>
<p>by Michael Ploier</p>
</section>
</div>
</div>
<script src="dist/reveal.js"></script>
<script src="plugin/notes/notes.js"></script>
<script src="plugin/markdown/markdown.js"></script>
<script src="plugin/highlight/highlight.js"></script>
<script>
// More info about initialization & config:
// - https://revealjs.com/initialization/
// - https://revealjs.com/config/
Reveal.initialize({
hash: true,
// Learn about plugins: https://revealjs.com/plugins/
plugins: [RevealMarkdown, RevealHighlight, RevealNotes],
//autoSlide:5000,
//loop: true
});
</script>
</body>
</html>