Skip to content

Commit 00122aa

Browse files
committed
init
0 parents  commit 00122aa

43 files changed

Lines changed: 5790 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# misc
2+
.DS_Store
3+
*.pem
4+
5+
# dependencies
6+
node_modules
7+
.pnp
8+
.pnp.js
9+
10+
# debug
11+
npm-debug.log*
12+
yarn-debug.log*
13+
yarn-error.log*
14+
15+
# local env files
16+
.env*.local
17+
.env
18+
19+
# ide
20+
.idea/
21+
.vscode*/
22+
23+
# typescript
24+
*.tsbuildinfo
25+
26+
# rollup
27+
.rollup.cache

.prettierrc.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"printWidth": 120,
3+
"quoteProps": "preserve"
4+
}

LICENSE.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
The MIT License
2+
Copyright (c) Ali Shakiba
3+
4+
Permission is hereby granted, free of charge, to any person obtaining a copy
5+
of this software and associated documentation files (the "Software"), to deal
6+
in the Software without restriction, including without limitation the rights
7+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8+
copies of the Software, and to permit persons to whom the Software is
9+
furnished to do so, subject to the following conditions:
10+
11+
The above copyright notice and this permission notice shall be included in all
12+
copies or substantial portions of the Software.
13+
14+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20+
SOFTWARE.

README.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Six 006 - Polymatic Example
2+
3+
A tile-matching game with hexagon grid.
4+
5+
Implemented using [Polymatic](https://github.com/piqnt/polymatic) framework and [Stage.js](https://github.com/piqnt/stage.js) rendering engine.
6+
7+
[Play Live Demo](https://piqnt.github.io/polymatic-example-six/)
8+
9+
### How to play
10+
11+
#### Tap 2+
12+
Tap 2 or more matching tiles.
13+
14+
#### Slide 3+
15+
Slide tiles along axis, to match 3 or more tiles in line.
16+
17+
#### Jump 4+
18+
Moves tiles, to match 4 or more tiles in line.
19+
20+
21+
### How to run the code
22+
23+
To run or build the source code in this repository you need to have node.js/npm installed.
24+
25+
Install this project dependencies:
26+
27+
```sh
28+
npm install
29+
```
30+
31+
To run the project locally:
32+
33+
```sh
34+
npm run dev
35+
```
36+
37+
This will print out the url where you can open the project.
38+
39+
To build the project for production:
40+
41+
```sh
42+
npm run build
43+
```
14.3 KB
Loading

docs/assets/index-B2Moe9JR.js

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/logo-Eg8uiIyy.png

14 KB
Loading

docs/assets/menu-0QwkpUIL.png

41.6 KB
Loading

docs/assets/text-D93SdtPq.png

25.3 KB
Loading

docs/assets/tiles-fjLyTWMU.png

95.5 KB
Loading

0 commit comments

Comments
 (0)