Skip to content

Commit

Permalink
Merge pull request #86 from eugene-serb/dev
Browse files Browse the repository at this point in the history
Release 1.0.16
  • Loading branch information
eugene-serb authored Jun 10, 2023
2 parents f58d68b + 0d2f4f8 commit 64471a3
Show file tree
Hide file tree
Showing 10 changed files with 84 additions and 78 deletions.
3 changes: 0 additions & 3 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,4 @@ module.exports = {
ecmaVersion: 'latest',
sourceType: 'module',
},
rules: {
'no-unused-vars': 'warn',
},
};
18 changes: 10 additions & 8 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
Expand All @@ -24,15 +24,17 @@ A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
3 changes: 0 additions & 3 deletions .github/ISSUE_TEMPLATE/custom.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,4 @@ about: Describe this issue template's purpose here.
title: ''
labels: ''
assignees: ''

---


1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
Expand Down
28 changes: 13 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,28 @@
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- development
- master
- dev
workflow_dispatch:

jobs:
build:

strategy:
matrix:
node-version: [ 18.x ]
os: [ ubuntu-latest ]
node-version: [18]
os: [ubuntu-22.04]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install
- run: npm run build

- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install
- run: npm run build
28 changes: 13 additions & 15 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,28 @@
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- development
- master
- dev
workflow_dispatch:

jobs:
lint:

strategy:
matrix:
node-version: [ 18.x ]
os: [ ubuntu-latest ]
node-version: [18]
os: [ubuntu-22.04]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install
- run: npm run lint

- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install
- run: npm run lint
28 changes: 13 additions & 15 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,28 @@
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- development
- master
- dev
workflow_dispatch:

jobs:
test:

strategy:
matrix:
node-version: [ 18.x ]
os: [ ubuntu-latest ]
node-version: [18]
os: [ubuntu-22.04]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install
- run: npm run test

- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install
- run: npm run test
28 changes: 22 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,38 @@

Game engine for creating 1D and 2D games in JavaScript.

Stack: JavaScript, HTML, CSS, Node.js, Webpack, Babel, Jest, ESLint, Prettier, npm

Based on:
Based on game engines from these games and using them for implementation and testing:

- [Tetris](https://eugene-serb.github.io/tetris/)
- [Snake Game](https://eugene-serb.github.io/snake-game/)
- [2048 Game](https://eugene-serb.github.io/2048-game/)
- [Snake Game](https://eugene-serb.github.io/snake-game/)
- [Game of Life](https://eugene-serb.github.io/game-of-life/)

Commands:
## Stack:

![](https://img.shields.io/badge/HTML-informational?style=flat-square&logo=html5&logoColor=FFFFFF&color=E44D26)
![](https://img.shields.io/badge/CSS-informational?style=flat-square&logo=css3&logoColor=FFFFFF&color=25A1E1)
![](https://img.shields.io/badge/JSON-informational?style=flat-square&logo=json&logoColor=323330&color=FAF0E6)
![](https://img.shields.io/badge/YAML-informational?style=flat-square&logo=yaml&logoColor=FFFFFF&color=FF0000)
![](https://img.shields.io/badge/JavaScript-informational?style=flat-square&logo=javascript&logoColor=323330&color=F0DB4F)
![](https://img.shields.io/badge/Node.JS-informational?style=flat-square&logo=node.js&logoColor=FFFFFF&color=3C873A)
![](https://img.shields.io/badge/Webpack-informational?style=flat-square&logo=webpack&logoColor=62B1D8&color=2B3A42)
![](https://img.shields.io/badge/Babel-informational?style=flat-square&logo=babel&logoColor=323330&color=F5DA55)
![](https://img.shields.io/badge/ESLint-informational?style=flat-square&logo=eslint&logoColor=FFFFFF&color=8181F2)
![](https://img.shields.io/badge/Prettier-informational?style=flat-square&logo=prettier&logoColor=FFFFFF&color=1A2B34)
![](https://img.shields.io/badge/Jest-informational?style=flat-square&logo=jest&logoColor=FFFFFF&color=15C213)
![](https://img.shields.io/badge/npm-informational?style=flat-square&logo=npm&logoColor=FFFFFF&color=CB0000)
![](https://img.shields.io/badge/GitHub-informational?style=flat-square&logo=github&logoColor=FFFFFF&color=24292F)
![](https://img.shields.io/badge/GitHub%20Actions-informational?style=flat-square&logo=github&logoColor=FFFFFF&color=24292F)

## Commands:

- npm run start — run with watcher
- npm run serve — run dev server
- npm run build — build in production mode,
- npm run build:dev — build in development mode,
- npm run lint — run lint,
- npm run lint — run lint check,
- npm run lint:fix — run lint fix,
- npm run format — run prettier check,
- npm run format:fix — run prettier fix,
- npm run test — run tests
22 changes: 11 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurora-game-engine",
"version": "1.0.15",
"version": "1.0.16",
"description": "Aurora game engine for creating 1D and 2D games in JavaScript",
"keywords": [
"game-engine",
Expand Down Expand Up @@ -29,6 +29,7 @@
"build": "webpack --mode production",
"build:dev": "webpack --mode development",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"format": "npx prettier src --check",
"format:fix": "npx prettier src --write --ignore-unknown",
"test": "jest tests"
Expand Down

0 comments on commit 64471a3

Please sign in to comment.