Skip to content
This repository has been archived by the owner on Apr 21, 2021. It is now read-only.

Rešerše, Analýza, Nasazení, ... #39

Merged
merged 54 commits into from
May 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
0e686ef
Chapter Inicialization
Nov 21, 2019
4979403
Add citation sources
Nov 29, 2019
f78e3ce
Merge branch 'master' into analysis
tenhobi Feb 22, 2020
d29f60e
Merge branch 'master' of github.com:tenhobi/bachelors-thesis into ana…
tenhobi Feb 22, 2020
be8a667
Updates
tenhobi Mar 3, 2020
32ad063
Update structure
tenhobi Mar 15, 2020
32eae89
Add link comments
tenhobi Mar 15, 2020
65ba5da
Change to BibLaTeX
tenhobi Mar 27, 2020
796b89e
Add biber to install list
tenhobi Mar 27, 2020
15ae7c5
Fix order
tenhobi Mar 27, 2020
bbd03a8
Fix dependencies
tenhobi Mar 27, 2020
862086f
Add biber depenency?
tenhobi Mar 27, 2020
03dfa1d
Remove csn690 file
tenhobi Mar 27, 2020
73f3203
formating
tenhobi Mar 27, 2020
9b99efb
Enhnance library, add state mgmt
tenhobi Mar 30, 2020
5081ff1
Add todos and blind text
tenhobi Mar 31, 2020
86c5fdd
Add state mgmt
tenhobi Apr 1, 2020
7425e54
Finish frameworks
tenhobi Apr 5, 2020
256348c
Add deployment
tenhobi Apr 6, 2020
55f989f
Add testing
tenhobi Apr 6, 2020
243b58a
Add databases
tenhobi Apr 7, 2020
5ae4a4e
Add sensors
tenhobi Apr 7, 2020
2f93b5f
Add quotes
tenhobi Apr 7, 2020
b8f5cc4
Add architecture research
tenhobi Apr 7, 2020
7863176
Use quotes in English; add todos
tenhobi Apr 10, 2020
46a0ff4
Incorporating some of the comments
tenhobi Apr 13, 2020
9f7aa5f
Finish use cases and test cases
tenhobi Apr 13, 2020
9f6552a
Add missing UC
tenhobi Apr 13, 2020
0a9bc52
Fix blind macro & add about game
tenhobi Apr 14, 2020
7e06634
Add nonbreakable space before \ref and \cite
tenhobi Apr 14, 2020
858b041
Add Clean Architecture
tenhobi Apr 14, 2020
2eb4607
Add competitive apps summary
tenhobi Apr 14, 2020
d5ceab5
Add info about splitting architecture + reso coder proposal
tenhobi Apr 15, 2020
f344e6e
Typo fix
tenhobi Apr 15, 2020
b1c924e
Enhance abstract
tenhobi Apr 15, 2020
c28926e
Update keywords
tenhobi Apr 15, 2020
d7b7b31
Split abstract
tenhobi Apr 15, 2020
1fa91d2
typo
tenhobi Apr 15, 2020
15a3b38
Fix typos
tenhobi Apr 16, 2020
1db7f91
Fix citations, refs, ---
tenhobi Apr 16, 2020
3351227
Add latex dependencies to README
tenhobi Apr 17, 2020
a731164
Add [software]
tenhobi Apr 19, 2020
15c5645
Add slides
tenhobi May 5, 2020
5196c59
Rename main to thesis
tenhobi May 5, 2020
722cca9
Update slides
tenhobi May 6, 2020
8f9bd79
Alpha release version
tenhobi May 17, 2020
8d6ec75
Change biblatex
tenhobi May 24, 2020
649b5d5
Fixes 1
tenhobi May 25, 2020
ae67c85
Fixes 2
tenhobi May 25, 2020
8803462
Add kapitoly o dokumentaci, zhodnoceni a rozšíření
tenhobi May 26, 2020
9c26867
Fix w/ vlna
tenhobi May 26, 2020
9ee3ac5
Add cover
tenhobi May 26, 2020
3d3203c
final touch
tenhobi May 30, 2020
e233c58
The last check
tenhobi May 30, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,27 @@ jobs:

- name: Set up Enviroment
run: |
sudo apt install texlive texlive-xetex texlive-extra-utils texlive-lang-czechslovak
sudo apt install texlive texlive-xetex texlive-extra-utils texlive-lang-czechslovak texlive-bibtex-extra
sudo apt install biber
sudo apt install python-pygments

- name: Run Arara
run: arara main
- name: Run Arara -- Thesis
run: arara thesis

- name: Rename PDF
run: mv main.pdf BP_Bittner_Jan.pdf
run: mv thesis.pdf BP_Bittner_Jan.pdf

