Author Topic:  Poker in TM  (Read 2224 times)

0 Members and 1 Guest are viewing this topic.

#

  • Member
  • ***
  • Posts: 158
  • I don't do much here.
  • Awards Month 1 members w/25+posts (4/21/13-5/12/13) 1 year on site
    • View Profile
    • Awards
  • Xbox: HellomeZodoz
Poker in TM
« on: February 28, 2016, 05:51:25 PM »
Hey guys, thought I'd show you something I've been working on for a bit. May not seem like it, but it was a pretty big project. It's Poker in TM. It is a fully functional game with an intelligible AI to go up against. Here's a video of me playing/poorly explaining it:

Spoiler for Hidden Content:

I did a pretty poor job explaining stuff in the video, so here's a few more details. In the video, the red notifications are for me to locate if there is any problems with a script or if something didn't go off and the blue ones are the actual notifications you would see. I also didn't realize that I had a 200 wait command and not a 2000 on the fold, so that's the weird jump when trying to show the AI's hand. I was also going to represent the game with HUDs, but I didn't want to spend a year designing all the cards for all 9 card slots, so I made physical cards and since I was bored, I made a little place to play it.

 I made it so you play against an AI because IsRandom didn't always generate the correct cards for remote players and I wanted it to be reliable. The AI is also based on a hand-strength system meaning that the AI doesn't just randomly choose a move for no reason, it chooses to bet, call, raise, ect., depending on how strong it's hand is and how much value it gets from doing so (Its rate of return).

 The deal and AI scripts were pretty lengthy because I wanted to make the win check a lot easier, so when it deals a card it stores not only the individual card, but also it's suit and face value. The AI because I wanted to try to make it a more realistic experience so it at least sort of felt like you were going up against an actual person. The deck is "shuffled" after ever hand as well. Not sure if that's what happens in actual poker games, but I though it made sense :P.

 The win check is based on a numerical value, so after it calculates your hand, it assigns them accordingly (EX: Pair = 1, 2 Pair = 2, 3 of a kind = 3, ect). Also, don't mind the organization of the scripts, I get really lazy  ::).

Not the best execution in the world when it comes to looks, but I personally think the mechanics of it was pretty cool. The dealing of the cards was pretty easy, but the AI was the "fun" part.

tl;dr: It was a lot of work


Sorry for the essay, there was a lot to explain for those who care to read :). If anyone has any questions, thoughts, or opinions, then let me know.
#ThisTook2MuchTime

casual onion

  • Legendary Member
  • *****
  • Posts: 1835
  • I sometimes eat onions.
  • Awards 3 years on site 2 years on site 1 year on site
    • View Profile
    • YouTube Channel
    • Awards
  • Xbox: casual onion
  • Steam: casual onion
Re: Poker in TM
« Reply #1 on: February 28, 2016, 06:11:35 PM »
Wow, that is amazing! Good work!
| Thanks for reading my post. It was great, wasn't it? |

| I build Economy RPG Maps, here i my current one. Hazzah! |

