[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/sci/ - Science & Math


View post   

File: 126 KB, 1920x1541, 1520487468308.jpg [View same] [iqdb] [saucenao] [google]
12197520 No.12197520 [Reply] [Original]

Let's say I have the following:

>Game weapon
>Types of weapon
>Ammo cardtridge
>Ammo elements type
>Darkness Light shield
>Ammo Trail
>Type of armour
>Shield resistance stamina

Let's say these elements are designed in RPS groups.

How many elements each one should have to have at least a million possible combinations, or a billion, or 10 billion combinations?

>> No.12197526

>>12197520
Just have 10 billion ammo elements and one of each of the other things.

>> No.12197528

>>12197526
It's a serious question.

I'm math dumb, so I want a good aproximation for my game.

>> No.12197564

>>12197528
https://www.mathsisfun.com/combinatorics/combinations-permutations.html#

Here u go anon, I'm pretty sure website has a calculator in there somewhere as well.

>> No.12197886

You just multiply the numbers of elements in all categories.

>> No.12197913

>>12197520
Usually for conbinations try this rule
If you can have A AND B you multiply for A OR B you add
So if you can have
shotgun or pistol or sniper
and fire or acid or darkness or poo ammo
and rune or adamantine armor
It is (1+1+1)
*
(1+1+1+1)
*
(1+1)

So 3 * 4 * 2 = 24 combinations

>> No.12197947

>>12197520
>>12197913
I think weapon type and game weapon are not separate “things”
It seems you have 7 categories
So if you have an equal amount of items in each category you can just pick a number and put it to the power of 7
(E.g. 2 of each category weapon type, cartridge type, cartridge element, etc, will be 2^7 = 128
20^7 = 1.2 billion
So something close to but over 20, didnt feel like continuing
If you cant think of 20 of each, e.g. only 3 weapon elements, then do 3 * 20^6
Instead of seven

>> No.12197988

>>12197520
>>Ammo cardtridge
>>Ammo elements type
>>Darkness Light shield
what? magical armor in a modern shooter? does not compute
also >>>/v/

>> No.12198011

>>12197988
Literally a math question