Author Topic: DotA Stock Market Game  (Read 28984 times)

undefinedx

  • Global Moderator
  • Beyond Godlike
  • *****
  • Posts: 2135
  • top with blackthumb
  • Awards Owner
    • View Profile
    • DotA [void]
    • Awards
  • Verified Accounts:
    undefinedx
DotA Stock Market Game
« on: June 07, 2012, 04:52:34 PM »
I wrote another "minigame" today that emulates the stock market using hero scores as stocks.  Hero scores in this game are only from the past 7 days.  The idea is to buy stocks in heroes you think are going to do well, and sell stocks when you think heroes are about to do bad.  You start with $100 and stocks cost $5 on average (so you can buy about 20 initially).  So buy stocks, play heroes to bring up their 7-day average score, and then sell stocks.  And you get props for doing well and not going broke lol.

You can play it here: http://www.dota-void.com/forum/stocks.php

I'm out of time for today, but I'll throw up a leader board sometime.
« Last Edit: November 08, 2016, 04:24:23 PM by Honey-Badger »
[spoiler]
T25seSB0aGUgc3Ryb25nZXN0IHdpbGwgc3Vydml2ZQ0KTGVhZCBtZSB0byBoZWF2ZW4gd2hlbiB3ZSBkaWUNCkkgYW0gdGhlIHNoYWRvdyBvbiB0aGUgd2FsbA0KSSdsbCBiZSB0aGUgb25lIHRvIHNhdmUgdXMgYWxs
[/spoiler]

Monsters

Re: DotA Stock Maket Game
« Reply #1 on: June 07, 2012, 04:56:03 PM »
wait shuldent the heroes with less scores be worth less?

undefinedx

  • Global Moderator
  • Beyond Godlike
  • *****
  • Posts: 2135
  • top with blackthumb
  • Awards Owner
    • View Profile
    • DotA [void]
    • Awards
  • Verified Accounts:
    undefinedx
Re: DotA Stock Maket Game
« Reply #2 on: June 07, 2012, 04:58:21 PM »
Fixing it now.  I'm going to make heroes with the least games more expensive because it will be easier to bring up their score.  And heroes with lots of games will be cheaper because it's harder to change their 7-day average score.

And, I managed to lose money already :'(
Quote
Total worth: $99.89
[spoiler]
T25seSB0aGUgc3Ryb25nZXN0IHdpbGwgc3Vydml2ZQ0KTGVhZCBtZSB0byBoZWF2ZW4gd2hlbiB3ZSBkaWUNCkkgYW0gdGhlIHNoYWRvdyBvbiB0aGUgd2FsbA0KSSdsbCBiZSB0aGUgb25lIHRvIHNhdmUgdXMgYWxs
[/spoiler]

undefinedx

  • Global Moderator
  • Beyond Godlike
  • *****
  • Posts: 2135
  • top with blackthumb
  • Awards Owner
    • View Profile
    • DotA [void]
    • Awards
  • Verified Accounts:
    undefinedx
Re: DotA Stock Maket Game
« Reply #3 on: June 07, 2012, 05:18:33 PM »
Ok I am done for real this time.  Price is proportional to hero score.

@The two people who were buying stuff when I reset the game, sorry - it's safe to buy/sell without me messing things up again ;)
« Last Edit: June 07, 2012, 05:25:48 PM by undefinedx »
[spoiler]
T25seSB0aGUgc3Ryb25nZXN0IHdpbGwgc3Vydml2ZQ0KTGVhZCBtZSB0byBoZWF2ZW4gd2hlbiB3ZSBkaWUNCkkgYW0gdGhlIHNoYWRvdyBvbiB0aGUgd2FsbA0KSSdsbCBiZSB0aGUgb25lIHRvIHNhdmUgdXMgYWxs
[/spoiler]

intro_man

  • GodLike
  • ****
  • Posts: 1516
  • PM me if you have any questions
    • View Profile
    • Awards
  • Verified Accounts:
    BrownGardener
Re: DotA Stock Maket Game
« Reply #4 on: June 07, 2012, 05:20:33 PM »
This sounds great, but I have one question. Is there anyway you could add a Buy x (Amount) or Sell x (amount) Other than that this sounds fun!

DotA [void] Forums

Re: DotA Stock Maket Game
« Reply #4 on: June 07, 2012, 05:20:33 PM »

undefinedx

  • Global Moderator
  • Beyond Godlike
  • *****
  • Posts: 2135
  • top with blackthumb
  • Awards Owner
    • View Profile
    • DotA [void]
    • Awards
  • Verified Accounts:
    undefinedx
Re: DotA Stock Maket Game
« Reply #5 on: June 07, 2012, 05:27:28 PM »
This sounds great, but I have one question. Is there anyway you could add a Buy x (Amount) or Sell x (amount) Other than that this sounds fun!
Yeah that's a great idea.  I'm planning to add it, but I don't think I'll have time today.  When I was testing it, the easiest way was to middle-mouse-click "buy" so that I could open like 10 tabs of the "buy" option - which is like buying x10 without having to wait for the page to refresh 10 times.
[spoiler]
T25seSB0aGUgc3Ryb25nZXN0IHdpbGwgc3Vydml2ZQ0KTGVhZCBtZSB0byBoZWF2ZW4gd2hlbiB3ZSBkaWUNCkkgYW0gdGhlIHNoYWRvdyBvbiB0aGUgd2FsbA0KSSdsbCBiZSB0aGUgb25lIHRvIHNhdmUgdXMgYWxs
[/spoiler]

