Skip to content

Commit

Permalink
minor cleanup. extended track to 39 fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
kaat0 committed May 13, 2019
1 parent efe0a04 commit b96c618
Show file tree
Hide file tree
Showing 45 changed files with 106 additions and 54 deletions.
16 changes: 11 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
edugame-rail-traffic-flow
======

Version 0.5.1
------
minor improvements and some refactoring


Version 0.5
------
* added Material for paper based game:
** papercut tracks, signals, and trains
** collection of trains with appropriate driving dynamics
** protocol template
* minor improvements and some refactoring
added Material for paper based game:
* papercut tracks, signals, and trains
* collection of trains with appropriate driving dynamics
* protocol template
minor improvements and some refactoring

Version 0.4
------
Expand Down
2 changes: 1 addition & 1 deletion backmatter/versionhistory.tex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%!TEX TS-program = pdflatexmk
%!TEX root = ../handbook.tex

% Copyright 2018 RailToolKit (Attribution 4.0 International, CC-BY 4.0)
% Copyright 2019 Martin Scheidt (Attribution 4.0 International, CC-BY 4.0)
% You are free to copy and redistribute the material in any medium or format. You are free to remix, transform, and build upon the material for any purpose, even commercially. You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits. No warranties are given.

\newcommand{\MS}{Martin Scheidt}
Expand Down
Binary file added figures/composition.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion figures/composition.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%!TEX TS-program = pdflatexmk

% Copyright 2018 RailToolKit (Attribution 4.0 International, CC-BY 4.0)
% Copyright 2019 Martin Scheidt (Attribution 4.0 International, CC-BY 4.0)
% You are free to copy and redistribute the material in any medium or format. You are free to remix, transform, and build upon the material for any purpose, even commercially. You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits. No warranties are given.

\documentclass[tikz,border=2,preview=true]{standalone}
Expand Down
2 changes: 1 addition & 1 deletion figures/composition.tikz
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%!TEX TS-program = pdflatexmk
%!TEX root = composition.tex

% Copyright 2018 RailToolKit (Attribution 4.0 International, CC-BY 4.0)
% Copyright 2019 Martin Scheidt (Attribution 4.0 International, CC-BY 4.0)
% You are free to copy and redistribute the material in any medium or format. You are free to remix, transform, and build upon the material for any purpose, even commercially. You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits. No warranties are given.

\begin{scope}[>=latex]
Expand Down
Binary file added figures/control_lever.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion figures/control_lever.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%!TEX TS-program = pdflatexmk

% Copyright 2018 RailToolKit (Attribution 4.0 International, CC-BY 4.0)
% Copyright 2019 Martin Scheidt (Attribution 4.0 International, CC-BY 4.0)
% You are free to copy and redistribute the material in any medium or format. You are free to remix, transform, and build upon the material for any purpose, even commercially. You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits. No warranties are given.

\documentclass[tikz,border=2,preview=true]{standalone}
Expand Down
2 changes: 1 addition & 1 deletion figures/control_lever.tikz
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%!TEX TS-program = pdflatexmk
%!TEX root = control_lever.tex

% Copyright 2018 RailToolKit (Attribution 4.0 International, CC-BY 4.0)
% Copyright 2019 Martin Scheidt (Attribution 4.0 International, CC-BY 4.0)
% You are free to copy and redistribute the material in any medium or format. You are free to remix, transform, and build upon the material for any purpose, even commercially. You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits. No warranties are given.

\begin{scope}
Expand Down
Binary file added figures/initial_setup.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion figures/initial_setup.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%!TEX TS-program = pdflatexmk

% Copyright 2018 RailToolKit (Attribution 4.0 International, CC-BY 4.0)
% Copyright 2019 Martin Scheidt (Attribution 4.0 International, CC-BY 4.0)
% You are free to copy and redistribute the material in any medium or format. You are free to remix, transform, and build upon the material for any purpose, even commercially. You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits. No warranties are given.

\documentclass[tikz,border=2,preview=true]{standalone}
Expand Down
2 changes: 1 addition & 1 deletion figures/initial_setup.tikz
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%!TEX TS-program = pdflatexmk
%!TEX root = initial_setup.tex

% Copyright 2018 RailToolKit (Attribution 4.0 International, CC-BY 4.0)
% Copyright 2019 Martin Scheidt (Attribution 4.0 International, CC-BY 4.0)
% You are free to copy and redistribute the material in any medium or format. You are free to remix, transform, and build upon the material for any purpose, even commercially. You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits. No warranties are given.

