You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4a86b9d
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/space-walking.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ Data is saved to `SpaceWalkingScores.csv`, with one row per played game. Values
39
39
-`endTime`: the game end time in format HH:MM:ss (local time - see startTime description)
40
40
-`gameCompleted`: whether this game was completed. If they exited early, this will be false.
41
41
-`timeLimitSeconds`: the time limit set for this game in seconds
42
-
-`gameDurationSeconds`: how long the game was played in seconds. If the game was played through to completion this will be equal to timeLimitSeconds; if they exited early, it will be less.
42
+
-`gameDurationSeconds`: how long the game was played (rounded to the nearest second). If the game was played through to completion this will be equal to timeLimitSeconds; if they exited early, it will be less.
43
43
-`nCompleteSteps`: number of completed steps during this game. One complete step = a step out and back to the centre.
44
44
-`headTurnsActive`: whether head turn arrows were active for this game (only active at highest difficulty level)
45
45
-`nCompleteHeadTurns`: number of completed head turns (will be 0 if `headTurnsActive` is false)
Copy file name to clipboardExpand all lines: docs/star-collector.md
+31-2Lines changed: 31 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,17 +5,46 @@ top of the screen.
5
5
6
6
## Main objects / values to edit during play testing
7
7
8
-
-**StarCollectorManager**: values related to the overall win condition of the game
8
+
-**StarCollectorManager**: values related to the overall win condition of the game, and head speed save data
9
9
- Min / max time limit in seconds
10
10
- Time limit increment in seconds (if time limit upgrade % is met)
11
11
- Number of games in a row that must meet the upgrade % to increase the time limit
12
12
- The length of the time window used to evaluate player performance
13
13
- The % of stars that must be collected to increase speed or time limit
14
+
- The maximum number of head yaw readings to keep in the buffer at one time (these are used for the head speed save data)
15
+
- The minimum number of head yaw readings needed to calculate a head speed
16
+
- The number of seconds to calculate head yaw speed over
14
17
15
18
-**StarGenerator**: values related to generation of the wave of stars
16
19
- Min, max and base star speed
17
20
- The amount the star speed increases per upgrade
18
21
- Shape of the wave (e.g. width, swerve, star sampling)
19
22
20
23
-**Ship**: values related to ship movement
21
-
- The amount the ship moves per degree of head movement (X By Degrees)
24
+
- The amount the ship moves per degree of head movement (X By Degrees)
25
+
26
+
## Save data
27
+
28
+
Data is saved to `StarCollectorScores.csv`, with one row per played game. Values are:
29
+
30
+
-`gameNumber`: a unique id per played star collector game
31
+
-`sessionNumber`: the session this game was played in (corresponds to sessionNumber in [`SessionSummary.csv`](./session-summary.md))
32
+
-`date`: the date of the game session in format YYYY-MM-DD
33
+
-`startTime`: the game start time in format HH:MM:ss. This is the local time (e.g. if your computer is set to UK time - this is UK time).
34
+
-`endTime`: the game end time in format HH:MM:ss (local time - see startTime description)
35
+
-`gameCompleted`: whether this game was completed. If they exited early, this will be false.
36
+
-`timeLimitSeconds`: the time limit set for this game in seconds
37
+
-`gameDurationSeconds`: how long the game was played (rounded to the nearest second). If the game was played through to completion this will be equal to timeLimitSeconds; if they exited early, it will be less.
38
+
-`nStarsCollected`: the number of stars collected during the game
39
+
-`percentStarsCollected`: the percent of all stars collected during the game, rounded to 2 decimal places.
40
+
-`adaptiveLevel`: an integer (1 or above) representing the current difficulty level. Every time the game time limit is increased, this level increases by one.
41
+
-`finalStarFallSpeed`: Speed of falling stars (unity units per second) at the end of the game.
42
+
43
+
**Note**: all head speed measures below are calculated as follows. Every `samplingIntervalSeconds` (a configurable parameter in `StarCollectorManager`), the absolute differences of head yaw angle between consecutive readings in the time period are summed together and divided by the total difference in time to give a speed in degrees per second.
44
+
If the player goes out of range at any point in those `samplingIntervalSeconds` (i.e. the tracker can no longer detect them), then that speed measurement is discarded.
45
+
46
+
At the end of the game, all sampled speed measurements are used to calculate the summary statistics below:
47
+
48
+
-`headSpeedDegPerSecMean`: Mean head yaw speed (left-right rotation) measured in degrees per second. Rounded to 2 decimal places.
49
+
-`headSpeedDegPerSecPeak`: Peak head yaw speed (left-right rotation) measured in degrees per second. Rounded to 2 decimal places.
50
+
-`headSpeedDegPerSecSD`: Standard deviation of head yaw speed (left-right rotation) measured in degrees per second. Rounded to 2 decimal places.
Copy file name to clipboardExpand all lines: docs/star-seek.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,6 @@ Data is saved to `StarSeekScores.csv`, with one row per played game. Values are:
32
32
-`endTime`: the game end time in format HH:MM:ss (local time - see startTime description)
33
33
-`gameCompleted`: whether this game was completed. If they exited early, this will be false.
34
34
-`timeLimitSeconds`: the time limit set for this game in seconds
35
-
-`gameDurationSeconds`: how long the game was played in seconds. If the game was played through to completion this will be equal to timeLimitSeconds; if they exited early, it will be less.
35
+
-`gameDurationSeconds`: how long the game was played (rounded to the nearest second). If the game was played through to completion this will be equal to timeLimitSeconds; if they exited early, it will be less.
36
36
-`nStarsCollected`: the number of stars collected during the game
37
37
-`adaptiveLevel`: an integer (1 or above) representing the current difficulty level. Every time the time limit is increased, this level increases by one.
0 commit comments