Coder Social home page Coder Social logo

totalhost's Introduction

TotalHost

Stars! TotalHost Web-based Turn Management

Stars! (https://en.wikipedia.org/wiki/Stars!) is a classic, turn-based, space-based 4X game, written for Windows, and originally designed to play hotseat or PBEM.

TotalHost (TH), much like AutoHost, is a web-based interface for Stars! game and turn-management. TH builds off the concept of AutoHost, but adds a number of features such as:

  • Web-based game creation
  • More options for host, player and game management & turn generation
  • A player-pause system, permitting regulation of player pauses, much like timeouts in sports
  • Configurable player inactivation (and setting to Housekeeping AI)
  • The ability to download the game history (to better recreate the .H file, view in retrospect, and/or recover from system failure)
  • Storage and viewing of race files
  • The ability to reset a dropped player's Stars! password
  • Detecting some of the common Stars! code bugs, and warning (or even correcting) for them
  • Cleaning/Removing information about other players stored in the turn files
  • Creating a serial number for every user profile

There are also standalone utilities (generally named stars*.pl) for resetting a password, viewing race, fleet and ship design information, extracting player messages in .X|.M files, creating movies from completed games, graphing resources, and the ability to clean some of the shared data from individual player .M files, fixing known Stars! bugs, and changing AI status. These are/were developed generally as precursors to adding functionality to TotalHost.

For simplicity, the entire implementation is on a Windows VM running Apache, and ODBC calls to an Access database. The entire implementation is in Perl (except some Java for the movie-generating code).

I began this project 20+ years ago as stop-and-start work, and I'm not a programmer. The code therefore has different coding styles and methodologies. The Stars! community has historically been very closed-source, primarily due to trying to protect the encryption model and prevent hacking the game. This in turn has stifled development of tools and utilities. Towards that end, I'm open-sourcing TotalHost, warts and all.

TBD: While the core code already exists as standalone modules, I'd like to integrate movie and graph creation into the web interface.

If I ever get really motivated, I'll separate the code base into the web front end running on a Linux box with MariaDB, and a backend running Windows (to run the Stars! exe).

totalhost's People

Contributors

dnnrly avatar ricks03 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.