\begin{scope}[>=latex]
Expand Down
2 changes: 1 addition & 1 deletion figures/movement_example1.tikz
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%!TEX TS-program = pdflatexmk

% Copyright 2018 RailToolKit (Attribution 4.0 International, CC-BY 4.0)
% Copyright 2019 Martin Scheidt (Attribution 4.0 International, CC-BY 4.0)
% You are free to copy and redistribute the material in any medium or format. You are free to remix, transform, and build upon the material for any purpose, even commercially. You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits. No warranties are given.

\begin{scope}
Expand Down
2 changes: 1 addition & 1 deletion figures/movement_example2.tikz
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%!TEX TS-program = pdflatexmk

% Copyright 2018 RailToolKit (Attribution 4.0 International, CC-BY 4.0)
% Copyright 2019 Martin Scheidt (Attribution 4.0 International, CC-BY 4.0)
% You are free to copy and redistribute the material in any medium or format. You are free to remix, transform, and build upon the material for any purpose, even commercially. You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits. No warranties are given.

\begin{scope}
Expand Down
2 changes: 1 addition & 1 deletion figures/movement_example3.tikz
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%!TEX TS-program = pdflatexmk

% Copyright 2018 RailToolKit (Attribution 4.0 International, CC-BY 4.0)
% Copyright 2019 Martin Scheidt (Attribution 4.0 International, CC-BY 4.0)
% You are free to copy and redistribute the material in any medium or format. You are free to remix, transform, and build upon the material for any purpose, even commercially. You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits. No warranties are given.

\begin{scope}
Expand Down
2 changes: 1 addition & 1 deletion figures/movement_example4.tikz
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%!TEX TS-program = pdflatexmk

% Copyright 2018 RailToolKit (Attribution 4.0 International, CC-BY 4.0)
% Copyright 2019 Martin Scheidt (Attribution 4.0 International, CC-BY 4.0)
% You are free to copy and redistribute the material in any medium or format. You are free to remix, transform, and build upon the material for any purpose, even commercially. You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits. No warranties are given.

\begin{scope}
Expand Down
2 changes: 1 addition & 1 deletion figures/movement_example5.tikz
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%!TEX TS-program = pdflatexmk

% Copyright 2018 RailToolKit (Attribution 4.0 International, CC-BY 4.0)
% Copyright 2019 Martin Scheidt (Attribution 4.0 International, CC-BY 4.0)
% You are free to copy and redistribute the material in any medium or format. You are free to remix, transform, and build upon the material for any purpose, even commercially. You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits. No warranties are given.

\begin{scope}
Expand Down
2 changes: 1 addition & 1 deletion frontmatter/copyright.tex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%!TEX TS-program = pdflatexmk
%!TEX root = ../handbook.tex

% Copyright 2018 RailToolKit (Attribution 4.0 International, CC-BY 4.0)
% Copyright 2019 Martin Scheidt (Attribution 4.0 International, CC-BY 4.0)
% You are free to copy and redistribute the material in any medium or format. You are free to remix, transform, and build upon the material for any purpose, even commercially. You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits. No warranties are given.

\vspace*{\fill}
Expand Down
2 changes: 1 addition & 1 deletion frontmatter/preambel.tex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%!TEX TS-program = pdflatexmk
%!TEX root = ../handbook.tex

% Copyright 2018 RailToolKit (Attribution 4.0 International, CC-BY 4.0)
% Copyright 2019 Martin Scheidt (Attribution 4.0 International, CC-BY 4.0)
% You are free to copy and redistribute the material in any medium or format. You are free to remix, transform, and build upon the material for any purpose, even commercially. You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits. No warranties are given.

\chapter*{\IfLanguage{english}{Aim and Materials}\IfLanguage{ngerman}{Ziel und Materialien}}
Expand Down
2 changes: 1 addition & 1 deletion frontmatter/titlepage.tex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%!TEX TS-program = pdflatexmk
%!TEX root = ../handbook.tex

% Copyright 2018 RailToolKit (Attribution 4.0 International, CC-BY 4.0)
% Copyright 2019 Martin Scheidt (Attribution 4.0 International, CC-BY 4.0)
% You are free to copy and redistribute the material in any medium or format. You are free to remix, transform, and build upon the material for any purpose, even commercially. You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits. No warranties are given.

