-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.Rmd
73 lines (61 loc) · 2.52 KB
/
index.Rmd
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
---
title : Artemis War 2015
subtitle : Visualising War Points
author :
job :
framework : io2012 # {io2012, html5slides, shower, dzslides, ...}
highlighter : highlight.js # {highlight.js, prettify, highlight}
hitheme : tomorrow #
widgets : [] # {mathjax, quiz, bootstrap}
mode : selfcontained # {standalone, draft}
knit : slidify::knit2slides
---
```{r echo=FALSE}
# Ensure the following is wide enough for slide output.
options(knitr.package.width=80)
```
### Pardus, War and War Points
* Pardus: a graphical Massive Multiplayer Online Browser Game
* Set in a futuristic universe where all players pilot a space ship
* Players of three factions strive to gain wealth and fame
* Various professions: traders, fighters, pirates, smugglers, other...
#### 2015: War in the Artemis Universe
* September 2015: War breaks out between the Federation and the Union
* October 2015: The Empire declares war on the Federation in response
#### Faction members earn war points for their heroic actions
* Q. How to track the three factions' progress during the two concurrent wars?
---
#### Data Gathering
* Data screen-scraped from the game's web pages
```{r echo=FALSE}
load('FederationEmpireWar.Rda')
tail(fe, n=4)
```
```{r 'FedEmpWarPoints', echo=FALSE, fig.width=4, fig.height=4}
source('../../Shiny/ShinyApps.io/ArtemisWar2015/plotter.R')
plotAttribute_base(fe,
attribute = 'Points',
title ='Federation vs Empire',
dateRange = c(as.Date('2015-10-18'), as.Date('2015-10-27')),
plotOptions = c('SP'),
dataSet = 'RAW',
loess_span = 0.85)
```
* Started off with one-off graph plots, then evolved into...
---
#### Shiny Application
![Image of Shiny Application](assets/img/shinyapp.png)
---
#### Rounding Off
* Simple plots evolved into more complex plots
* War points often required breakdown by category (kills, missions, sectors captured)
* Gathered data used to derive trend lines
* Daily differences visualised to establish which faction has the momentum
* Shiny enlisted to turn these requirements into a web application
* Interactive plots
* Clearer progress analysis
* Aid to strategic planning
* Hours of fun
* Try the application out at [Shinyapps.io](https://jdirrhind.shinyapps.io/ArtemisWar2015)
* View the source code on [GitHub](https://github.com/jdirrhind/ArtemisWar2015)
* This presentation built using [Slidify](http://slidify.org). Thanks for reviewing!