-
過去のコミットにバイナリファイル bcdice.exe が含まれるため、リポジトリサイズが400MBほどになっている。Cloneやsubmoduleの解決時に毎回このサイズのダウンロードが行われるのは困るので、ダイエットさせたい。
コミットログを改変し、 bcdice.exe を除去することでリポジトリダイエットする。コミットログの改変をすると、コミットハッシュが変わるため、BCDiceをs…
-
## 問題の概要
加算ダイスに以下のように極端に大きな数が含まれると、桁数が合わない小さな値が出力される。
```
1D6*1504642339053716000000
(1D6*1) > 2[2]*1 > 2
```
## 原因
JavaScriptで浮動小数点数と整数が区別されないというRubyとの差を吸収するために様々なところに `#to_i` を付加するパッチ…
-
BCDiceがどどんとふから離れたことで、choiseなどの基本コマンドのヘルプメッセージがエンドユーザーに対して届かなくなっているため、エンドユーザーマニュアルを作る必要性が高い。
作るのは確定として、どの媒体を用いるかという問題がある。
思いつく限りの候補は以下。
- bcdice.org の小ページ
- [gitbook](https://www.gitbook.com/)
…
-
Hi.
I installed this gem through Gemfile on an Rails 6.1 app.
```
# my other gems
.
.
.
gem 'bcdice'
```
after I installed it, then i typed `rails s` to start local server, there was…
-
-
ダブルクロスの達成値ロールにて、C値を固定値の前に置く記法についてです。
固定値の四則演算は正しく機能します。例えば
10dx8+(5+5)
はC値8、固定値+10として認識されます。
また、C値の四則演算も正しく機能します。例えば
10dx(8-1)+5
はC値7、固定値+5として認識されます。
しかし、これらを同時に行おうとすると正しく機能しないようです。例えば
10dx(8-…
tonby updated
3 years ago
-
キルデスビジネスのJDコマンドにおける難易度と補正値の区切りは+か-になっているが、
これだと負数が展開された時に符号が重なってしまう場合があるため、使いづらい場合がある
それらを踏まえ、現状のコマンドに加えて下記のものも使えるようにしたい
JD5,3,1
JD7,-1,3
-
# 現象
特定システムで `2d>=` のように目標値無しのコマンドで例外が発生する。
```
============================
input:
2d6>= 目標値無し
output:
Insane : (2D6>=) > 7[3,4] > 7 > 失敗
rand:3/6,4/6
============================
```
…
-
Ver2ではテストデータは独自フォーマットで記述されているが、bcdice-jsなどの他言語のプロジェクトから利用する観点から好ましくないので、普及しているファイルフォーマットで記述したい。
Ver3からはTOMLを作用する
## 例
### ShinobiGami.toml
```toml
[[ShinobiGami]]
input = "s2d6"
output = …
-