Skip to content
Snippets Groups Projects
Commit c3a3406a authored by Piers Williams's avatar Piers Williams
Browse files

Added exercise on entropy

parent e0bf5ec4
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -31,6 +31,7 @@
"name": "Tuesday PM",
"topic": "Game Design Hack",
"links": {
"exercise": "slides_pdf/code/Entropy.java",
"code": "https://git.fossgalaxy.com/ce810/module-game",
"lab-hack": "GEN"
}
......
public class Entropy{
public static void main(String[] args){
int[][] loc = {
{2, 5, 0, 0, 2, 0, 3, 4},
{4, 5, 0, 7, 8, 9, 0, 1},
{3, 0, 5, 6, 3, 0, 2, 3},
};
\\ Calculate Entropy here:
System.out.println("Hello, World");
}
}
......@@ -175,6 +175,12 @@
\note{\end{itemize}}
\end{frame}
\begin{frame}{A Game Example}
\begin{block}{Exercise}
Now you try - in Java. Download the \href{ce810.fosslab.uk/slides_pdf/code/Entropy.java}{here} and calculate the entropy
\end{block}
\end{frame}
%% METRICS
% Simon's raw vs computed metrics.
......
......@@ -7,38 +7,48 @@
\titlepage
\end{frame}
\begin{frame}{Early Procedural Generation}
\begin{center}
\begin{chronology}[5]{1974}{2000}{55ex}[\textwidth]
\event{1978}{Beneath Apple Manor}
\event{1980}{Rogue}
\event{1984}{Elite}
\event{1991}{Civilization}
\event{1996}{Diablo}
\event{1998}{F-Zero X}
\end{chronology}
\end{center}
\note{
\begin{description}
\item[BeneathAppleManor]{First Roguelike}
\item[Rogue]{Dungeon generation}
\item[Elite]{Galaxy generation}
\item[Civilization]{4X TBS Map Generation}
\item[F-Zero X]{Racing track generation}
\end{description}
}
\end{frame}
\begin{frame}{History of Procedural Generation}
\note{\begin{itemize}}
\begin{center}
\begin{chronology}[5]{1995}{2015}{55ex}[\textwidth]
\uncover<1->{
%\event{1980}{Rogue}
%\event{1984}{Elite}
%\event{1991}{Civilization}
\event{1996}{Diablo}
}
\uncover<2->{
\event{2001}{Runescape}
\event{2006}{Dwarf Fortress}
\event{\decimaldate{01}{01}{2008}}{Spore}
\event{2009}{Borderlands}
\event{2011}{Minecraft}
\event{\decimaldate{25}{12}{2013}}{Papers, Please}
}
\begin{chronology}[5]{1999}{2015}{55ex}[\textwidth]
\event{2001}{Runescape}
\event{2006}{Dwarf Fortress}
\event{\decimaldate{01}{01}{2008}}{Spore}
\event{2009}{Borderlands}
\event{2011}{Minecraft}
\event{\decimaldate{25}{12}{2013}}{Papers, Please}
\end{chronology}
\end{center}
\note{\item Procedural Generation used to be used due to space constraints}
\note{\item Nowadays it tends to be to provide more content}
\uncover<3->{One of the most common uses for procedural generation is levels}
\uncover<2->{One of the most common uses for procedural generation is levels}
\note{\item The games used PCG for:}
\note{\begin{description}
%\item[Rogue]{Dungeon design}
%\item[Elite]{Galaxies}
\item[Civilization]{Map Generation}
\item[Diablo]{Dungeons}
\item[Runescape]{Dungeons}
\item[Dwarf Fortress]{Everything}
%\item[Spelunky]{Levels}
\item[Spore]{Music, Animation, and World}
\item[Borderlands]{Guns from loot}
\item[Minecraft]{Environment}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment