Skip to content

Instantly share code, notes, and snippets.

View Anmint's full-sized avatar

AnMint Anmint

  • japan
View GitHub Profile
@Anmint
Anmint / coc7th_opposite_roll.ipynb
Last active January 10, 2019 12:34
Call of Cthulhu 7thの対抗ロールの成功確率を計算
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Anmint
Anmint / org-clock-time%-mod.el
Last active June 30, 2020 07:59
more precise percentage for clock table in org-mode
;; Copyright (C) 2017 by Anmint
;; Author: Anmint <anmint at outlook.com>
;; URL:
;; Version: 0.01
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
@Anmint
Anmint / dice_sim_CoC7th.py
Created January 12, 2017 15:01
Simulation of bonus/penalty dice in CoC 7th
# -*- coding: utf-8 -*-
import numpy as np
from numpy.random import *
import matplotlib.pyplot as plt
from matplotlib.font_manager import FontProperties
def main():
LOOP_TIME = 10000
# Roll three dices for bonus and penalty rule in CoC 7th
Rhigh1 = randint(0,10,LOOP_TIME)