Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Commit

Permalink
Merge pull request #7 from jakubjafra/webpack
Browse files Browse the repository at this point in the history
Modern project structure, build step
  • Loading branch information
jakubjafra authored Jul 16, 2020
2 parents 7fb0650 + 79d8be1 commit b78a9d2
Show file tree
Hide file tree
Showing 62 changed files with 12,188 additions and 7,401 deletions.
8 changes: 8 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = space
indent_size = 2
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ __backup
__backup/*
.idea
.DS_Store
node_modules
.vscode
build
9 changes: 9 additions & 0 deletions .lintstagedrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
const { quote } = require('shell-quote');

module.exports = {
'*.(j|t)s?(x)': (filenames) =>
filenames.reduce((commands, filename) => {
commands.push(quote(['prettier', '--write', filename]), quote(['git', 'add', filename]));
return commands;
}, []),
};
9 changes: 9 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"printWidth": 100,
"trailingComma": "all",
"tabWidth": 2,
"arrowParens": "always",
"semi": true,
"endOfLine": "lf",
"singleQuote": true
}
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
Coloniae
========
# Coloniae

![Full game](https://raw.githubusercontent.com/khronedev/coloniae/master/showcase/screen_1.png)
![Full game](https://raw.githubusercontent.com/jakubjafra/coloniae/master/showcase/screen_1.png)
_You can even get to aristocrats in here._

This game is clone of old strategy Anno 1602. Copyrights for graphics, design and so on are held by the Ubisoft company. It is written only for educational purposes.

Play
----
## Play

[Click here to play in your browser](https://khronedev.github.io/coloniae/app/). It takes a while to load ;)
[Click here to play in your browser](https://jakubjafra.github.io/coloniae/app/). It takes a while to load ;)

### Docker
### Running locally

You can run this locally with:

```
docker-compose up
npm install
npm run build
npm run start
```
Then go to `0.0.0.0:8080/index.html`.

Screenshots
-----------
Then go to `localhost:5000`.

## Screenshots

![The begining](https://raw.githubusercontent.com/khronedev/coloniae/master/showcase/screen_2.png)
![The begining](https://raw.githubusercontent.com/jakubjafra/coloniae/master/showcase/screen_2.png)
_Solid start island for futher expansion._

![Building menu](https://raw.githubusercontent.com/khronedev/coloniae/master/showcase/screen_3.png)
![Building menu](https://raw.githubusercontent.com/jakubjafra/coloniae/master/showcase/screen_3.png)
_The original Anno 1602 GUI was not implemented._

![First working version](https://raw.githubusercontent.com/khronedev/coloniae/master/showcase/screen_first_version.png)
![First working version](https://raw.githubusercontent.com/jakubjafra/coloniae/master/showcase/screen_first_version.png)
_First version was rendered in full 3D (back then in 2014!)_

License
-------
## License

This code is released under the terms of the MIT license.
215 changes: 0 additions & 215 deletions app/externals/angular.min.js

This file was deleted.

Loading

0 comments on commit b78a9d2

Please sign in to comment.