npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

starshyp-game

v1.0.43

Published

WWW III Martians and Humans Starshyp battle game engine

Downloads

17

Readme

WWW III Martians and Humans

It is year 2081. Martian base that was founded in 2035 has extended and evolved into whole Mars population with support of terraforming techniques. In 2079 an unknown virus has stroke the population of Mars and resulted in a major economic downturn. People on Mars rioted. Starships from Earth were sent to support and protect local government. When the Earth deputy governor was assasinated, Mars proclaimed indenpendence. That's how the World War III between Earth and Mars has started...

So you are a captain on one of the ships - either of the Earth Ist Fleet or the Mars Freedom Army. Complete your ship and your crew and go for battle.

Way of Bushido - Battle system

Battle system is turn based.

Each turn both player select on of three available tactics or chooses to retreat. Tactics influence ship's win chances. Each turn one of the units that participate in battle is selected as the attacker, according to unit maneuverability. Attacker has a slight strength bonus against the defender.

Vessel equipment influences ship's core attributes (strength, maneuver, energy, shields).

Ship's strength is limited when damages are inflicted.

Result of turn is calculated, hit points are decreased and next turn is started.

The battle ends when one of the players retreats or looses his ship due to casualties.

Battle tactics

Each turn players choose their tactics for the turn. Player should choose carefully, taking into consideration enemy player previous tactics and both ships' state. Player gets battle bonus for choosing tactic that is superior to the tactic played by the opponent.

Following tactics can be selected by player |Tactics|Vulnerable to|Superior to| |:--|:--|:--| |Long range assault|Surprise assault|Short range assault| |Short range assault|Long range assault|Surprise assault| |Surprise assault|Short range assault|Long range assault| |Retreat|All tactics|None|

Damages

During battle ships incur damage from battle. Each damage results in a lost of ship's hit points. Each damage also poses a risk of damageing one of the equipments installed on the ship.

When equipment is damaged it's bonuses do not apply and it does not consume ship's energy.

Risk of being damaged is greater in some parts of the ship's hull than others. Player needs to choose equipment location carefully, in order to avoid risk of damage.

When energy equipment is damaged it may lead to an energy shortage. When on energy shortage ship's equipment bonuses incur penalty. The bigger the shortage the larger the penalty.

Initiative

Initiative is checked each turn. Ship's maneuverability increses ship initiative which may result in having the attacker role in a current turn. Being an attacker gives the unit strength bonus in the current turn.

Ship Yard

In ship yard each player can create and customize starship.

Hull classes

Starship creation starts with selection of hull class. Each hull class is described by following properties

  • capacity that describes the size of the hull and number of free slots to be populated with starship equipment
  • base strength which is used when fighting. Base strength can be modified by fight tactics and starship Weapon equipment.
  • base energy that describes energy capacity of the starship. Each equipment element requires certain amount of energy so there is a limit on which elements may be placed in ship. Energy can be increased by placing PowerSource equipment
  • maneuver increases vessel chance of taking initiative during battle. Can be increased by the BridgeSystem equipment

|Class|Capacity|Base strength|Base energy| | :--- | :--- | :--- | :--- | |Interceptor|3|10|10| |Fighter|4|20|14| |Corvette|6|36|22| |Destroyer|10|54|38| |Cruiser|15|70|52| |Battleship|20|90|68| |||||

Ship's Hit Points

Each starship regardless of its hull type has 10 HP. During fight the ship may be damaged. Damaged ship has reduced strength. When there are no more hit points the starship is destroyed.

Equipment

Each starship can be customized by placing different type of equipment. Once placed equipment cant be modified. Each equipment consumes one slot, requires certain amount of energy. Following types of equipment are available: |Kind|Game Effects| | :--- | :--- | | Weapon Systems | adds strength to ship, uses 1 slot, consumes energy | | Power Source | adds energy to ship, uses 1 slot, does not consume energy | | Shields | reduces damage to ship, uses 1 slot, consumes energy | | Bridge Systems | increases maneuverability, uses 1 slot, consumes energy |

⚔️ Weapon Systems

Weapon systems increase vessel strength.

|Code| Name | Characteristics | Energy consumption | Capacity usage| | :--- | :--- | :--- | :--- | :--- | |W_FCT| Fusion Chain Turrets | +8 strength | 5 | 1| |W_PTO| Plasma Torpedos | +13 strength | 6 | 1| ||||||

🛡️ Shields

Power sources increase energy.

|Code| Name | Characteristics | Energy consumption | Capacity usage| | :--- | :--- | :--- | :--- | :--- | |S_360| 360 Shield | -3 unit's damage | 5 | 1| ||||||

☢️ Power Source

Power sources increases energy.

|Code| Name | Characteristics | Energy consumption | Capacity usage| | :--- | :--- | :--- | :--- | :--- | |P_FC| Fusion Cell | +3 energy | 1 | 1| ||||||

📟 Bridge Systems

Bridge systems increase maneuverability.

|Code| Name | Characteristics | Energy consumption | Capacity usage| | :--- | :--- | :--- | :--- | :--- | |B_MII| Mark II Nav Computer | +1 maneuverability | 1 | 1| ||||||