Skip to content

Commit

Permalink
Formatting run
Browse files Browse the repository at this point in the history
  • Loading branch information
Perlkonig committed Sep 24, 2024
1 parent 3777107 commit 867c852
Show file tree
Hide file tree
Showing 59 changed files with 14,191 additions and 5,115 deletions.
6 changes: 3 additions & 3 deletions .mocharc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"extensions": ["ts"],
"spec": ["tests/**/*.test.*"],
"node-option": [
"experimental-specifier-resolution=node",
"loader=ts-node/esm"
"experimental-specifier-resolution=node",
"loader=ts-node/esm"
]
}
}
2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"recommendations": ["svelte.svelte-vscode"]
"recommendations": ["svelte.svelte-vscode"]
}
142 changes: 71 additions & 71 deletions CHANGELOG.md

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ You can play with the tool at <https://www.perlkonig.com/ftShipBuilder>. Everyth

If you want to host it yourself, download the latest ZIP file from the Releases and put the files wherever you want.

This builder follows [the *Continuum* ruleset](https://emeraldcoastskunkworks.wordpress.com/category/project-continum-rules/). But the rules are not wholly unambiguous. Some tweaks have been made.
This builder follows [the _Continuum_ ruleset](https://emeraldcoastskunkworks.wordpress.com/category/project-continum-rules/). But the rules are not wholly unambiguous. Some tweaks have been made.

* Gunboats are not supported at all, and I don't know they ever will be.
* Turrets are implemented, but the rules are not clear, so I had to make some calls. You can have multiple arcs open on a turret, but they must be contiguous. Weapons have to be manually placed inside the turret graphic. Lines are drawn to help you.
- Gunboats are not supported at all, and I don't know they ever will be.
- Turrets are implemented, but the rules are not clear, so I had to make some calls. You can have multiple arcs open on a turret, but they must be contiguous. Weapons have to be manually placed inside the turret graphic. Lines are drawn to help you.

This site is built on the [Svelte framework](https://svelte.dev/), using the [Bulma CSS library](https://bulma.io/) and good ol' [scalable vector graphics (SVG)](https://www.w3.org/Graphics/SVG/) for the SSD.

Expand All @@ -17,10 +17,10 @@ I believe in the "value for value" model. If you find this tool valuable, consid

If you want to contribute to the code, here's how to get the development environment up and running:

* Install [NodeJS](https://nodejs.org).
* Clone the repo.
* From the newly cloned folder, type `npm i` to install all the dependencies.
* Then type `npm run dev` to start up the dev server.
- Install [NodeJS](https://nodejs.org).
- Clone the repo.
- From the newly cloned folder, type `npm i` to install all the dependencies.
- Then type `npm run dev` to start up the dev server.

Ideally you'd submit any changes via pull request, but if you wanted to just host your own instance, run `npm run build` and then move everything in the `dist` folder to some host somewhere.

Expand Down
32 changes: 19 additions & 13 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Full Thrust – Ship Builder</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css">
<script src="https://kit.fontawesome.com/d2be2c177c.js" crossorigin="anonymous"></script>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Full Thrust – Ship Builder</title>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css"
/>
<script
src="https://kit.fontawesome.com/d2be2c177c.js"
crossorigin="anonymous"
></script>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>
Loading

0 comments on commit 867c852

Please sign in to comment.