Popularity
2.5
Growing
Activity
0.0
Stable
15
2
1
Monthly Downloads: 0
Programming language: Elixir
License: MIT License
Tags:
Examples And Funny Stuff
dice alternatives and similar packages
Based on the "Examples and funny stuff" category.
Alternatively, view dice alternatives based on common mentions on social networks and blogs.
-
changelog.com
Changelog is news and podcast for developers. This is our open source platform. -
magnetissimo
Web application that indexes all popular torrent sites, and saves it to the local database. -
real world example app
Exemplary real world application built with Elixir + Phoenix -
phoenix-chat-example
๐ฌ The Step-by-Step Beginners Tutorial for Building, Testing & Deploying a Chat app in Phoenix 1.7 [Latest] ๐ -
phoenix-liveview-counter-tutorial
๐คฏ beginners tutorial building a real time counter in Phoenix 1.7 + LiveView 0.18 โก๏ธ -
phoenix-ecto-encryption-example
๐ A detailed example for how to encrypt data in an Elixir (Phoenix v1.7) App before inserting into a database using Ecto Types -
coderplanets.com
coderplanets.com API(GraphQL) server, build with elixir, phoenix, absinthe -
phoenix-todo-list-tutorial
โ Complete beginners tutorial building a todo list from scratch in Phoenix 1.7 (latest) -
phoenix-flux-react
An experiment with Phoenix Channels, GenEvents, React and Flux. -
hello_phoenix
Application template for SPAs with Phoenix, React and Redux -
portal
A tutorial for shooting fault-tolerant portals for distributed data-transfer application in Elixir -
ex_iss
An elixir wrapper for Open Notify's International Space Station API. http://open-notify.org/
ONLYOFFICE Docs โ document collaboration in your environment
Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises
Promo
www.onlyoffice.com
Do you think we are missing an alternative of dice or a related project?
Popular Comparisons
README
Dice
Test the results of rolling different sided dice.
Add as Dependency
{:dice, "~> 0.0.1"}
Build CLI App
mix escript.build
Run CLI App
./dice $num_trials $num_sides_die_1 $num_sides_die_2 $num_sides_die_3 ...
Use Library
# Create 2 x 6-sided die
dice = Dice.new([6, 6])
# Roll the dice
result = Dice.roll(dice)
# => 7
# Run several trials of the dice
results = Dice.trials(dice, 1000)
# => %{2 => 19, 3 => 52, 4 => 53, 5 => 81, 6 => 89, 7 => 167, 8 => 158, 9 => 118, 10 => 118, 11 => 86, 12 => 59}