intro_man

  • GodLike
  • ****
  • Posts: 1516
  • PM me if you have any questions
    • View Profile
    • Awards
  • Verified Accounts:
    BrownGardener
Re: DotA Stock Maket Game
« Reply #6 on: June 07, 2012, 05:28:51 PM »
Alright sounds good, take your time.

undefinedx

  • Global Moderator
  • Beyond Godlike
  • *****
  • Posts: 2135
  • top with blackthumb
  • Awards Owner
    • View Profile
    • DotA [void]
    • Awards
  • Verified Accounts:
    undefinedx
Re: DotA Stock Maket Game
« Reply #7 on: June 07, 2012, 05:50:36 PM »
I'm probably going to add a small "fee" for buying/selling (like real stocks).  Also, I'm probably going to add in a delay on the stats (also like real stocks).

So hurry while there are no fees and stats are real-time! Haha.
[spoiler]
T25seSB0aGUgc3Ryb25nZXN0IHdpbGwgc3Vydml2ZQ0KTGVhZCBtZSB0byBoZWF2ZW4gd2hlbiB3ZSBkaWUNCkkgYW0gdGhlIHNoYWRvdyBvbiB0aGUgd2FsbA0KSSdsbCBiZSB0aGUgb25lIHRvIHNhdmUgdXMgYWxs
[/spoiler]

intro_man

  • GodLike
  • ****
  • Posts: 1516
  • PM me if you have any questions
    • View Profile
    • Awards
  • Verified Accounts:
    BrownGardener
Re: DotA Stock Maket Game
« Reply #8 on: June 07, 2012, 07:37:22 PM »
Quote
Total worth: $113.63

HamNCheese

Re: DotA Stock Maket Game
« Reply #9 on: June 07, 2012, 08:03:58 PM »
im buy tech's stock

BlizzCast

  • Guest
Re: DotA Stock Maket Game
« Reply #10 on: June 07, 2012, 08:18:49 PM »
Quote
Total worth: $100.02

HamNCheese

Re: DotA Stock Maket Game
« Reply #11 on: June 07, 2012, 08:57:49 PM »
Quote
Welcome back, HamNCheese!
Available funds: $100.19 | Total worth: $100.19
FU*k YA, i make 19 cents
« Last Edit: June 07, 2012, 09:00:51 PM by HamNCheese »

undefinedx

  • Global Moderator
  • Beyond Godlike
  • *****
  • Posts: 2135
  • top with blackthumb
  • Awards Owner
    • View Profile
    • DotA [void]
    • Awards
  • Verified Accounts:
    undefinedx
Re: DotA Stock Maket Game
« Reply #12 on: June 07, 2012, 10:08:31 PM »
Alright the leaderboard is up at the bottom of the stats page.  Props to intro_man for making us all look bad ;)

It will update everyday around 1am like most of the other tables on the stats page.


Edit: The update is at 5am actually.
« Last Edit: June 07, 2012, 11:57:00 PM by undefinedx »
[spoiler]
T25seSB0aGUgc3Ryb25nZXN0IHdpbGwgc3Vydml2ZQ0KTGVhZCBtZSB0byBoZWF2ZW4gd2hlbiB3ZSBkaWUNCkkgYW0gdGhlIHNoYWRvdyBvbiB0aGUgd2FsbA0KSSdsbCBiZSB0aGUgb25lIHRvIHNhdmUgdXMgYWxs
[/spoiler]

lancer611

Re: DotA Stock Maket Game
« Reply #13 on: June 07, 2012, 10:17:39 PM »
Awesome stuff man =P  Is there a way to see how much each of your stocks have made/lost individually?

undefinedx

  • Global Moderator
  • Beyond Godlike
  • *****
  • Posts: 2135
  • top with blackthumb
  • Awards Owner
    • View Profile
    • DotA [void]
    • Awards
  • Verified Accounts:
    undefinedx
Re: DotA Stock Maket Game
« Reply #14 on: June 07, 2012, 10:51:36 PM »
Thanks!  Not atm, because there's not really any buy/sell history.  But that's a good idea.  I'll just have to track what the stocks were worth at the time they were bought/sold.
[spoiler]
T25seSB0aGUgc3Ryb25nZXN0IHdpbGwgc3Vydml2ZQ0KTGVhZCBtZSB0byBoZWF2ZW4gd2hlbiB3ZSBkaWUNCkkgYW0gdGhlIHNoYWRvdyBvbiB0aGUgd2FsbA0KSSdsbCBiZSB0aGUgb25lIHRvIHNhdmUgdXMgYWxs
[/spoiler]

DotA [void] Forums

Re: DotA Stock Maket Game
« Reply #14 on: June 07, 2012, 10:51:36 PM »