- name: Run Arara -- Slides
run: arara slides

- name: Run Arara -- Cover
run: arara cover

- name: Upload Data as Artifact
uses: actions/upload-artifact@master
with:
name: bp-pdf
path: BP_Bittner_Jan.pdf
path: ./*.pdf

- name: Cat Log
if: failure()
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
main.pdf
thesis.pdf
slides.pdf
cover.pdf

## Core latex/pdflatex auxiliary files:
*.aux
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ texlive
texlive-xetex
texlive-extra-utils
texlive-lang-czechslovak
texlive-bibtex-extra
biber
python-pygments
```

Expand Down Expand Up @@ -93,6 +95,8 @@ texlive
texlive-xetex
texlive-extra-utils
texlive-lang-czechslovak
texlive-bibtex-extra
biber
python-pygments
```

Expand Down
Binary file added assets/cover/cvut-logo-bw-symbol.pdf
Binary file not shown.
Binary file added assets/cover/cvut-logo-w.pdf
Binary file not shown.
Binary file added assets/design/wireframes/game.pdf
Binary file not shown.
Binary file added assets/design/wireframes/home-1.pdf
Binary file not shown.
Binary file added assets/design/wireframes/home-2.pdf
Binary file not shown.
Binary file added assets/design/wireframes/home-2b.pdf
Binary file not shown.
Binary file added assets/design/wireframes/home-3.pdf
Binary file not shown.
Binary file added assets/design/wireframes/lobby.pdf
Binary file not shown.
Binary file added assets/slides/event-loop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/slides/logo-bloc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/slides/logo-clean-architecture.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/slides/logo-cvut.pdf
Binary file not shown.
Binary file added assets/slides/logo-flutter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/slides/screen-0.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/slides/screen-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/slides/screen-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/slides/screen-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
3 changes: 3 additions & 0 deletions assets/technology-research/framework/popularity.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
14 changes: 8 additions & 6 deletions chapters/_all.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
\input{chapters/competitive-apps.tex}
\input{chapters/analysis.tex}
\input{chapters/design.tex}
\input{chapters/implementation.tex}
\input{chapters/testing.tex}
\input{chapters/deployment.tex}
\include{chapters/goals}
\include{chapters/competitive-apps}
\include{chapters/technology-research}
\include{chapters/analysis}
\include{chapters/design}
\include{chapters/implementation}
\include{chapters/testing}
\include{chapters/deployment}
15 changes: 10 additions & 5 deletions chapters/analysis.tex
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
\chapter{Analýza}
\label{chap:analysis}

TODO text
Tato kapitola se věnuje analýze praktické části práce,
mobilní hře.
V~nadcházejících podkapitolách je popsán princip hry,
její funkční a~nefunkční požadavky
i~jednotlivé případy užití.

\input{chapters/analysis/framework.tex}
\input{chapters/analysis/state-management.tex}
\input{chapters/analysis/database.tex}
\input{chapters/analysis/testing.tex}
\input{chapters/analysis/game.tex}
\input{chapters/analysis/functional-requirements.tex}
\input{chapters/analysis/non-functional-requirements.tex}
\input{chapters/analysis/use-cases.tex}
3 changes: 0 additions & 3 deletions chapters/analysis/database.tex

This file was deleted.

3 changes: 0 additions & 3 deletions chapters/analysis/framework.tex

This file was deleted.

38 changes: 38 additions & 0 deletions chapters/analysis/functional-requirements.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
\section{Funkční požadavky}

Funkční požadavky popisují jednotlivé požadavky na funkcionalitu aplikace.
Z~pohledu uživatelů aplikace popisují akce,
které může uživatel provést.
Jednotlivé funkční požadavky,
či jejich uskupení,
mohou tvořit jednotlivé nezávislé moduly aplikace.~\cite{fr_nfr}

\begin{enumerate}[label=\textbf{F\arabic*}, ref=F\arabic*]
\myItem{Přihlášení}
Uživatel se bude moci do aplikace přihlásit, resp. registrovat,
pomocí účtu Google.
\myItem{Informace o~aplikaci}
Aplikace obsahuje obrazovku s~informacemi o~aplikaci,
včetně jména autora, verze, popisu a~odkazu na projekt.
\myItem{Vytvoření hry}
Přihlášený uživatel může vytvořit hru.
Současně hráč nastaví misi ke hraní.
\myItem{Připojení do hry}
Přihlášený uživatel se může připojit do hry pomocí kódu.
\myItem{Spuštění hry}
Po potvrzení, že jsou hráči připraveni na hru,
mohou spustit hru s~danou misí.
\myItem{Ukončení hry}
Hráč může během přípravy hry nebo hraní hry danou hru ukončit.
\myItem{Statistika po hře}
Hráčům je po skončení hry zobrazena herní statistika.
\myItem{Zobrazení svého profilu}
Přihlášený uživatel si může zobrazit svůj profil.
\myItem{Zobrazení svých statistik}
Přihlášený uživatel si může zobrazit své souhrnné statistiky
ze všech hraných misí.
\myItem{Změna nastavení}\label{req:settings}
Přihlášený uživatel si může změnit nastavení.
\myItem{Odhlášení}\label{req:logout}
Přihlášený uživatel se bude moci z~aplikace odhlásit.
\end{enumerate}
61 changes: 61 additions & 0 deletions chapters/analysis/game.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
\section{Popis hry}

Mobilní hra je laděna satiricky do prostředí jaderné elektrárny,
kterou musí uživatelé,
hráči hry v~rozdílných rolích,
zachránit od zničení.
Hra se nazývá \emph{\myAppName}
a~její děj se odehrává v~neznámé jaderné elektrárně.
V~této elektrárně má většina pracovníků dovolenou,
a~proto jsou přítomni jen dva lidé,
technik a~manažer.
Náhlý problém zapříčiní,
že mezi těmito pracovníky byla zablokována cesta,
a~tak se tito dva zaměstnanci musí domluvit pouze hlasem
a~zařídit opravu elektrárny.
Technik vidí všechny řídící prvky,
manažer vidí plány a~manuály.
Jejich cílem je tak společnou spoluprací zabránit neštěstí v~podobě exploze.

Hra je členěna do několika kapitol
a~každá kapitola obsahuje několik statických misí.
Mise jsou statické v~tom významu,
že mají jasně přednastaveny prvky,
které moduly obsahuje,
avšak mění se jejich konkrétní nastavení.
To zajištuje jak možnost znovuopakování,
tak poměřování s~ostatními hráči.

Každá mise,
a~tedy konkrétní hra samotná,
obsahuje několik modulů,
které reprezentují určité řídící prvky elektrárny.
To mohou být nejrůznější tlačítka či přepínače,
ale i~speciální moduly,
reprezentující prvky elektrárny,
které nelze vypnout či opravit a~musí být periodicky kontrolovány,
jako pumpa dodávající chladící vodu do reaktoru.
Kromě modulů je potřeba ve hře okamžitě provádět akce,
které se zobrazí.
Akce jsou většinou jednorázové,
kdy stačí provést danou akci.

Konkrétní mise začíná po tom,
co jsou oba pracovníci připraveni
a~je stisknuto tlačítko \emph{AZ-5},
které by mělo zajistit rychlé odstavení reaktoru,
avšak z~neznámého důvodu nefunguje.
Po skončení každé mise,
případně souhrnně za všechny odehrané hry,
jsou zobrazeny statistiky hry.
Statistiky po ukončení hry zobrazí uplynulý čas,
potřebný k~opravě.
Souhrnné statistiky zobrazují
celkový počet odehraných her a~poměr úspěšně splněných her.

Akce jsou přerušením,
které musí hráči okamžitě vykonat.
Příkladem akce může být \emph{zatřeste zařízením}.
Význam jednotlivých akcí je zjevný z~jeho názvu.
Akce jsou využívány zejména v~pokročilejších kapitolách,
jelikož mohou značně komplikovat hru.
24 changes: 24 additions & 0 deletions chapters/analysis/non-functional-requirements.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
\section{Nefunkční požadavky}

Nefunkční požadavky nepopisují konkrétní chování systému,
ale spíše jeho vlastnosti a~omezení.
Tyto vlastnosti a~omezení také přímo souvisí s~očekáváními,
které mají uživatelé na aplikaci,
ať už se jedná o~snadné použití funkcí,
rychlost a~plynulost jednotlivých kroků,
nebo například bezpečnost.~\cite{fr_nfr}

\begin{enumerate}[label=\textbf{N\arabic*}, ref=N\arabic*]
\myItem{Multiplatformnost}
Aplikaci lze po nasazení spustit v~současných verzích Android a~iOS.
\myItem{Udržitelnost a~rozšiřitelnost}
Kód aplikace je psán přehledně,
s~vhodnou architekturou a~vhodnými konvencemi tak,
že je lehce udržitelný a~rozšiřitelný.
\myItem{Plynulost}
Aplikace funguje na všech obrazovkých plynule
i~na výkonnostně slabších zařízeních.
\myItem{Vícejazyčnost}
Aplikace podporuje český jazyk
a~je připravena na rozšíření o~další jazyky.
\end{enumerate}
3 changes: 0 additions & 3 deletions chapters/analysis/state-management.tex

This file was deleted.

3 changes: 0 additions & 3 deletions chapters/analysis/testing.tex

This file was deleted.

Loading