mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 17:40:46 -04:00
descripting
This commit is contained in:
@@ -300,7 +300,7 @@ function getPublicState(rawState, context = {}) {
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
id: GAME_ID,
|
id: GAME_ID,
|
||||||
title: 'Scan quest',
|
title: 'Scan quest',
|
||||||
description: 'Scan one or two requested objects in order.',
|
description: 'Scan requested objects for points.',
|
||||||
themeColor: { r: 255, g: 150, b: 252 },
|
themeColor: { r: 255, g: 150, b: 252 },
|
||||||
createInitialState,
|
createInitialState,
|
||||||
normalizeState,
|
normalizeState,
|
||||||
|
|||||||
@@ -304,7 +304,7 @@ function getPublicState(rawState, context = {}) {
|
|||||||
: null,
|
: null,
|
||||||
stats: [
|
stats: [
|
||||||
{ label: 'Scans', value: state.scans.length },
|
{ label: 'Scans', value: state.scans.length },
|
||||||
{ label: 'Live rate', value: Number(currentRate).toFixed(2) },
|
{ label: 'Live scan rate', value: Number(currentRate).toFixed(2) },
|
||||||
{ label: 'World record', value: worldRecordText },
|
{ label: 'World record', value: worldRecordText },
|
||||||
],
|
],
|
||||||
results: state.recentRounds.slice(0, 3).map((round) => ({
|
results: state.recentRounds.slice(0, 3).map((round) => ({
|
||||||
@@ -318,7 +318,7 @@ function getPublicState(rawState, context = {}) {
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
id: GAME_ID,
|
id: GAME_ID,
|
||||||
title: 'Scans per second',
|
title: 'Scans per second',
|
||||||
description: 'Count every scan for five minutes and save the world record.',
|
description: 'Count every scan for five minutes, beat the world record of scans per second.',
|
||||||
themeColor: { r: 72, g: 245, b: 66 },
|
themeColor: { r: 72, g: 245, b: 66 },
|
||||||
createInitialState,
|
createInitialState,
|
||||||
normalizeState,
|
normalizeState,
|
||||||
|
|||||||
Reference in New Issue
Block a user