Recent

Author Topic: Hearts  (Read 4229 times)

neophyte

  • New member
  • *
  • Posts: 9
Hearts
« on: August 02, 2020, 05:22:21 am »
I have written a program to play the card game hearts. It's not a super-duper pro level product, just my own little effort. But it does have some interesting things in it that I put in for fun, like being able to reveal hands, adjust the rate of play, replay a hand, and an auto-play mode. It's GPL'ed.

More info and pointers to the download and source are here.

Handoko

  • Hero Member
  • *****
  • Posts: 5131
  • My goal: build my own game engine using Lazarus
Re: Hearts
« Reply #1 on: August 02, 2020, 06:26:46 am »
Hello neophyte,
Welcome to the forum.

That's look good.
Thank you for released it in GPL, so others can learn from it.

You should consider to also put it on Project Using Lazarus > Games:
https://wiki.freepascal.org/Projects_using_Lazarus

neophyte

  • New member
  • *
  • Posts: 9
Re: Hearts
« Reply #2 on: August 02, 2020, 05:34:22 pm »
Thanks to the Lazarus and Freepascal teams for great tools and language capabilities. The "set" type made programming card operations easy and a lot of fun.

neophyte

  • New member
  • *
  • Posts: 9
Re: Hearts
« Reply #3 on: September 04, 2020, 10:07:50 pm »
New version of Hearts date-stamped September 3, 2020. Computer opponents are now harder to defeat. They also take the relative scores of other players into account when selecting cards to play. As before, source is here.

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user
Re: Hearts
« Reply #4 on: September 05, 2020, 03:44:02 am »
Cool game  8-)

I've added it to the Games Gallery.

neophyte

  • New member
  • *
  • Posts: 9
Re: Hearts
« Reply #5 on: September 05, 2020, 03:27:56 pm »
Thank you!

 

TinyPortal © 2005-2018