| Feel Free to send me a message on here on the TM Discord (casual onion#3563) |

| Enjoy the next post! |

Dryym

  • Supreme Member
  • *****
  • Posts: 4334
  • What's yours is mine. ~TM's Resident Master Thief~
  • Awards Members who have unlocked the robotic avatar Awarded to exemplary forum members 2 years on site 3 years on site Site art contributions/TPs in-game/Contest winners 1 year on site
    • View Profile
    • Awards
  • Xbox: dryym
Re: Poker in TM
« Reply #2 on: February 28, 2016, 06:36:57 PM »
#ThisTook2MuchTime

See, This is why I don't bother with this stuff. XD


Serious question. Why didn't you make some sort of flashy graphical screen out of HUD bars? That way this could actually be used in people's worlds as a sort of minigame.

Creator of the term "Deathmine "
Jared [19|Oct 07:12 PM]: "It changes everything" Dryym

#

  • Member
  • ***
  • Posts: 158
  • I don't do much here.
  • Awards Month 1 members w/25+posts (4/21/13-5/12/13) 1 year on site
    • View Profile
    • Awards
  • Xbox: HellomeZodoz
Re: Poker in TM
« Reply #3 on: February 28, 2016, 06:52:02 PM »
Serious question. Why didn't you make some sort of flashy graphical screen out of HUD bars? That way this could actually be used in people's worlds as a sort of minigame.

I originally was planning to, but it was starting to take an absurd amount of time making just one card in one slot. Since you can't offset HUD positions, I didn't want to spend all that time making all that. Plus, I doubt anyone would want to import all the scripts into their world anyway, I was pretty unorganized with the naming of scripts and folders :P.

It wouldn't be too hard to add, just extremely tedious.

Dryym

  • Supreme Member
  • *****
  • Posts: 4334
  • What's yours is mine. ~TM's Resident Master Thief~
  • Awards Members who have unlocked the robotic avatar Awarded to exemplary forum members 2 years on site 3 years on site Site art contributions/TPs in-game/Contest winners 1 year on site
    • View Profile
    • Awards
  • Xbox: dryym
Re: Poker in TM
« Reply #4 on: February 28, 2016, 07:11:07 PM »
I originally was planning to, but it was starting to take an absurd amount of time making just one card in one slot. Since you can't offset HUD positions, I didn't want to spend all that time making all that. Plus, I doubt anyone would want to import all the scripts into their world anyway, I was pretty unorganized with the naming of scripts and folders :P.

It wouldn't be too hard to add, just extremely tedious.

Fair enough. That's the same reason I have yet to make a weight system. It'd be easy, But without item grouping, It would take an absolute age.


I guess if I want a card game minigame I'll have to make it myself.
Maybe I'll do blackjack or something, That should be ridiculously simple compared to this.
« Last Edit: February 28, 2016, 07:12:58 PM by Dryym »

Creator of the term "Deathmine "
Jared [19|Oct 07:12 PM]: "It changes everything" Dryym

Jared

  • Supreme Member
  • *****
  • Posts: 2492
  • |Trivia & Maze Designer| |Previous TMF Tester|
  • Awards 3 years on site 4 years on site Members who have unlocked the robotic avatar 2 years on site Former MotM winners 1 year on site
    • View Profile
    • Awards
  • Xbox: Jeff McNewmen
  • PSN: Jeff_McNewmen
  • Steam: Jeff McNewmen
Re: Poker in TM
« Reply #5 on: February 28, 2016, 07:42:00 PM »
As a huge fan of poker I adored this! I've been playing poker especially Texas Hold'em Poker since I was 7. I've had a lot of amazing memories with this game, so I'm a huge fan on this. Great work!
#HashtagForTester

#

  • Member
  • ***
  • Posts: 158
  • I don't do much here.
  • Awards Month 1 members w/25+posts (4/21/13-5/12/13) 1 year on site
    • View Profile
    • Awards
  • Xbox: HellomeZodoz
Re: Poker in TM
« Reply #6 on: February 28, 2016, 10:57:37 PM »
As a huge fan of poker I adored this! I've been playing poker especially Texas Hold'em Poker since I was 7. I've had a lot of amazing memories with this game, so I'm a huge fan on this. Great work!
#HashtagForTester

Thanks. Personally I haven't played much poker, had to look up stuff like hand values and stuff, but I thought it'd be cool. And I don't really think that being able to script correlates with testing, but I appreciate the thought :)

Zoidberg

  • Legendary Member
  • *****
  • Posts: 1445
  • Awards Awarded for extraordinary testing services to our game. Awarded to exemplary forum members 1 year on site
    • View Profile
    • Awards
  • Xbox: v Zoidberg v
  • Steam: v_Zoidberg_v
Re: Poker in TM
« Reply #7 on: February 29, 2016, 01:10:44 PM »
This is pretty cool, seems like a lot of fun.

#ThisTook2MuchTime

Out of curiosity, how much time did it take?


#

  • Member
  • ***
  • Posts: 158
  • I don't do much here.
  • Awards Month 1 members w/25+posts (4/21/13-5/12/13) 1 year on site
    • View Profile
    • Awards
  • Xbox: HellomeZodoz
Re: Poker in TM
« Reply #8 on: February 29, 2016, 02:54:36 PM »
This is pretty cool, seems like a lot of fun.

#ThisTook2MuchTime
Out of curiosity, how much time did it take?

The world says 30 hours, but minus the time it took to build the little arena and time I was afk, I'd say about 12. I had to redo the deal scripts a few times since I thought of better ways to do it, so that's where a lot of it went :P

Lord Leo

  • Legendary Member
  • *****
  • Posts: 1171
  • Aka Cat
  • Awards 2 years on site 1 year on site
    • View Profile
    • Awards
  • Xbox: Circle cat113
Re: Poker in TM
« Reply #9 on: February 29, 2016, 07:55:32 PM »
This looks amazing!

Stoneart

  • Sr. Member
  • ****
  • Posts: 255
  • "There's always time to get your block's off"
  • Awards Members who have unlocked the robotic avatar 1 year on site
    • View Profile
    • Discord link to my game (Coven)
    • Awards
  • Xbox: stoneart
  • PSN: Xx_Phoenix_Down_xX
Re: Poker in TM
« Reply #10 on: February 29, 2016, 11:25:38 PM »
Very cool man. I am going to try and make some casino games but was planning on doing it all txt based. This is an awesome visual representation. Good effort.

xTokioBeatlex7

  • Elite Member
  • *****
  • Posts: 536
  • Here to Help!
    • View Profile
    • Awards
  • Xbox: xTokioBeatlex
Re: Poker in TM
« Reply #11 on: March 01, 2016, 08:39:05 AM »
That is really cool. Nothing like video gambling!
Definitely not a Destructo-Kitten.

Brother Hood

  • Sr. Member
  • ****
  • Posts: 286
  • futrue army
  • Awards 1 year on site
    • View Profile
    • Awards
Re: Poker in TM
« Reply #12 on: March 01, 2016, 05:28:35 PM »
man just wow this so cool this is why I love your script videos.

#

  • Member
  • ***
  • Posts: 158
  • I don't do much here.
  • Awards Month 1 members w/25+posts (4/21/13-5/12/13) 1 year on site
    • View Profile
    • Awards
  • Xbox: HellomeZodoz
Re: Poker in TM
« Reply #13 on: March 01, 2016, 08:16:53 PM »
man just wow this so cool this is why I love your script videos.

Lol, thanks. I Appreciate that.

By the way, if anyone has any ideas for things they think would be cool, let me know. I'm running on fumes in the idea department :P.

.ok

  • Supreme Member
  • *****
  • Posts: 2212
  • Awards Site art contributions/TPs in-game/Contest winners 4 years on site Members who have unlocked the robotic avatar Donated a giveaway prize. (Must be a prize of cash value.) 3 years on site 2 years on site Week 1 members w/25+ posts (4/13/13-4/20/13) 1 year on site
    • View Profile
    • Awards
Re: Poker in TM
« Reply #14 on: March 01, 2016, 08:27:29 PM »
man just wow this so cool this is why I love your script videos.

Lol, thanks. I Appreciate that.

By the way, if anyone has any ideas for things they think would be cool, let me know. I'm running on fumes in the idea department :P.
i have tons of ideas,maybe not arcade games,but i have some if youd be interested in hearing