Skip to content

MasteredSoftware/Astriarch

Repository files navigation

Astriarch - Ruler of the stars

Astriarch Ruler of the Stars, Space Strategy Game http://www.astriarch.com/

Quickstart

docker-compose up

Then visit the frontend at:

http://localhost:3000

Database only:

docker-compose up -d mongodb

Run Frontend and Backend by navigating to the proper directory and run:

pnpm run dev

then visit http://localhost:5173

E2E Testing

Playwright end-to-end tests live in the frontend workspace and run against a real frontend + backend + MongoDB stack.

Prerequisites:

  • Node.js 18+
  • pnpm install
  • npx playwright install chromium
  • MongoDB running locally (docker-compose up -d mongodb)

Run the suite:

  • pnpm --filter astriarch-frontend test:e2e
  • pnpm --filter astriarch-frontend test:e2e:headed
  • pnpm --filter astriarch-frontend test:e2e:ui

Notes:

  • The Playwright config starts a dedicated test backend on port 8002 and frontend on port 4173.
  • Test cleanup is performed via a test-only backend endpoint (/api/test/cleanup) that is enabled only when NODE_ENV=test.
  • Add new scenarios under apps/astriarch-frontend/e2e/scenarios and reuse fixtures/helpers from apps/astriarch-frontend/e2e/fixtures and apps/astriarch-frontend/e2e/helpers.

Overview

Astriarch - Ruler of the Stars is a real-time, Multi-player Space Strategy Game. Build planetary improvements and star ships to capture planets and defeat your enemies. Your ultimate goal is to become the master of the known universe, and earn the title of Astriarch!

Background

Developed in 2010 by Mastered Software, Astriarch combines aspects of other classic space strategy games such as Master of Orion 2 (MOO2), Stellar Conflict (1987 Amiga), and Star Control.

Currently Astriarch is realeased as a free casual web game.  Planned future enhancements include the ability to research and develop improvements, as well as galaxy special items and events.

The name Astriarch comes from the Ancient Greek words for star (ắstron) and ruler (arkhos)

Credits

Astriarch - Ruler of the Stars, space strategy game designed and developed by Mastered Software, music by Resonant.

License

This version of Astriarch - Ruler of the Stars is released under the MIT License.

About

Astriarch Ruler of the Stars, Multiplayer Space Strategy Game

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors