Uni 1 - RXC Games

News

Dev Log: MOONS Version v1.4 – 13 Aug 2025

On 13. Aug 2025, 22:36:05 by rux

Highlights

New Galaxy/System top bar (pill controls, larger hit-areas, crisp contrast).

Compact Galaxy table with fixed columns + full grid lines (classic OG look), no horizontal scroll, less vertical scroll.

Reliable Bootstrap 5 popovers & tooltips for planet, moon, debris, player, alliance (click-outside to close).

Resources page visual refresh: tight columns, level shown as a badge (Hangar/Shipyard style), better mobile fit.

Login/Register copy & layout pass; MoonsBank blurb added on login; Web3 prerequisites moved to register.

Smart Contract badge now opens BSC testnet in a new tab (target="_blank" rel="noopener").

Mobile: tightened paddings, stable column widths, elements wrap instead of overflowing.

Galaxy / System

Reworked top bar: < • numeric field • > for Galaxy and System + Show button.
34px height, rounded, dark pill styling; keeps existing galaxy_submit() logic.

Galaxy Table

table-layout: fixed + deterministic column widths (Pos, Planet, Moon, Debris, Actions fixed; Name/Player/Alliance elastic with ellipsis).

Full horizontal & vertical borders, hover highlight, reduced row height.

Action icons centered in a compact bar; tooltips on hover/tap.

Popovers & Tooltips (BS5)

Unified init with container: 'body', html: true, sanitize: false (for inline tables/buttons).

Planet/Moon/Debris cards list only available actions (1/3/4/5/6/9/10/17 + Phalanx/Recycle when applicable).

Player/Alliance cards link to Playercard/Stats/Alliance page (+ external web).

Added helpers: closePopovers() and closePopover() and global click-outside handler.

Resources Page

Rebalanced grid: narrower resource columns, compact typography.

Replaced “Level” text with a badge (consistent with Hangar/Shipyard), keeps <select> production controls.

No functional changes to calculations, bonuses, storage, totals.

Login & Register

Login: expanded helper text; MoonsBank explanation (hub smart contract linking profile ↔ wallet; rewards, deposits/withdrawals; future staking/on-chain ID).

Register: Web3 prerequisites (MetaMask/Brave/BSC testnet) moved here; external links open in new tab.

Smart Contract Badge

“MOONSBank Smart Contract” now uses target="_blank" + rel="noopener noreferrer" for safe new-tab behavior.

Performance & Accessibility

Fewer reflows via fixed column layout; popovers rendered at body level to avoid clipping and repaint storms.

Higher contrast headers; larger click targets on controls and icons.

Bug Fixes

Resolved Smarty {literal}/JS quoting issues that caused template parse errors.

Fixed BS5 init so popovers don’t silently fail; prevented multiple open popovers.

Eliminated mobile horizontal scroll on Galaxy and Resources.

Known / Next

Mobile: further tightening for very small screens (<360px) planned.

Optional image-less compact popover variant available (toggled per env/flag).

Upcoming: Fleet table polish and system mini-map experiments.


What is MOONS

On 09. Aug 2025, 20:02:28 by rux

What is MOONS (quickly)

A 4X space strategy (build colonies, research, send fleets) with an on-chain economy. RXCG is the fuel of the ecosystem: you can deposit from your wallet into MoonsBank, use it in-game, and withdraw whenever you want. Player-to-player transfers settle directly on-chain (no hidden backend bookkeeping).
Big UI/UX wave (Uni1)

Fleet Movement (global panel)

Compact glass/neon rows with live countdown chips.

Direction-aware styling: outbound = danger/red, return = calm/teal.

Subtle in-flight spinner; auto-refresh when a timer hits 0.

Fleet Table (page=fleetTable)

Full reskin (contrast, hover states, clear tooltips for missions & cargo).

“Reset / Continue / All ships” are touch-friendly and consistently sized.

