Skip to content

Commit

Permalink
Refactoring from JavaScript to TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
rootasjey committed Dec 8, 2018
1 parent 04bbb2e commit 2b62850
Show file tree
Hide file tree
Showing 51 changed files with 78,588 additions and 5,843 deletions.
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

31 changes: 0 additions & 31 deletions .eslintrc.yml

This file was deleted.

19 changes: 7 additions & 12 deletions .gitignore
@@ -1,3 +1,10 @@
# npm
build/
node_modules/

# vim
*.vim

# Numerous always-ignore extensions
*.diff
*.err
Expand All @@ -18,15 +25,3 @@
.tmproj
nbproject
Thumbs.db

# NPM packages folder.
node_modules/

# Brunch folder for temporary files.
tmp/

# Brunch output folder.
public/

# Bower stuff.
bower_components/
30 changes: 10 additions & 20 deletions README.md 100644 → 100755
@@ -1,5 +1,4 @@
Cycles System
=============
# Cycles

[WIP] A turn-based game system built with [Phaser 3](http://phaser.io).

Expand All @@ -13,14 +12,11 @@ Cycles System

- Install (if you don't have them):
- [Node.js](https://nodejs.org)
- [Brunch](http://brunch.io): `npm install -g brunch`
- Run:
- `npm run start` or `brunch watch --server` watches the project with continuous rebuild.
- `npm run build` or `brunch build --production` builds a minified project for production.
- [troubleshooting](http://brunch.io/docs/troubleshooting)
- `npm run start` or `yarn run start` watches the project with continuous rebuild.
- Make:
- Write your code in [app](app).
- Put game assets in [assets](app/static/assets).
- Write your code in [src](src).
- Put game assets in [assets](/assets).

## Specifications

Expand All @@ -41,19 +37,13 @@ A typical player turn:
* Make units attack or use items
* End turn

## Tools

- [brunch](http://brunch.io/docs/config)
- [babel-brunch](https://www.npmjs.com/package/babel-brunch#configuration)
- [uglify-js-brunch](https://www.npmjs.com/package/uglify-js-brunch#usage)
- [minify options](https://www.npmjs.com/package/uglify-js#minify-options)

[1]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import
[2]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/New_in_JavaScript/ECMAScript_2015_support_in_Mozilla

## Thanks

Thanks to these awesome tools and assets, I can have fun building a game
Thanks to these awesome tools and assets, I can have fun building a game:

* [Kenney assets](https://www.kenney.nl)
* [Phaser 3](http://phaser.io)
* [Kenney assets](https://www.kenney.nl)

## Licence

This project is under MIT Licence.
64 changes: 0 additions & 64 deletions app/logic/buildInventory.js

This file was deleted.

0 comments on commit 2b62850

Please sign in to comment.