const preact = require('preact'); const SOURCE_DURATION_MS = 1000; const TARGET_DELAY_MS = 500; const TARGET_DURATION_MS = 1500; const POST_SKILL_DURATION_MS = 1000; const SOURCE_AND_TARGET_TOTAL_DURATION = TARGET_DELAY_MS + TARGET_DURATION_MS; module.exports = { TIMES: { SOURCE_DURATION_MS, TARGET_DELAY_MS, TARGET_DURATION_MS, POST_SKILL_DURATION_MS, SOURCE_AND_TARGET_TOTAL_DURATION, }, COLOURS: { GREEN: '#1FF01F', RED: '#a52a2a', BLUE: '#3050f8', WHITE: '#f5f5f5', // whitesmoke PURPLE: '#9355b5', // 6lack - that far cover }, INFO: { vbox: { item: 'VBOX', description:

ITEMS that are available to buy.
The VBOX is refilled every round.
Click REFILL at the bottom to purchase a refill.

, }, inventory: { item: 'INVENTORY', description:

Holds ITEMS
ITEMS carry over each round.

, }, bits: { item: 'BITS', description: 'The VBOX currency.\nColours: 1b\nSkills: 2b\nSpecs: 3b\nAt the beginning of a round you receive 12 + 6 * round_number bits.', }, ready: { item: 'READY', description: 'Ends the VBOX PHASE. If your opponent is also ready the GAME PHASE begins.', }, lobbyReady: { item: 'READY', description: 'Ready for the game to begin. When all players are ready the first VBOX PHASE begins.', }, reclaim: { item: 'RECLAIM', description: 'Reclaim ITEMS for half the purchase cost of their combined ITEMS.\nClick to enable and click ITEM to reclaim.', }, refine: { item: 'COMBINE', description:

combine the selected items.
hover over an item to see RECIPES.

, }, refill: { item: 'REFILL', description: 'Refill the VBOX with new items.', }, equipSkills: { item: 'QUICK ACCESS - SKILLS', description: 'Click to select \nClick target CONSTRUCT to equip', }, equipSpecs: { item: 'QUICK ACCESS - SPECS', description: 'Click to select \nClick target CONSTRUCT to equip', }, constructSkills: { item: 'SKILLS', description: 'Skills are used by Constructs in-game.\nClick a SKILL above and select a CONSTRUCT to equip.\nDouble-click to unequip.', }, constructSpecs: { item: 'SPECS', description: 'SPECS increase the STATS of a CONSTRUCT.\nSPECS have increased effect once they reach a THRESHOLD across your whole team.\nClick a SPEC above and select a CONSTRUCT to equip.\nDouble-click to unequip.', }, powerStat: { item: 'POWER', description: 'Power determines the base damage and healing of your construct skills. Combine POWER specs to increase construct power.', }, lifeStat: { item: 'LIFE', description: 'The life of your construct.\n When your construct reaches 0 green life it is knocked out and cannot cast skills.\nRed life mitigates red damage and blue life mitigates blue damage. Combine LIFE specs to increase life totals.', }, speedStat: { item: 'SPEED', description: 'Speed determines the order in which skills resolve. Combine SPEED specs to increase speed.', }, }, };