Shipyard / Hangar

Hero overlay card above the banner:

Left: ship image + name and available.

Middle: short description + compact resource list (Metal/Crystal/Deut icons).

Right: Time chip on top; Input / Max / Build underneath.

Clicking a tile auto-opens its card and smooth-scrolls to the hero.

New grid: 5×N on desktop, 3×N on mobile; each tile shows the name and an available badge.

Bigger mobile controls; polished queue with spinner + indeterminate bar; auto-refresh when building completes.

Resource icons switched to local WebP.

Buildings

Same overlay concept as Shipyard. Actions: Build and Demolish, aligned with build time and costs.

Energy info & tooltips cleaned up; no duplicate IDs; {literal} wrappers prevent Smarty issues.

Research

Horizontal layout (image | description + costs | actions on the right), long descriptions flow nicely.

Same 5×N / 3×N grid and auto-scroll to hero on click.

Trader — on-chain settlement

transferRXCG now settles fully on-chain between MoonsBank balances.

“Ratio” replaces “Fee” in the UI; calculation: need = amount × ratio (global charge[]).

After on-chain confirmation: explorer link shown; Start Trade hides, Finish Trade appears.

No more post-transaction backend sync.

How to earn RXCG in MOONS

Trading & economy — profit from smart resource trades (ratios), with RXCG moving P2P on-chain.

Missions & seasonal events — P2E loops with RXCG rewards roll out on Uni1 (announced in News as each goes live).

Leaderboards & bounties — periodic rewards for top players and useful community contributions.

We don’t publish sensitive technical details (addresses, ABIs, admin ops) in public News. You always confirm transactions in your wallet and can verify them on a chain explorer.

Quick start (3 steps)

Create an account on Uni1 and connect your wallet.

Deposit RXCG to MoonsBank when you want to participate in the economy; withdrawals are always available.

Play: grow planets, send fleets, trade resources — and watch News for live P2E tasks and seasonal rewards.

Stability & security

Timers and states hardened against edge cases; tooltips and IDs normalized.

Inline CSS/JS wrapped in {literal} to keep Smarty from breaking @keyframes and braces.

All RXCG transfers are on-chain; we never ask for seed phrases or private keys.

What’s next

Gradual rollout of P2E missions with automatic reward distribution.

More mobile QoL (bigger tap targets, gestures) + richer economy charts.


Dev Log: MOONS Version v1.3 – 08 Aug 2025

On 08. Aug 2025, 23:04:29 by rux

Fleet Movement (global panel):
- New glass UI with compact rows and live countdown chips.
- Direction-aware styling: outbound = red; return = teal.
- Subtle spinner while fleets are in-flight.
- Auto-refresh when a countdown hits 0.
- Expand/collapse state persists via fleetTableSettings (AJAX).
- Fixed rare "state" notices after sending fleets.

Fleet Table (page=fleetTable):
- Full re-skin (neon/glass), better contrast and hover states.
- Cleaner tooltips for missions and cargo payloads.
- Buttons sized for touch: Reset / Continue / All ships.
- Mobile layout groundwork in place.

Shipyard / Hangar (page=shipyard):
- Hero overlay card over banner: image+name+available on left,
description + compact resource list in middle,
time chip + input/Max/Build on right.
- Clicking a tile below auto-opens the card and scrolls to it.
- New tiles grid: 5 per row desktop, 3 per row mobile; each shows name and count.
- Larger inputs and buttons on mobile.
- Build queue polish: spinner + indeterminate bar; auto-refresh on finish.
- Resource icons switched to local WebP (Metal/Crystal/Deut).

Template / Tech:
- Wrapped inline CSS/JS with {literal} for Smarty.
- Normalized IDs and data attributes for timers.
- Safer fallbacks for tooltips and mission state.

Copy / UX:
- MOONS naming cleaned up; labels and tooltips tightened.
- Visual refresh only; gameplay logic unchanged.