\begin{titlepage}
Expand Down
Binary file modified handbook.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion handbook.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%!TEX TS-program = pdflatexmk

% Copyright 2018 RailToolKit (Attribution 4.0 International, CC-BY 4.0)
% Copyright 2019 Martin Scheidt (Attribution 4.0 International, CC-BY 4.0)
% You are free to copy and redistribute the material in any medium or format. You are free to remix, transform, and build upon the material for any purpose, even commercially. You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits. No warranties are given.

\documentclass[
Expand Down
12 changes: 6 additions & 6 deletions mainmatter/challenges.tex
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
%!TEX TS-program = pdflatexmk
%!TEX root = ../handbook.tex

% Copyright 2018 RailToolKit (Attribution 4.0 International, CC-BY 4.0)
% Copyright 2019 Martin Scheidt (Attribution 4.0 International, CC-BY 4.0)
% You are free to copy and redistribute the material in any medium or format. You are free to remix, transform, and build upon the material for any purpose, even commercially. You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits. No warranties are given.

\part{\IfLanguage{english}{Challenges}\IfLanguage{ngerman}{Aufgaben}}

\chapter{\IfLanguage{english}{First Stage}\IfLanguage{ngerman}{Erste Stufe}}
\section{\IfLanguage{english}{Introduction to Driving Dynamics}\IfLanguage{ngerman}{Einführung Fahrdynamik}}
\setup
\begin{itemize}
\IfLanguage{english}{
\item A single train,
\item Line with fields $-2$ to $36$,
\item Line with fields $-2$ to $39$,
\item Platform A at field $-2$ to $0$,
\item Platform B at field $13$ to $15$,
\item Platform C at field $34$ to $36$.
\item Platform C at field $37$ to $39$.
}
\IfLanguage{ngerman}{
\item ein Zug,
\item Strecke mit Feldern $-2$ bis $36$,
\item Strecke mit Feldern $-2$ bis $39$,
\item Bahnsteig A am Feld $-2$ bis $0$,
\item Bahnsteig B am Feld $13$ bis $15$,
\item Bahnsteig C am Feld $37$ bis $39$.
Expand Down Expand Up @@ -107,7 +107,7 @@ \chapter{\IfLanguage{english}{Second Stage}\IfLanguage{ngerman}{Zweite Stufe}}
\IfLanguage{english}{
\item Two different trains with different train dynamics.
\item A track with at least 3 complete blocks.
\item Am Anfang der Strecke brechen Züge ein. Am Ende der Strecke brechen Züge aus. Die Infrastruktur vor und nach der Strecke wird vernachlässigt.
\item Trains enter the system at the beginning of the track. At the end of the track trains exit the system. The infrastructure before and after the line is neglected.
}
\IfLanguage{ngerman}{
\item Zwei verschiedene Züge mit unterschiedlicher Fahrdynamik.
Expand Down
2 changes: 1 addition & 1 deletion mainmatter/manual.tex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%!TEX TS-program = pdflatexmk
%!TEX root = ../handbook.tex

% Copyright 2018 RailToolKit (Attribution 4.0 International, CC-BY 4.0)
% Copyright 2019 Martin Scheidt (Attribution 4.0 International, CC-BY 4.0)
% You are free to copy and redistribute the material in any medium or format. You are free to remix, transform, and build upon the material for any purpose, even commercially. You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits. No warranties are given.

\part{\IfLanguage{english}{Manual}\IfLanguage{ngerman}{Anleitung}}
Expand Down
File renamed without changes.
14 changes: 7 additions & 7 deletions material/signals.tex → material/block_signals.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%!TEX TS-program = pdflatexmk

% Copyright 2018 RailToolKit (Attribution 4.0 International, CC-BY 4.0)
% Copyright 2019 Martin Scheidt (Attribution 4.0 International, CC-BY 4.0)
% You are free to copy and redistribute the material in any medium or format. You are free to remix, transform, and build upon the material for any purpose, even commercially. You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits. No warranties are given.

\documentclass{beamer}
Expand Down Expand Up @@ -28,7 +28,7 @@
pics/distant_signal_go/.default=signalgreen,
}
\tikzset{
pics/main_signal_go/.style args={#1}{
pics/block_signal_go/.style args={#1}{
code={
\draw[loosely dashdotted] (0,1) -- ( 0,0) -- ++(8,0) -- ++(0,1);
\draw[line width=4pt] (7.5,-0.5) -- ++(1,0);
Expand All @@ -41,7 +41,7 @@
\draw[double] (5.2,-1.5) -- ++(1.6,0);
}
},
pics/main_signal_go/.default=signalgreen,
pics/block_signal_go/.default=signalgreen,
}
\tikzset{
pics/distant_signal_stop/.style args={#1}{
Expand All @@ -57,7 +57,7 @@
pics/distant_signal_stop/.default=signalyellow,
}
\tikzset{
pics/main_signal_stop/.style args={#1}{
pics/block_signal_stop/.style args={#1}{
code={
\draw[loosely dashdotted] (0,1) -- ( 0,0) -- ++(8,0) -- ++(0,1);
\draw[line width=4pt] (7.5,-0.5) -- ++(1,0);
Expand All @@ -70,7 +70,7 @@
\draw[double] (6.0,-0.7) -- ++(0,-1.6);
}
},
pics/main_signal_stop/.default=signalred,
pics/block_signal_stop/.default=signalred,
}

\begin{document}
Expand All @@ -81,7 +81,7 @@
\begin{tikzpicture}[font=\sffamily]
\foreach \x in {0,9.5,19}
\foreach \y in {10,15}
\pic at (\x,\y) {main_signal_go};
\pic at (\x,\y) {block_signal_go};
\foreach \x in {0,9.5,19}
\foreach \y in {0,5}
\pic at (\x,\y) {distant_signal_go};
Expand All @@ -96,7 +96,7 @@
\pic at (\x,\y) {distant_signal_stop};
\foreach \x in {0,9.5,19}
\foreach \y in {0,5}
\pic at (\x,\y) {main_signal_stop};
\pic at (\x,\y) {block_signal_stop};
\end{tikzpicture}
\vfil
\end{frame}
Expand Down
2 changes: 1 addition & 1 deletion material/fast_train.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%!TEX TS-program = pdflatexmk

% Copyright 2018 RailToolKit (Attribution 4.0 International, CC-BY 4.0)
% Copyright 2019 Martin Scheidt (Attribution 4.0 International, CC-BY 4.0)
% You are free to copy and redistribute the material in any medium or format. You are free to remix, transform, and build upon the material for any purpose, even commercially. You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits. No warranties are given.

\documentclass{beamer}
Expand Down
2 changes: 1 addition & 1 deletion material/freight_train.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%!TEX TS-program = pdflatexmk

% Copyright 2018 RailToolKit (Attribution 4.0 International, CC-BY 4.0)
% Copyright 2019 Martin Scheidt (Attribution 4.0 International, CC-BY 4.0)
% You are free to copy and redistribute the material in any medium or format. You are free to remix, transform, and build upon the material for any purpose, even commercially. You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits. No warranties are given.

\documentclass{beamer}
Expand Down
2 changes: 1 addition & 1 deletion material/local_train.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%!TEX TS-program = pdflatexmk

% Copyright 2018 RailToolKit (Attribution 4.0 International, CC-BY 4.0)
% Copyright 2019 Martin Scheidt (Attribution 4.0 International, CC-BY 4.0)
% You are free to copy and redistribute the material in any medium or format. You are free to remix, transform, and build upon the material for any purpose, even commercially. You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits. No warranties are given.

\documentclass{beamer}
Expand Down
2 changes: 1 addition & 1 deletion material/plain_platform.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%!TEX TS-program = pdflatexmk

% Copyright 2018 RailToolKit (Attribution 4.0 International, CC-BY 4.0)
% Copyright 2019 Martin Scheidt (Attribution 4.0 International, CC-BY 4.0)
% You are free to copy and redistribute the material in any medium or format. You are free to remix, transform, and build upon the material for any purpose, even commercially. You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits. No warranties are given.

\documentclass{beamer}
Expand Down
2 changes: 1 addition & 1 deletion material/plain_track.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%!TEX TS-program = pdflatexmk

% Copyright 2018 RailToolKit (Attribution 4.0 International, CC-BY 4.0)
% Copyright 2019 Martin Scheidt (Attribution 4.0 International, CC-BY 4.0)
% You are free to copy and redistribute the material in any medium or format. You are free to remix, transform, and build upon the material for any purpose, even commercially. You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits. No warranties are given.

\documentclass{beamer}
Expand Down
Loading

0 comments on commit b96c618

Please sign in to comment.