Diceware English Word List - GitHub Gist
Diceware English Word List. GitHub Gist: instantly share code, notes, and snippets ... Diceware.com Dice-Indexed Passphrase Word List. Page 1. 11111 a. 11112 a&p.
Diceware English Word List. GitHub Gist: instantly share code, notes, and snippets ... Diceware.com Dice-Indexed Passphrase Word List. Page 1. 11111 a. 11112 a&p.
Dice.java. This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Instantly share code, notes, and snippets. ... // Get total number of dice to roll. private static int getNumberOfDice() {. int dice = 0;. System.out.print("How ...
Dice.java. This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters.
This program simulates the rolling of dice. GitHub Gist: instantly share code, notes, and snippets.
Instantly share code, notes, and snippets. @illucent · illucent/dice.py ... Quick little program to generate passphrases from the diceware word list. (I ...
DiceGame_Dice.java. This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Fork Raw Dice.java Learn more about bidirectional Unicode characters import java.text.MessageFormat; import java.util.Random; public class Dice { private static final Random RANDOM = new Random (); private final int sides; public Dice (int sides) { this.sides = sides; } public int getSides () { return sides; } public DiceResults roll (int ...
#!/usr/bin/env ruby. require 'securerandom'. def diceword(words). key = 5.times.map { (SecureRandom.random_number(6) + 1).to_s } .join(''). words[key].
Dice.java. This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters.
Created December 17, 2015 15:11 Raw Dice.java Learn more about bidirectional Unicode characters Show hidden characters package dice; import java.util.Random; public class Dice { private int faceValue; public Dice () { } public Dice (int faceValue) { this.faceValue = faceValue; } public int getFaceValue () { return faceValue; } public void roll () { Random roller = new Random (); faceValue ...
#!/usr/bin/env ruby. require 'pp'. require 'optparse'. class DicewarePassphrase. BANNER = <<-STR. Usage: #{File.basename($0)} [opts].
dice.java. This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters.
The lines with //fudge factor can be changed to create the scoring normalization you want. I found it curious that "A" seemed to be more common than "E" in the ...
Last active April 28, 2023 06:11 Fork Raw Dice.java Learn more about bidirectional Unicode characters Show hidden characters import java.util.Random; public class Dice { private Random random; private Integer faces; private Integer baseOffset; public Dice (int faces) { this.random = new Random (); this.faces = 6; this.baseOffset = 0; } public Integer rollDice () { return baseOffset + random ...
GitHub Gist: instantly share code, notes, and snippets.