Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solo Helper App #1

Merged
merged 40 commits into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
0fe74b7
initial app structure
stefanseifert Oct 19, 2024
a4faaf6
remove obsolete file
stefanseifert Oct 19, 2024
5f98333
difficulty level
stefanseifert Oct 19, 2024
7f10f59
cards
stefanseifert Oct 19, 2024
c082ab3
card deck
stefanseifert Oct 19, 2024
8c92d80
scoring tiles
stefanseifert Oct 19, 2024
bff6e2b
assets
stefanseifert Oct 19, 2024
69ec391
assets
stefanseifert Oct 19, 2024
b061aac
scoring tile randomizer
stefanseifert Oct 19, 2024
8a3a9d6
bot setup
stefanseifert Oct 19, 2024
a407946
navigation state
stefanseifert Oct 19, 2024
d807a35
navigation
stefanseifert Oct 19, 2024
20398ab
round start
stefanseifert Oct 19, 2024
6654330
round end
stefanseifert Oct 19, 2024
ab267e6
add unit tests
stefanseifert Oct 19, 2024
a08fd68
bot actions
stefanseifert Oct 19, 2024
82e7b54
debug info
stefanseifert Oct 19, 2024
4568919
reset, resource count
stefanseifert Oct 19, 2024
964d6b5
remove attribute/income chip
stefanseifert Oct 19, 2024
1c3178f
improve error message, initialize scoring tiles by default
stefanseifert Oct 19, 2024
12dcfff
fix evolution/prosperity count when switching back
stefanseifert Oct 19, 2024
7ce17aa
assets
stefanseifert Oct 20, 2024
dc68579
reset
stefanseifert Oct 20, 2024
848e488
actions
stefanseifert Oct 20, 2024
4f4622f
all simple actions
stefanseifert Oct 20, 2024
6de7f27
prepare complex actions
stefanseifert Oct 20, 2024
1437374
terrain priority
stefanseifert Oct 20, 2024
2ea41d1
Remove territoryRoll, beaconRoll, removeChipRoll - may be required mu…
stefanseifert Oct 21, 2024
8a08bde
procreation
stefanseifert Oct 24, 2024
4dfa6a5
update deps
stefanseifert Oct 25, 2024
e80802e
migration
stefanseifert Oct 25, 2024
782abc9
hunting token
stefanseifert Oct 25, 2024
7f36e26
reveal sites
stefanseifert Oct 25, 2024
e0d0c7c
provision
stefanseifert Oct 25, 2024
d48676a
large modal
stefanseifert Oct 25, 2024
6d204a1
feeding phase
stefanseifert Oct 25, 2024
64f28f3
event phase
stefanseifert Oct 25, 2024
8ee36aa
game end
stefanseifert Oct 25, 2024
60f3e64
end game
stefanseifert Oct 25, 2024
4b2ca91
responsive behavior
stefanseifert Oct 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
>= 0.5%
last 2 major versions
not dead
Chrome >= 90
Firefox >= 91
Firefox ESR
iOS >= 15
Safari >= 15
not Explorer <= 11
25 changes: 25 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
module.exports = {
root: true,
env: {
node: true
},
'extends': [
'plugin:vue/vue3-essential',
'eslint:recommended',
'@vue/typescript/recommended'
],
parserOptions: {
ecmaVersion: 2020
},
overrides: [
{
files: [
'**/__tests__/*.{j,t}s?(x)',
'**/tests/unit/**/*.spec.{j,t}s?(x)'
],
env: {
mocha: true
}
}
]
}
22 changes: 22 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Build

on:
push:
branches-ignore:
- experimental/**
- master
pull_request:
branches-ignore:
- experimental/**
- master
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: brdgm/github-action-build@v1
with:
sonar-token: ${{ secrets.SONARCLOUD_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
23 changes: 23 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Deploy

on:
push:
branches:
- master
workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: Production
url: "https://brdgm.me/${{ steps.deploy.outputs.app-deploy-name }}"

steps:
- uses: brdgm/github-action-deploy@v1
id: deploy
with:
gh-site-deploy-pat: ${{ secrets.GH_SITE_DEPLOY_PAT }}
gh-site-deploy-username: ${{ secrets.GH_SITE_DEPLOY_USERNAME }}
gh-site-deploy-email: ${{ secrets.GH_SITE_DEPLOY_EMAIL }}
gh-site-deploy-name: ${{ secrets.GH_SITE_DEPLOY_NAME }}
24 changes: 24 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Release and Deploy

on:
workflow_dispatch:

jobs:
release:
runs-on: ubuntu-latest
environment:
name: Production
url: "https://brdgm.me/${{ steps.release.outputs.app-deploy-name }}"

permissions:
contents: write

steps:
- uses: brdgm/github-action-release@v1
id: release
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
gh-site-deploy-pat: ${{ secrets.GH_SITE_DEPLOY_PAT }}
gh-site-deploy-username: ${{ secrets.GH_SITE_DEPLOY_USERNAME }}
gh-site-deploy-email: ${{ secrets.GH_SITE_DEPLOY_EMAIL }}
gh-site-deploy-name: ${{ secrets.GH_SITE_DEPLOY_NAME }}
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"i18n-ally.localesPaths": [
"src/locales"
]
}
14 changes: 14 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module.exports = {
presets: [
'@vue/cli-plugin-babel/preset'
],
env: {
test: {
plugins: [
['istanbul', {
useInlineSourceMaps: false
}]
]
}
}
}
33 changes: 33 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Civolution Solo Helper</title>
<meta name="description" content="Autobahn Solo Helper">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<meta name="theme-color" content="#333">
<meta charset="utf-8">
<link rel="icon" sizes="any" href="/favicon.ico">
<link rel="icon" type="image/svg+xml" href="/img/icons/favicon.svg">
<link rel="apple-touch-icon" href="/img/icons/apple-touch-icon-180x180.png" sizes="180x180">
<link rel="mask-icon" href="/img/icons/maskable-icon-512x512.png" color="#fff">
<!-- Matomo Tracking: Cookie-less and GDPR-conformant -->
<script>
var _paq = window._paq = window._paq || [];
(function() {
var u="//matomo.brdgm.me/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '2']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->
</head>
<body>
<noscript>
<strong>We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>
Loading