Voidfront Realms Elite is a web-based science fiction strategy game inspired by classic BBS door games like Solar Realms Elite. Players manage their own space empire, starting with a single star system and expanding across the galaxy through resource management, technological research, and strategic decision-making.
In Voidfront Realms Elite, you take on the role of an empire leader in a vast, mysterious universe. Your journey begins with a single star system, and through careful management of resources, strategic expansion, and diplomatic relations, you'll build a thriving interstellar civilization.
Key features include:
- Empire Management: Govern your empire's resources, taxation, and growth strategy
- Star System Control: Administer and develop different types of star systems
- Population Growth: Watch your empire grow based on your tax policies and system types
- Economic Strategy: Balance taxation and population growth to maximize your empire's potential
- Scheduled Maintenance: Experience daily empire maintenance cycles that update your resources
- Framework: Ruby on Rails 7.1+
- Testing: RSpec with feature tests, model tests, and job tests
- Styling: TailwindCSS with a custom space-themed color palette
- Database: SQLite
- Authentication: Custom implementation using BCrypt (no Devise)
- Background Jobs: Sidekiq with sidekiq-scheduler for maintenance tasks
- Ruby Version: 3.2.2
- Ruby 3.2.2
- Redis (for Sidekiq)
- Node.js and Yarn (for TailwindCSS)
- Clone the repository
git clone https://github.com/your-username/voidfront.git
cd voidfront- Install dependencies
bundle install
yarn install- Set up the database
bin/rails db:create db:migrate- Start the server, worker, and CSS compiler
bin/devThe application will be available at http://localhost:3000
Run the test suite with:
bundle exec rspecCheck test coverage with SimpleCov (results in coverage/ directory):
COVERAGE=true bundle exec rspec- Each player controls one empire with its own resources (credits, minerals, energy, food)
- Tax policies affect population growth and revenue
- Daily maintenance cycles update your empire's resources and population
- Different system types (terrestrial, ocean, desert, tundra, gas_giant, asteroid_belt) have unique properties
- Population growth varies by system type and is affected by tax rates
- Systems have maximum population and building capacity limits
- Credits: Generated through taxation
- Minerals, Energy, Food: Base resources for building and maintenance
This project follows Test-Driven Development (TDD) principles:
- Write tests first (feature tests and model tests)
- Implement the minimum code required to pass those tests
- Refactor for improved design
The application is built with a clean, modular architecture:
- Models: Core domain objects (User, Empire, StarSystem)
- Services: Encapsulated business logic (EmpireBuilderService)
- Jobs: Background processing (MaintenanceJob, ScheduleMaintenanceJob)
- Controllers: Minimal request handling with business logic in services
Voidfront Realms Elite is currently under active development. Core gameplay systems including user authentication, empire management, and star system management are functional. Future updates will include ship building, research, exploration, and more advanced gameplay features.