Skip to content

Commit

Permalink
Merge branch 'release/v2.4.8'
Browse files Browse the repository at this point in the history
  • Loading branch information
kobalab committed Nov 17, 2024
2 parents 34f30b1 + b233a36 commit 9c49ede
Show file tree
Hide file tree
Showing 20 changed files with 65 additions and 38 deletions.
7 changes: 7 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
### v2.4.8 / 2024-11-17

- @kobalab/majiang-ui 1.4.7 → 1.4.8
- 牌譜エディタがリーチ一発ツモを正しく判定していないバグを修正
- 牌譜ビューアが天鳳牌譜URLのパラメータを解釈するよう修正
- 天鳳牌譜検索フォームのデザインを変更

### v2.4.7 / 2024-11-16

- 牌譜エディタに不正な牌を入力したときに画面が非表示になるバグを修正
Expand Down
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,22 @@ WebSocketによる麻雀サーバーの実装です。

書籍ではサブパッケージの [majiang-core](#majiang-core)[majiang-ai](#majiang-ai) を扱っています。

## ブログ記事

書籍出版以降(ver.2.0.0以降)の情報です。

- 牌譜エディタ
- [牌譜エディタの使い方](https://blog.kobalab.net/entry/2024/10/28/000539)
- [電脳麻将でNAGA解析用のデータを作成する](https://blog.kobalab.net/entry/2024/11/02/223910)
- 麻雀サーバー
- [麻雀サーバーの使い方](https://blog.kobalab.net/entry/2024/02/15/081605)
- [Passportで外部認証を実現する](https://blog.kobalab.net/entry/2024/02/19/211526)
- [ネット対戦の持ち時間設定方法](https://blog.kobalab.net/entry/2024/02/17/120315)
- 点数計算ドリル
- [電脳麻将 ver.2.2.0 公開#健数計算ドリル](https://blog.kobalab.net/entry/2023/12/24/220847#%E7%82%B9%E6%95%B0%E8%A8%88%E7%AE%97%E3%83%89%E3%83%AA%E3%83%AB)
- その他
- [天鳳鳳凰卓統計(2023年)](https://blog.kobalab.net/entry/2024/11/04/215201)

## (旧)ブログ記事

過去のブログ記事。
Expand Down
Binary file added dist/img/icon-squaresearch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 9 additions & 9 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "majiang",
"version": "2.4.7",
"version": "2.4.8",
"description": "HTML5 + JavaScript で動作する麻雀アプリ「電脳麻将」",
"private": true,
"scripts": {
"build:html": "pug -o dist -P src/html/page/",
"build:css": "stylus src/css/index.styl -o dist/css/majiang-2.4.7.css",
"build:css": "stylus src/css/index.styl -o dist/css/majiang-2.4.8.css",
"build:js": "webpack --mode development --devtool inline-source-map",
"build": "npm run build:html && npm run build:css && npm run build:js",
"release": "npm run build:html && npm run build:css && webpack --mode production",
Expand Down Expand Up @@ -33,7 +33,7 @@
"dependencies": {
"@kobalab/majiang-ai": "^1.0.10",
"@kobalab/majiang-core": "^1.3.1",
"@kobalab/majiang-ui": "^1.4.7",
"@kobalab/majiang-ui": "^1.4.8",
"@kobalab/tenhou-url-log": "^1.0.2",
"jquery": "^3.7.1"
}
Expand Down
3 changes: 3 additions & 0 deletions src/css/file.styl
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ body.file
float: right
input[name="url"]
width: 270px
input[type="image"]
height: 22px
opacity: 0.6
.netplay
display: inline-block
img
Expand Down
4 changes: 2 additions & 2 deletions src/html/inc/file.pug
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,5 @@
img(src="img/icon-download-alt.png")
| 牌譜保存
form.tenhou.hide
| 天鳳 牌譜ID:
input(name="url")
input(name="url" placeholder="天鳳 牌譜ID/URL")
input(type="image" src="img/icon-squaresearch.png" alt="検索" align="top")
23 changes: 12 additions & 11 deletions src/html/inc/title.pug
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@
.version ver. #{version}
.loading Loading data...
.start.hide(tabindex="0" role="button") START
.login.hide
form.local(method="POST" action="server/auth/")
input(name="name" placeholder="プレーヤー名")
input(name="passwd" value="*" type="hidden")
input(type="submit" value="登録")
form.hatena(method="POST" action="server/auth/hatena")
img(src="https://www.hatena.ne.jp/p/images/favicon.ico")
input(type="submit" value="Hatenaで登録")
form.google(method="POST" action="server/auth/google")
img(src="https://www.google.com/favicon.ico")
input(type="submit" value="Googleで登録")
if page == 'netplay'
.login.hide
form.local(method="POST" action="server/auth/")
input(name="name" placeholder="プレーヤー名")
input(name="passwd" value="*" type="hidden")
input(type="submit" value="登録")
form.hatena(method="POST" action="server/auth/hatena")
img(src="https://www.hatena.ne.jp/p/images/favicon.ico")
input(type="submit" value="Hatenaで登録")
form.google(method="POST" action="server/auth/google")
img(src="https://www.google.com/favicon.ico")
input(type="submit" value="Googleで登録")
2 changes: 1 addition & 1 deletion src/html/inc/version.pug
Original file line number Diff line number Diff line change
@@ -1 +1 @@
- var version = '2.4.7'
- var version = '2.4.8'
2 changes: 1 addition & 1 deletion src/js/autoplay.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* 電脳麻将: 自動対戦 v2.4.7
* 電脳麻将: 自動対戦 v2.4.8
*
* Copyright(C) 2017 Satoshi Kobayashi
* Released under the MIT license
Expand Down
2 changes: 1 addition & 1 deletion src/js/dapai.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* 電脳麻将: 何切る解答機 v2.4.7
* 電脳麻将: 何切る解答機 v2.4.8
*
* Copyright(C) 2017 Satoshi Kobayashi
* Released under the MIT license
Expand Down
2 changes: 1 addition & 1 deletion src/js/drill.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* 電脳麻将: 点数計算ドリル v2.4.7
* 電脳麻将: 点数計算ドリル v2.4.8
*
* Copyright(C) 2017 Satoshi Kobayashi
* Released under the MIT license
Expand Down
2 changes: 1 addition & 1 deletion src/js/hule.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* 電脳麻将: 和了点計算 v2.4.7
* 電脳麻将: 和了点計算 v2.4.8
*
* Copyright(C) 2017 Satoshi Kobayashi
* Released under the MIT license
Expand Down
2 changes: 1 addition & 1 deletion src/js/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* 電脳麻将 v2.4.7
* 電脳麻将 v2.4.8
*
* Copyright(C) 2017 Satoshi Kobayashi
* Released under the MIT license
Expand Down
4 changes: 2 additions & 2 deletions src/js/majiang.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* 電脳麻将 v2.4.7
* 電脳麻将 v2.4.8
*
* Copyright(C) 2017 Satoshi Kobayashi
* Released under the MIT license
Expand All @@ -9,6 +9,6 @@
global.Majiang = require('@kobalab/majiang-core');
global.Majiang.AI = require('@kobalab/majiang-ai');
global.Majiang.UI = require('@kobalab/majiang-ui');
global.Majiang.VERSION = '2.4.7';
global.Majiang.VERSION = '2.4.8';
global.jQuery = require('jquery');
global.$ = jQuery;
2 changes: 1 addition & 1 deletion src/js/netplay.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* 電脳麻将: ネット対戦 v2.4.7
* 電脳麻将: ネット対戦 v2.4.8
*
* Copyright(C) 2017 Satoshi Kobayashi
* Released under the MIT license
Expand Down
2 changes: 1 addition & 1 deletion src/js/paiga.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* 電脳麻将: 牌画入力 v2.4.7
* 電脳麻将: 牌画入力 v2.4.8
*
* Copyright(C) 2017 Satoshi Kobayashi
* Released under the MIT license
Expand Down
2 changes: 1 addition & 1 deletion src/js/paili.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* 電脳麻将: 牌理 v2.4.7
* 電脳麻将: 牌理 v2.4.8
*
* Copyright(C) 2017 Satoshi Kobayashi
* Released under the MIT license
Expand Down
2 changes: 1 addition & 1 deletion src/js/paipu.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* 電脳麻将: 牌譜ビューア v2.4.7
* 電脳麻将: 牌譜ビューア v2.4.8
*
* Copyright(C) 2017 Satoshi Kobayashi
* Released under the MIT license
Expand Down
2 changes: 1 addition & 1 deletion src/js/rule.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* 電脳麻将: ルール設定 v2.4.7
* 電脳麻将: ルール設定 v2.4.8
*
* Copyright(C) 2017 Satoshi Kobayashi
* Released under the MIT license
Expand Down

0 comments on commit 9c49ede

Please sign in to comment.