Adelie Penguin
Adelie   United States
 
 
maybe eventually ill make a game, but for now im just learning the same coding technique over and over again.
Offline
The Steam Item Algorithm
Ok ok... so steam had a ♥♥♥♥ ton of items (mainly cards) that can be sold or turned into gems, which can be packed into sacks of 1000 and sold.. Obviously, if you can only do one of those two things, do that, but things like trading cards are more complicated. So I've made an algorithm to figure out weather turning an item into gems or just selling it is more profitable. Let's take 1000, which is how many gems it takes to make a sack, and divide it by how many gems the individual card can be turned into (lets mark that with G ). Then, multiply that number by the price of the individual card (marked as P . That number is how much you could get if you sold that card as many times as you'd need to scrap it to make a sack. Compare that number to the current price of a sack (marked with $ ). If it is lower, make it into gems, if it is higher, sell it. The equation written out is true or false inequality, .Px(1000/G)>$ . If it is true, sell, if not, turn into gems. If they are the same you can chose.
Attività recente
20 ore in totale
Ultimo avvio: 17 mag
Achievement   29 di 63
226 ore in totale
Ultimo avvio: 17 mag
Achievement   3 di 75
164 ore in totale
Ultimo avvio: 17 mag
Achievement   17 di 49
Commenti
CiPnet 25 mar 2017, ore 14:13 
im not
Adelie Penguin 22 mar 2017, ore 21:46 
dont lie
CiPnet 21 mar 2017, ore 22:26 
+rep not a crabby zombie lol
Deadcreepr 6 set 2016, ore 18:33 
ded
Adelie Penguin 5 set 2015, ore 18:58 
derp