[HN Gopher] Show HN: I've open sourced DD Poker
___________________________________________________________________
Show HN: I've open sourced DD Poker
I'm the original author of DD Poker, a Java-based computer game
that ran on Mac, Linux and Windows and originally sold in stores in
physical boxes. I shut down the backend servers in 2017 but the
game is still functional and people can still play each other
online even though the central lobby and find-a-game functionality
no longer work. I've been asked over the years to release the
source code, especially during the pandemic, and again this year. I
finally got motivated to clean up the code and put it out there.
The code is 20 years old and uses some ancient Spring, log4j,
Wicket and other dependencies, but it still works on Java 1.8.
Author : dougdonohoe
Score : 118 points
Date : 2024-08-13 22:34 UTC (1 days ago)
(HTM) web link (github.com)
(TXT) w3m dump (github.com)
| dlachausse wrote:
| Thank you for taking the time to open source this! It's fun
| peeking at the source code of old games from bygone eras and more
| open source games are definitely a good thing.
| dougdonohoe wrote:
| My pleasure. Thanks for taking a peek.
| namanyayg wrote:
| I've never worked with Java before.
|
| Out of curiosity, do you think the game's architecture and tech
| stack would be easily portable to a more modern setup, or would
| it require a significant rewrite?
| dougdonohoe wrote:
| The architecture is very Java centric. The UI is all Swing
| based (no 3D graphics engine stuff). I would think very little
| is portable to a modern gaming engine.
| pc86 wrote:
| Java 22 was released less than a month ago.
| dudinax wrote:
| Any plans to release the source for War Age of Imperialism?
|
| I bought and played the heck out of that game years ago but never
| could get anyone to try it multiplayer.
|
| Thanks for the great games!
| dougdonohoe wrote:
| Glad you enjoyed the games! Unfortunately, I don't own the IP
| rights to War! Age of Imperialism, so can't release the source
| code.
| romac wrote:
| I wonder if this could be made to work in the browser using
| CheerpJ?
|
| https://cheerpj.com
| dougdonohoe wrote:
| Interesting. I hadn't heard of this before. I'll have to check
| it out.
| apignotti wrote:
| Lead dev of CheerpJ here, if you need support you can find us
| on Discord: https://discord.gg/X9ruPkchM5
|
| Edit: Tool a quick look at the repo, if the game is a Java 8
| Swing application (as it seems) then it will most likely work
| out-of-the-box with CheerpJ
| BatmansMom wrote:
| Ported my java game to Cheerp and it was the easiest thing
| ever. I highly recommend and you can see the results here:
| http://liarsdiceonline.com
|
| Only criticism is that it can take a few MINUTES to initially
| load the game and there isn't a loading bar or anything
| apignotti wrote:
| I see the game was ported with the legacy CheerpJ 2.3
| runtime. Consider upgrading to the new CheerpJ 3.0.
| Improving boot times has been one of our main goals and
| upgrading is very easy: https://cheerpj.com/docs/migrating-
| from-cheerpj2
| jonrosner wrote:
| Wow thanks a lot! We played DD Poker during the Pandemic. It
| really saved us from going insane:)
| dougdonohoe wrote:
| That's great! You are the 2nd person who's told me that. You
| don't happen to know someone named Ryan in Oakland?
| localfirst wrote:
| any instructions on how to get this running on m1
| dougdonohoe wrote:
| It should just work. The developer notes mention M1
| (https://github.com/dougdonohoe/ddpoker/blob/main/README-
| DEV....), specifically around which java to install. If you are
| having trouble, feel free to file an issue.
| v64 wrote:
| Thank you for taking the time to clean this up and release it.
| I've never played DD Poker, but have experienced the loss of
| other games when servers go down and the software stops being
| updated.
|
| I realize source releases aren't always possible, so it's a great
| gift to the community when one can make it happen and they put in
| the effort to do so.
___________________________________________________________________
(page generated 2024-08-14 23:01 UTC)