Giter Club home page Giter Club logo

randomix's Introduction

Randomix

An open source app to choose randomly between numbers, answers, options and so on.

Introduction

This is an open source app created to experiment some new android features, but it's also available on Play Store and F-Droid for all users. The main purpose of the app is provide a random choice in different ways. The app contains some basic personalization options and an introduction, plus a lot of animated vector drawables. The design is a bit personal, but it mostly follows the guidelines.

Translations (refer to Crowdin)

LANGUAGE SPECIAL THANKS
English myself, cosmojg
Italian myself
Spanish myself
German deep-ocean-fish, julius-d
Russian BValeo
French Firokat
Portuguese Kiskadee-dev
Brazilian Kiskadee-dev
Czech Miloš Koliáš, mormegil-cz
Simplified Chinese pumguy
Indonesian the7thNightmare
Chinese (Taiwan) Still34
Asturian Softastur
English (GB) SecularSteve
Dutch SecularSteve
Bosnian SecularSteve
Croatian SecularSteve
Serbian SecularSteve
Serbian (latin) SecularSteve

Special thanks to Nickoriginal for the overall improvement of each translation

Features

  • Every tab in the bottom navigation bar contains a type of random choice. The available types are:
    • Roulette -> chooses between a specified number of options or a custom number range, entered from the user. Includes a list of recent options easy to select, pin, delete or restore.
    • Coin -> simply flips a coin and prints the result.
    • Dice -> throws a chosen number of dice and prints the result.
    • Magic Ball -> provides randomly chosen answers to any question.
  • Light and dark themes (Automatic dark mode supported)
  • Full Material You support
  • Selectable accent (no app restart needed)
  • Up to 10 dice, 3v3 mode
  • The app remember the last used mode
  • Roulette presets for letters and numbers
  • Custom ranges (values from 0 to 99999)
  • Customizable magic ball answers
  • Multiwindows support
  • Android 12 animated splashscreen supported
  • Android 13 per-app language support
  • Android 13 themed icon support
  • First time introduction
  • Rate the app dialog
  • Simple and precise UI, following Google guidelines
  • Allow equal options, dice number, rude answers, remove last chosen option in the roulette
  • Sounds, vibration and other options
  • Small size (~4MB), optimized code
  • Available in many languages (see the table above)

Screenshots

Download

The app is now available through Google Play and F-Droid.

Get it on F-Droid Get it on Google Play

Credits and contributions

Randomix uses an open source library:

Currently, Randomix supports the languages in the above table. If you want to translate the app in any other language or update an existing translation, just contact me or send a pull request: you'll be quoted both on Github and in the Play Store description.

This app was written during my free time as a training. It was first published on June 1, 2018. Many good devs have helped me understanding the best practices and they taught me a lot of useful tricks. A special thank to every contributor. and God bless Stack Overflow.

randomix's People

Contributors

bvaleo avatar cosmojg avatar firokat avatar julius-d avatar kiskadee-dev avatar m-i-n-a-r avatar mormegil-cz avatar nickoriginal avatar poussinou avatar pumguy avatar softastur avatar still34 avatar the7thnightmare avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

randomix's Issues

Document entropy source

AFAICTY java.util.Random is used as RNG. java.util.Random isn't cryptographically secure. It would be nice if this is documented in the README/description.

enhancement: speed setting for magic ball response

Hi,
the app is wonderful.
Now I do not have to ask Google to throw a coin.
As for the magic ball, could you perhaps make the scroll speed of the response adjustable? Or give an option to speed it up by tapping on it?
Some of the sentences are rather long.

Please implement backups for Seedvault

Starting from Android 12, you can configure on your phone a Seedvault backup, in which, after writing down a series of randomly chosen English words, you can start backing up all your apps and app data from your device regularly to a Seedvault server somewhere.

