-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ezra Lazuardy
committed
Apr 25, 2022
0 parents
commit 7c99524
Showing
57 changed files
with
10,524 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# top-most EditorConfig file | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = false | ||
insert_final_newline = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
NODE_ENV=development | ||
VITE_APP_TITLE="Pokemon" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: "CodeQL" | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
# The branches below must be a subset of the branches above | ||
branches: [main] | ||
schedule: | ||
- cron: '35 21 * * 0' | ||
|
||
jobs: | ||
analyze: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
language: ["typescript"] | ||
|
||
steps: | ||
- name: 📥 Install Github Action Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: 📥 Initialize CodeQL | ||
uses: github/codeql-action/init@v1 | ||
with: | ||
languages: ${{ matrix.language }} | ||
|
||
- name: 🔨 Running CodeQL Automatic Build | ||
uses: github/codeql-action/autobuild@v1 | ||
|
||
- name: 🔍 Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
|
||
node_modules | ||
dist | ||
dist-ssr | ||
*.local | ||
|
||
# Editor directories and files | ||
.vscode | ||
.idea | ||
.DS_Store | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? | ||
|
||
# Local History for Visual Studio Code | ||
.history/ | ||
|
||
# Built Visual Studio Code Extensions | ||
*.vsix | ||
|
||
# Ignore all local history of files | ||
.history | ||
.ionide | ||
|
||
docs/_book | ||
|
||
test/ | ||
|
||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2022 Ezra Lazuardy | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<a href="https://imgc.ezralazuardy.com/"> | ||
<img src="https://therealsujitk-vercel-badge.vercel.app/?app=pokemon.ezralazuardy" alt="Deployment"> | ||
</a> | ||
<a href="https://github.com/ezralazuardy/pokemon/actions/workflows/codeql-analysis.yml"> | ||
<img src="https://img.shields.io/github/workflow/status/ezralazuardy/pokemon/CodeQL?label=security" alt="CodeQL Security Analysis"> | ||
</a> | ||
<a href="https://github.com/ezralazuardy/pokemon/blob/master/LICENSE"> | ||
<img src="https://img.shields.io/github/license/ezralazuardy/pokemon" alt="License"> | ||
</a> | ||
<a href="https://web.dev/progressive-web-apps"> | ||
<img alt="PWA Support" src="https://img.shields.io/badge/%20pwa-enabled-blueviolet"> | ||
</a> | ||
|
||
## 🦑 pokemon | ||
|
||
Feelin nostalgic, a game that brings you a pokemon-like 8-bit experience on web. | ||
|
||
Preview: [https://pokemon.ezralazuardy.com](https://pokemon.ezralazuardy.com) | ||
|
||
> This app is written in [Typescript](https://www.typescriptlang.org) using [Vue](https://vuejs.org), [Vite](https://vitejs.dev), and [Volar](https://github.com/johnsoncodehk/volar). The project is intended for my Multimedia coursework at [Diponegoro University](https://ft.undip.ac.id/en/site). | ||
## 🚀 Quick start | ||
|
||
Run the application in your local environment. | ||
|
||
```bash | ||
git clone https://github.com/ezralazuardy/pokemon.git | ||
cd pokemon | ||
cp .env.example .env | ||
npm install | ||
npm run dev | ||
``` | ||
|
||
> [Node.js](https://nodejs.org) need to be installed in your environment. Internet connection is required to run the app. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Security Policy | ||
|
||
## Supported Versions | ||
|
||
Project versions that are currently being supported with security updates. | ||
|
||
| Version | Supported | | ||
| ------- | ------------------ | | ||
| 0.0.x | :white_check_mark: | | ||
|
||
## Reporting a Vulnerability | ||
|
||
If you found any kind of vulnerability in this project, please make a new [issue](https://github.com/ezralazuardy/pokemon/issues) with [label](https://github.com/ezralazuardy/pokemon/labels) **vulnerability**. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<meta name="msapplication-config" content="/browserconfig.xml" /> | ||
<meta name="theme-color" content="#da532c" /> | ||
<meta name="apple-mobile-web-app-title" content="<%- VITE_APP_TITLE %>" /> | ||
<meta name="application-name" content="<%- VITE_APP_TITLE %>" /> | ||
<meta name="description" content="A simple pokemon-like game for web." /> | ||
<link rel="preconnect" href="https://fonts.googleapis.com" /> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> | ||
<link | ||
rel="preload" | ||
href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap" | ||
as="style" | ||
onload="this.onload=null;this.rel='stylesheet'" | ||
/> | ||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" /> | ||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" /> | ||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" /> | ||
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#acd1af" /> | ||
<title><%- VITE_APP_TITLE %></title> | ||
</head> | ||
<body> | ||
<noscript>You need to enable JavaScript to run this app.</noscript> | ||
<div id="app"></div> | ||
<script type="module" src="/src/main.ts"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.
7c99524
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
pokemon – ./
pokemon-git-main-ezralazuardy.vercel.app
pokemon-alpha-six.vercel.app
pokemon-ezralazuardy.vercel.app