This repository has been archived by the owner on Feb 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from jakubjafra/webpack
Modern project structure, build step
- Loading branch information
Showing
62 changed files
with
12,188 additions
and
7,401 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,8 @@ | ||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 |
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 |
---|---|---|
|
@@ -6,3 +6,6 @@ __backup | |
__backup/* | ||
.idea | ||
.DS_Store | ||
node_modules | ||
.vscode | ||
build |
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,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; | ||
}, []), | ||
}; |
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,9 @@ | ||
{ | ||
"printWidth": 100, | ||
"trailingComma": "all", | ||
"tabWidth": 2, | ||
"arrowParens": "always", | ||
"semi": true, | ||
"endOfLine": "lf", | ||
"singleQuote": true | ||
} |
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 |
---|---|---|
@@ -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. |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.