Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 0 additions & 3 deletions .browserslistrc

This file was deleted.

43 changes: 0 additions & 43 deletions .codeclimate.yml-breaks

This file was deleted.

9 changes: 0 additions & 9 deletions .editorconfig

This file was deleted.

8 changes: 0 additions & 8 deletions .firebaserc

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name: Node.js CI

on:
push:
branches: [ master ]
branches: [ others ]
pull_request:
branches: [ master ]
branches: [ others ]

jobs:
build:
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ docs/
notes.txt
*.swp
*.orig
notes.txt

32 changes: 0 additions & 32 deletions .travis.yml

This file was deleted.

5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,8 @@ To access the current dev version go to [https://program-wars-dev.firebaseapp.co
If you would like to contribute to the project, see [CONTRIBUTING](CONTRIBUTING.md).

For more information about the project, refer to the [wiki](https://github.com/johnanvik/program-wars/wiki).

```bash
$ npm install

```
1 change: 0 additions & 1 deletion _config.yml

This file was deleted.

3 changes: 2 additions & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

module.exports = {
presets: [
'@vue/cli-plugin-babel/preset'
['@babel/preset-env', { targets: { node: 'current' }, modules: 'commonjs' }]
]
}
Binary file removed deploy_rsa.enc
Binary file not shown.
1,657 changes: 0 additions & 1,657 deletions development/cardGraphicsOriginal/Group_Cards.ai

This file was deleted.

1,403 changes: 0 additions & 1,403 deletions development/cardGraphicsOriginal/Hack_Card.ai

This file was deleted.

1,325 changes: 0 additions & 1,325 deletions development/cardGraphicsOriginal/Instruction_Cards.ai

This file was deleted.

1,374 changes: 0 additions & 1,374 deletions development/cardGraphicsOriginal/Repetition_Cards.ai

This file was deleted.

1,329 changes: 0 additions & 1,329 deletions development/cardGraphicsOriginal/Variable_Cards.ai

This file was deleted.

Binary file removed development/cardGraphicsOriginal/Variable_Cards.png
Binary file not shown.
16 changes: 0 additions & 16 deletions firebase.json

This file was deleted.

82 changes: 82 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>MVC ARENA</title>

<!-- CDNs for Bootstrap, includes some modals and dropdown menus, and jquery -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">

<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>

<!-- Favicon link -->
<link rel="icon" href="/favicon.ico">

<!-- Prefetching images helps ensure they are loaded by the time the player
Starts the game. Otherwise the first time or two a person visits the
site images will take a visible amount of time to load during the game -->

<!-- Prefetching player images -->
<link rel="prefetch" href="/static/playerImages/player0.png">
<link rel="prefetch" href="/static/playerImages/player1.png">
<link rel="prefetch" href="/static/playerImages/player2.png">
<link rel="prefetch" href="/static/playerImages/player3.png">

<!-- Prefetching Card images -->
<link rel="prefetch" href="/static/cardImages/backOfCard.png">
<link rel="prefetch" href="/static/cardImages/method.png">

<link rel="prefetch" href="/static/cardImages/instruction1.png">
<link rel="prefetch" href="/static/cardImages/instruction2.png">
<link rel="prefetch" href="/static/cardImages/instruction3.png">

<link rel="prefetch" href="/static/cardImages/repeat1.png">
<link rel="prefetch" href="/static/cardImages/repeat2.png">
<link rel="prefetch" href="/static/cardImages/repeat3.png">
<link rel="prefetch" href="/static/cardImages/repeat4.png">

<link rel="prefetch" href="/static/cardImages/variable3.png">
<link rel="prefetch" href="/static/cardImages/variable4.png">
<link rel="prefetch" href="/static/cardImages/variable5.png">
<link rel="prefetch" href="/static/cardImages/variable6.png">

<link rel="prefetch" href="/static/cardImages/antivirus.png">
<link rel="prefetch" href="/static/cardImages/firewall.png">
<link rel="prefetch" href="/static/cardImages/scan.png">
<link rel="prefetch" href="/static/cardImages/search.png">
<link rel="prefetch" href="/static/cardImages/sort.png">

<link rel="prefetch" href="/static/cardImages/virus.png">
<link rel="prefetch" href="/static/cardImages/trojan.png">
<link rel="prefetch" href="/static/cardImages/spyware.png">
<link rel="prefetch" href="/static/cardImages/ransom.png">

<link rel="prefetch" href="/static/cardImages/stack_overflow.png">
<link rel="prefetch" href="/static/cardImages/stack_underflow.png">
<link rel="prefetch" href="/static/cardImages/sql_injection.png">
<link rel="prefetch" href="/static/cardImages/ddos.png">

<!-- Prefetch important effect images -->
<link rel="prefetch" href="/static/cardImages/effects/SCAN.png">
<link rel="prefetch" href="/static/cardImages/effects/TROJAN.png">

<style>
html {
font-size: 2.2vh;
color: black;
}
</style>

</head>

<body>
<noscript>
<strong>We're sorry but MVC ARENA doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id='app'></div>
<script type="module" src="/src/main.js"></script>
</body>
</html>
10 changes: 9 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
module.exports = {
preset: '@vue/cli-plugin-unit-jest',
testEnvironment: 'jsdom',
transform: {
'^.+\.vue$': ['@vue/vue3-jest', { compilerOptions: { compatConfig: { MODE: 3 } } }],
'^.+\\.[jt]sx?$': ['babel-jest', { configFile: './babel.config.js' }],
},
moduleNameMapper: {
'^@/(.*)$': '<rootDir>/src/$1',
},
transformIgnorePatterns: ['/node_modules/(?!(uuid)/)'],
collectCoverage: true,
collectCoverageFrom: [
'**/*.{js,vue}',
Expand Down
Loading