Skip to content

Commit

Permalink
Merge branch 'release/0.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
annabranco committed Dec 12, 2019
2 parents 7a3a921 + d7a8e1c commit dc354e3
Show file tree
Hide file tree
Showing 19 changed files with 179 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# 将棋 Shōgi game by Anna Branco
## v0.1.0

<img src="https://raw.githubusercontent.com/annabranco/shougi/master/src/assets/images/logo.png" alt="" width="420px">
<img src="https://raw.githubusercontent.com/annabranco/shougi/master/src/assets/images/logo.png" alt="" width="500px">

This is the experimental development of a 将棋, the Japanese chess game.

Expand Down
22 changes: 22 additions & 0 deletions docs/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"files": {
"main.js": "./static/js/main.c5ff556b.chunk.js",
"main.js.map": "./static/js/main.c5ff556b.chunk.js.map",
"runtime-main.js": "./static/js/runtime-main.9551c6ed.js",
"runtime-main.js.map": "./static/js/runtime-main.9551c6ed.js.map",
"static/js/2.1f65549d.chunk.js": "./static/js/2.1f65549d.chunk.js",
"static/js/2.1f65549d.chunk.js.map": "./static/js/2.1f65549d.chunk.js.map",
"index.html": "./index.html",
"precache-manifest.ab9052a4cc203493ffab5509abe08d1e.js": "./precache-manifest.ab9052a4cc203493ffab5509abe08d1e.js",
"service-worker.js": "./service-worker.js",
"static/js/2.1f65549d.chunk.js.LICENSE": "./static/js/2.1f65549d.chunk.js.LICENSE",
"static/media/hanami.jpg": "./static/media/hanami.4dd0b835.jpg",
"static/media/marble.jpg": "./static/media/marble.b252d2e4.jpg",
"static/media/wood.jpg": "./static/media/wood.6fb73ad1.jpg"
},
"entrypoints": [
"static/js/runtime-main.9551c6ed.js",
"static/js/2.1f65549d.chunk.js",
"static/js/main.c5ff556b.chunk.js"
]
}
Binary file added docs/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!doctype html><html lang="en"><head><title>将棋 Shougi game by Anna Branco</title><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta property="og:title" content="将棋 Shougi game"/><meta property="og:description" content="A beta implementation of the Japanese Chess, Shougi (将棋), by Anna Branco"/><meta property="og:url" content="https://github.com/annabranco/shougi"/><meta property="og:type" content="website"/><link rel="manifest" href="./manifest.json"><link rel="shortcut icon" href="./favicon.png"><link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ" crossorigin="anonymous"><link href="https://fonts.googleapis.com/css?family=Corben|Noto+Sans+JP|Sawarabi+Mincho&display=swap" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(a){function e(e){for(var r,t,n=e[0],o=e[1],u=e[2],i=0,l=[];i<n.length;i++)t=n[i],Object.prototype.hasOwnProperty.call(p,t)&&p[t]&&l.push(p[t][0]),p[t]=0;for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&(a[r]=o[r]);for(s&&s(e);l.length;)l.shift()();return c.push.apply(c,u||[]),f()}function f(){for(var e,r=0;r<c.length;r++){for(var t=c[r],n=!0,o=1;o<t.length;o++){var u=t[o];0!==p[u]&&(n=!1)}n&&(c.splice(r--,1),e=i(i.s=t[0]))}return e}var t={},p={1:0},c=[];function i(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return a[e].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.m=a,i.c=t,i.d=function(e,r,t){i.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(r,e){if(1&e&&(r=i(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)i.d(t,n,function(e){return r[e]}.bind(null,n));return t},i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,"a",r),r},i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.p="./";var r=this["webpackJsonpshogi-game"]=this["webpackJsonpshogi-game"]||[],n=r.push.bind(r);r.push=e,r=r.slice();for(var o=0;o<r.length;o++)e(r[o]);var s=n;f()}([])</script><script src="./static/js/2.1f65549d.chunk.js"></script><script src="./static/js/main.c5ff556b.chunk.js"></script></body></html>
15 changes: 15 additions & 0 deletions docs/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"short_name": "Shougi",
"name": "Shougi Game implementation by Anna Branco",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
34 changes: 34 additions & 0 deletions docs/precache-manifest.ab9052a4cc203493ffab5509abe08d1e.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "4815d50079507e2cc93d375a90b1e183",
"url": "./index.html"
},
{
"revision": "f04dde679d24da6617be",
"url": "./static/js/2.1f65549d.chunk.js"
},
{
"revision": "fd228f9b9a68ce6b23a6cf8b0a38a0e3",
"url": "./static/js/2.1f65549d.chunk.js.LICENSE"
},
{
"revision": "625bb6914cbef6a5c3ad",
"url": "./static/js/main.c5ff556b.chunk.js"
},
{
"revision": "17f18a03e44177903848",
"url": "./static/js/runtime-main.9551c6ed.js"
},
{
"revision": "4dd0b83557c0a89d81504866e2a0ba40",
"url": "./static/media/hanami.4dd0b835.jpg"
},
{
"revision": "b252d2e4e6bdb09c4c0c6b8723d10dd0",
"url": "./static/media/marble.b252d2e4.jpg"
},
{
"revision": "6fb73ad11e09e8ad53096b50aee2014b",
"url": "./static/media/wood.6fb73ad1.jpg"
}
]);
39 changes: 39 additions & 0 deletions docs/service-worker.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
/**
* Welcome to your Workbox-powered service worker!
*
* You'll need to register this file in your web app and you should
* disable HTTP caching for this file too.
* See https://goo.gl/nhQhGp
*
* The rest of the code is auto-generated. Please don't update this file
* directly; instead, make changes to your Workbox build configuration
* and re-run your build process.
* See https://goo.gl/2aRDsh
*/

importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");

importScripts(
"./precache-manifest.ab9052a4cc203493ffab5509abe08d1e.js"
);

self.addEventListener('message', (event) => {
if (event.data && event.data.type === 'SKIP_WAITING') {
self.skipWaiting();
}
});

workbox.core.clientsClaim();

/**
* The workboxSW.precacheAndRoute() method efficiently caches and responds to
* requests for URLs in the manifest.
* See https://goo.gl/S9QRab
*/
self.__precacheManifest = [].concat(self.__precacheManifest || []);
workbox.precaching.precacheAndRoute(self.__precacheManifest, {});

workbox.routing.registerNavigationRoute(workbox.precaching.getCacheKeyForURL("./index.html"), {

blacklist: [/^\/_/,/\/[^/?]+\.[^/]+$/],
});
3 changes: 3 additions & 0 deletions docs/static/js/2.1f65549d.chunk.js

Large diffs are not rendered by default.

56 changes: 56 additions & 0 deletions docs/static/js/2.1f65549d.chunk.js.LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/

/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0

THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.

See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */

/** @license React v16.12.0
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v16.12.0
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v0.18.0
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v16.12.0
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
1 change: 1 addition & 0 deletions docs/static/js/2.1f65549d.chunk.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions docs/static/js/main.c5ff556b.chunk.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/static/js/main.c5ff556b.chunk.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions docs/static/js/runtime-main.9551c6ed.js

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

1 change: 1 addition & 0 deletions docs/static/js/runtime-main.9551c6ed.js.map

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

Binary file added docs/static/media/hanami.4dd0b835.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/static/media/marble.b252d2e4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/static/media/wood.6fb73ad1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion src/components/containers/MainArea/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ class MainArea extends Component {
componentDidMount() {
window.testing = this.toggleTesting;
window.change = this.changeTurn;
window.testing();
}

changeTurn = () => {
Expand Down
3 changes: 1 addition & 2 deletions src/components/views/BoardComponent/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ const BoardComponent = ({
<Author>アッナブランコ</Author>
<Gameboard size={BOARD_SIZE}>
{Object.entries(currentBoard).map(([x, columns]) =>
Object.keys
.a(columns)
Object.keys(columns)
.reverse()
.map(y => {
const piece = currentBoard[x][y];
Expand Down

0 comments on commit dc354e3

Please sign in to comment.