Skip to content

Commit

Permalink
Merge pull request #90 from eugene-serb/dev
Browse files Browse the repository at this point in the history
Release 1.0.18
  • Loading branch information
eugene-serb authored Jun 11, 2023
2 parents 830e31e + 97fc65f commit 222a004
Show file tree
Hide file tree
Showing 43 changed files with 111 additions and 59 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
'use strict';
'use strict';

module.exports = {
root: true,
Expand Down
51 changes: 51 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Define the line ending behavior of the different file extensions
# Set default behavior, in case users don't have core.autocrlf set.
* text=auto
* text eol=lf

# Explicitly declare text files we want to always be normalized and converted
# to native line endings on checkout.
*.default text
*.md text
*.po text
*.js text
*.css text
*.scss text
*.ini text
*.properties text
*.txt text
*.xml text
*.svg text
*.yml text
.htaccess text

# Declare files that will always have CRLF line endings on checkout.
*.bat eol=crlf

# Declare files that will always have LF line endings on checkout.
*.pem eol=lf

# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
*.gif binary
*.webp binary
*.ico binary
*.mo binary
*.pdf binary
*.phar binary
*.woff binary
*.woff2 binary
*.ttf binary
*.otf binary
*.eot binary
*.gz binary
*.bz2 binary
*.7z binary
*.zip binary
*.webm binary
*.mp4 binary
*.ogv binary
*.xls binary
*.xlsx binary
*.ods binary
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github: eugene-serb
github: eugene-serb
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build
name: Build

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Lint
name: Lint

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test
name: Test

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Ignore artifacts:
# Ignore artifacts:

**/.git
**/.svn
Expand Down
2 changes: 1 addition & 1 deletion .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
module.exports = {
printWidth: 100,
tabWidth: 2,
useTabs: false,
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Aurora Game Engine
# Aurora Game Engine

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

Expand All @@ -24,6 +24,7 @@ Based on game engines from these games and using them for implementation and tes
![](https://img.shields.io/badge/Jest-informational?style=flat-square&logo=jest&logoColor=FFFFFF&color=15C213)
![](https://img.shields.io/badge/📝-JSDoc-informational?style=flat-square&logo=jsdoc&logoColor=FFFFFF&color=006FBB&labelColor=006FBB)
![](https://img.shields.io/badge/npm-informational?style=flat-square&logo=npm&logoColor=FFFFFF&color=CB0000)
![](https://img.shields.io/badge/Git-informational?style=flat-square&logo=git&logoColor=FFFFFF&color=BC4420)
![](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)

Expand Down
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
'use strict';
'use strict';

module.exports = {
presets: ['@babel/preset-env'],
Expand Down
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
'use strict';
'use strict';

module.exports = {
coverageProvider: 'v8',
Expand Down
36 changes: 18 additions & 18 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurora-game-engine",
"version": "1.0.17",
"version": "1.0.18",
"description": "Aurora game engine for creating 1D and 2D games in JavaScript",
"keywords": [
"game-engine",
Expand Down Expand Up @@ -46,7 +46,7 @@
"eslint-cli": "^1.1.1",
"eslint-config-prettier": "^8.8.0",
"eslint-webpack-plugin": "^4.0.1",
"html-webpack-plugin": "^5.5.2",
"html-webpack-plugin": "^5.5.3",
"jest": "^29.5.0",
"prettier": "^2.8.8",
"webpack": "^5.86.0",
Expand Down
2 changes: 1 addition & 1 deletion src/drawer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
'use strict';
'use strict';

/** Class Drawer for painting on canvas. */
export class Drawer {
Expand Down
2 changes: 1 addition & 1 deletion src/gameloop.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
'use strict';
'use strict';

/** Class Gameloop to represent game event loop. */
export class Gameloop {
Expand Down
2 changes: 1 addition & 1 deletion src/gamepad.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
'use strict';
'use strict';

/** Class Gamepad for handle gamepad controls. */
export class Gamepad {
Expand Down
2 changes: 1 addition & 1 deletion src/helpers.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
'use strict';
'use strict';

/**
* Get a random integer number.
Expand Down
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!DOCTYPE html>
<html lang="en-us" dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Aurora Game Engine</title>
Expand Down
1 change: 0 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

2 changes: 1 addition & 1 deletion src/keyboard.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
'use strict';
'use strict';

/** Class Keyboard for handle keyboard controls. */
export class Keyboard {
Expand Down
2 changes: 1 addition & 1 deletion src/map.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
'use strict';
'use strict';

import Matrix from './matrix.js';

Expand Down
2 changes: 1 addition & 1 deletion src/matrix.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
'use strict';
'use strict';

/** Class Matrix for representing matrix */
export class Matrix {
Expand Down
2 changes: 1 addition & 1 deletion src/rating.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
'use strict';
'use strict';

/** Class Rating for rating. */
export class Rating {
Expand Down
2 changes: 1 addition & 1 deletion src/score.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
'use strict';
'use strict';

/** Class Score for scoring. */
export class Score {
Expand Down
2 changes: 1 addition & 1 deletion src/timer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
'use strict';
'use strict';

/** Class Timer for counting time from the beginning of the measurement. */
export class Timer {
Expand Down
2 changes: 1 addition & 1 deletion src/touchscreen.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
'use strict';
'use strict';

/** Class Touchscreen for handle touch controls. */
export class Touchscreen {
Expand Down
2 changes: 1 addition & 1 deletion static/404.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<html lang="en-us" dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
<html lang="en-us" dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
Expand Down
2 changes: 1 addition & 1 deletion static/css/base.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@charset 'UTF-8';
@charset 'UTF-8';

*,
::after,
Expand Down
2 changes: 1 addition & 1 deletion static/css/declarations.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@charset 'UTF-8';
@charset 'UTF-8';

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

Expand Down
2 changes: 1 addition & 1 deletion static/css/footer.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@charset 'UTF-8';
@charset 'UTF-8';

.footer {
border-top: 4px solid var(--color-footer-borderline);
Expand Down
1 change: 1 addition & 0 deletions static/css/forms.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ option:hover {
}

input[type='range'] {
appearance: none;
-webkit-appearance: none;
width: 100%;
margin: 8px 0;
Expand Down
2 changes: 1 addition & 1 deletion static/css/header-mini.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@charset 'UTF-8';
@charset 'UTF-8';

.header-mini {
padding: 6px 0 2px 0;
Expand Down
2 changes: 1 addition & 1 deletion static/css/index.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@charset 'UTF-8';
@charset 'UTF-8';

@import url('declarations.css');
@import url('base.css');
Expand Down
2 changes: 1 addition & 1 deletion static/css/services.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@charset 'UTF-8';
@charset 'UTF-8';

.hidden {
display: none !important;
Expand Down
2 changes: 1 addition & 1 deletion static/css/tables.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@charset 'UTF-8';
@charset 'UTF-8';

table,
th,
Expand Down
2 changes: 1 addition & 1 deletion tests/drawer.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
'use strict';
'use strict';

import Drawer from '@/drawer.js';

Expand Down
2 changes: 1 addition & 1 deletion tests/gameloop.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
'use strict';
'use strict';

import Gameloop from '@/gameloop.js';

Expand Down
2 changes: 1 addition & 1 deletion tests/helpers.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
'use strict';
'use strict';

import { getRandomInteger } from '@/helpers.js';

Expand Down
2 changes: 1 addition & 1 deletion tests/map.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
'use strict';
'use strict';

import Map from '@/map.js';

Expand Down
2 changes: 1 addition & 1 deletion tests/matrix.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
'use strict';
'use strict';

import Matrix from '@/matrix.js';

Expand Down
2 changes: 1 addition & 1 deletion tests/score.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
'use strict';
'use strict';

import Score from '@/score.js';

Expand Down
2 changes: 1 addition & 1 deletion tests/timer.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
'use strict';
'use strict';

import Timer from '@/timer.js';

Expand Down
Loading

0 comments on commit 222a004

Please sign in to comment.