I did this on my LineageOS device and, after doing so, I checked the list of apps that had been backed up (as well as the apps which haven't) and, to my surprise, I've found randomix to not have backed up anything. Apparently the app reported "No data for backup".

I would like for this to change, especially since I have saved in the app a long past history list of roulette options which, if my phone was ever lost or stolen, I would like to be restored on a new device from my backups.

Can you please implement this?

collaboration, checklists, life, etc

hey there minar from italy!

cregox from portugal here.

this should probably be an email but I generally prefer to speak in public, so please bear with me.

  • first of all, how about instead of keeping reinventing the wheel, collaborating with other open source projects that already exist, such as gear61 Gear61/Random-Number-Generator#47 ? this point is actually a double point.
  • if I was going to build a checklist for things that are needed in such an app, we would get a lot of issues in this one. wait in fact I have built a minor checklist: https://cregox.net/caxanga
  • I'm bringing those points because I identify a lot with you, like I do with a lot of other coders. I mean at least myself around 15 years ago. at this point I just want to keep it short and tell you: there's a lot more to life than what I can see in your eyes right now.
  • to reinforce the first double point, and randomness in general (in fact serendipity is all around this message), you might want to keep in mind that randomness and chaos are so much bigger than just being unpredictable. in fact the java pseudo random number generator you use here is not even that unpredictable at all.

above all, thanks for doing this little nice app and making it open and free!

it did trigger my curious quest today, and I do appreciate it. in a way it was thanks to you.

I know this all sounds crazy. that's because it is.

cheers. 😘

Enhancement: Custom Magic Ball answers

I think it would be neat if it were possible to add/remove answers to the existing magic ball answer-pool.

Additionally, it might make sense to add support for user-defined answer-sets at the same time. This way, if one wants to revert to the "vanilla" set, they can do so while preserving their custom set for a later session.

I'm not intimately familiar with Java, or Android development for that matter, but if you'd like the assist on this feature request I'm more than willing to lend my development skills however I can. :)

Configurable chances in Roulette page?

I think it's more common the case that we don't want each options in roulette to have the equal chance to be chosen, so I suggest making chances of each options configurable, or simply allowing duplicated options.
Suggested method: long press an option to create a copy of it.
Thanks for making this amazing app!

Long-pressing roulette deletes all options

Hey,
I noticed that if you long press the roulette button after you have added your options, everything is wiped. Also, they are not listed in "recent option" section. The long-pressing action may be accidental and so the deletion (that's what happened to me).

It would be nice if there was a bin icon to empty roulette, or at least an option to disable this behavior.

Auto-rotation not respecting system setting

Hi!

Auto-rotation happens whether or not it's enabled as a system setting. This makes it really annoying to use when lying down. The app should use the system setting and not rotate on its own.

Thank you for the app. It's very pleasant to use :)

Random number generator

A cool addition would be an RNG, where you can choose a range and generate one or more numbers from that range.

Suggestion

The icon would look a lot better if the icon can be changed to a modern flat one.
Same design but flat and basic colors (no gradient).

Also, remove the gradient splash screen as it does not match with the beautiful MD3 UI of this app.

Edit: I meant the intro screen only.

Feature request: multi-sided dice

Randomix is great to use in-person, and for those of us who enjoy tabletop games like DND, the option to have D3, D4, D8, D%, D12 and D20 dice would be great on top of the existing D6.

Random number generator

First of all, thank you very much for the awesome app.

I suggest an option to generate a random number between a predefined range chosen by the user.

More dice, different dice

I'm thinking it would be cool if we could use the Dice functionality to play games using D10s (and maybe also D4, D8, D12, D20, D48, D100, and D120 dice).

It would also be nice if we could select the type & amount of dice on the fly, instead of having to go into the settings. If it's doable, I think up to a maximum of 10 dice vs the current 3 dice.

Thanks for making this app. I'm an indecisive person, and finding it in F-Droid made my day!

Set default tab or remember alst used one

I use the app almost exclusively for dice rolls and rarely ever touch the roulette, so I wonder if you could add a setting to choose a default tab or go to the last used tab at startup? Thanks!

Accent color slider

Would it be possible to add the ability to choose the accent color with a customizable color space slider?

Sice menu typo

Small little thing. In the dice menu it says you can only do 1 to 3 dice at one time but in the settings you are able to do a lot more than 3

Language translation offer

I offer to translate the app into the following languages:

-Dutch
-British English
-Bosnian
-Croatian
-Serbian

I'm also proficient at:
-German

optional setting to disable descriptions

Very cool app! I've got a simple suggestion: put a toggle in "settings" to be able to turn off the descriptions at the top of each page (e.g., "Flipping a coin is easy, but...", etc.). Once you've used the app for a while you know what the pages do and being able to toggle those descriptions on or off would allow for a cleaner look.

Roulette limited to 15 options

Hey,

I quite like this app, but I sadly can't use Roulette Mode for my use case because it is limited to 15 options.

Let me describe my use case:
Every Saturday, I go and play an online game with some friends, with several game modes each having their own maps. To keep the evening varied, we like to play every game mode and each time play a random map.

However, a few of the game modes have more than 15 maps (one mode has almost 30 maps) so this means I can't put the random map selection of that mode into the Roulette feature.

Any chance this limit could be increased, especially given 2 of the recent options (A-Z Letters and 1-100) both use more than 15 entries?

Range Roulette always generates same sequence after app restart

Thanks a lot for this app! We've observed that the Range Roulette always generates the same sequence of events. The sequence seems to be different on different phones, but restarting the app and e.g. creating a roulette with range 1-20 always generates the same sequence of rolls.

Looking at the code, it seems that Range Roulette is relying on ThreadLocalRandom:

if (inRangeMode) {
// Best way to generate number in range
n = ThreadLocalRandom.current().nextInt(minValue, maxValue + 1);

Apparently, this is a bug in ThreadLocalRandom in Android 8 and above, see e.g. those bug reports Kotlin Issue KT-52618, Android Issue 234631055 and Android Issue 181797098

While this will be fixed in upcoming versions of Android, it might be still worthwhile working around this Android bug in randomix to prevent cheating.

Add country randomizer

Thank you for beautiful app! I suggest to add country randomizer with country names and its flags. Sometimes it may be userful.

Save/Load custom option list in the rulet mode?

I love your app and the GUI design is gorgeous! and I have a suggestion that would be useful for some situation when the options are always the same and it's cumbersome to write them again, specially when there are more than 4.
It could be great to have the option to load them from saved lists or presets.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.