News for hackers. Stuff that matters.
Re:Ask HN: What is the most useless project you have been wo... by windowshopping on Friday April 05, 2024 @03:58PM (#39946501)
I built the best site out there for playing magic the gathering online. It's way better than any other available option.

I've never shared it with the magic community because I think wizards of the coast would just send me a cease and desist, so three years of work is just sitting idle.

I'm still not sure how I feel about it.

Re:Ask HN: What is the most useless project you have been wo... by darepublic on Friday April 05, 2024 @04:21PM (#39946748)
Better to go for it then completely shelve it would think. You could also r skin it in some fashion, like make it more generic and have users provide their own decks (which happen to be MTG) etc
Re:Ask HN: What is the most useless project you have been wo... by ragnese on Friday April 05, 2024 @04:19PM (#39946720)
Off topic, but I recently looked in to playing MtG again because my son expressed interest. But, I was a bit taken aback by how different the environment is. I last played when they still had numbered "base sets", e.g., "9th Edition", and then rotating "blocks" of three smaller-but-more-advanced sets.

I was assuming I would go in and buy a couple of starter decks from the most recent numbered "edition" to start teaching him, but it appears that they don't do this anymore, and everything I saw was focused around the "Commander" format, which has even more mechanics and rules. The game was already complex enough that I was worried about teaching it to someone new (Plus, the commander mechanic didn't appeal to me, personally, anyway).

Is there no longer the concept of a "simple base set" with just the basic mechanics? Or is everything just theme-heavy sets now?

Re:Ask HN: What is the most useless project you have been wo... by alexthehurst on Friday April 05, 2024 @05:28PM (#39947466)
I recently got into it with my son. I bought an arena starter kit from Amazon and it came with two 60-card decks, which seemed to work pretty well in play against each other. I bought another one long – same result. No focus on the commander format at all. I would suggest that route.
Re:Ask HN: What is the most useless project you have been wo... by vharuck on Friday April 05, 2024 @04:46PM (#39947016)
They still do core sets (every Summer, IIRC) that fulfill those basic edition sets. Lately, they've been set in external intellectual properties. Last year's was Lord of the Rings. Might sound bad, but the D&D set rekindled magic in my game group.

They had a Jumpstart product, where you could buy two half-decks and mix them together. But it looks like the last printing of that was 2022.

If you don't mind spending the time, you could just craft a starter deck on paper or find a list online, and then order the individual cards from a website. As long as you avoid the must-have cards for competitive players, it'll be cheap.

Re:Ask HN: What is the most useless project you have been wo... by williamcotton on Friday April 05, 2024 @06:01PM (#39947779)
They don't do core sets any more.
Re:Ask HN: What is the most useless project you have been wo... by vaylian on Saturday April 06, 2024 @01:45AM (#39950286)
You are right that they currently don't create core sets any more. I wouldn't be surprised if they change their mind /again/ in the future.

See also: https://mtg.fandom.com/wiki/Core_set

Re:Ask HN: What is the most useless project you have been wo... by lozenge on Friday April 05, 2024 @06:32PM (#39948081)
You could also consider games which have the mechanics of MtG without being collectible, such as Epic. It still has plenty of depth.
Re:Ask HN: What is the most useless project you have been wo... by clbrmbr on Friday April 05, 2024 @04:43PM (#39946969)
I’ve been playing with my son, but using my shoebox full of old cards, many with an “IV” logo so must have been around 4e that I was playing back in the day.

The game is complex, but a good intellectual challenge for a bright 6yo reader.

Re:Ask HN: What is the most useless project you have been wo... by tiltowait on Friday April 05, 2024 @04:50PM (#39947056)
Probably VI; 4th edition didn't have a set symbol.
Re:Ask HN: What is the most useless project you have been wo... by hnfong on Friday April 05, 2024 @05:23PM (#39947405)
Right.

Also, FWIW, 5th edition also didn't have a set symbol, but the "Visions" set was released at around the same time and had a "V" symbol... (I only realized how confusing it was after 27 years lol...

Re:Ask HN: What is the most useless project you have been wo... by hhshhhhjjjd on Saturday April 06, 2024 @07:12AM (#39951632)
Alpha beta unlimited revised Arabian nights 4th edition ice age mirage etc etc. I'm sure that's all wrong but I used to know it by heart. I keep my cards in old motherboard boxes !
Re:Ask HN: What is the most useless project you have been wo... by tayo42 on Friday April 05, 2024 @07:34PM (#39948531)
Isn't there a free starter deck you can get from game stores?
Re:Ask HN: What is the most useless project you have been wo... by xoxxala on Friday April 05, 2024 @09:49PM (#39949317)
Magic has changed drastically the last few years. I tried to get back into it and the best set I found was Jump Start 2022.

Alternatively, Star Wars Unlimited just released their first set. The starter set has two balanced decks (Vader vs Luke) with some staple cards that can be used in a bunch of different decks with boosters. Gameplay is Magic-esque, but smoothed out (no land issues since any card can be turned into a resource, no instants/stack shenanigans, and actions pass back and forth so constant engagement).

There's a free to play version at https://www.forcetable.net/swu using the starter decks.

Re:Ask HN: What is the most useless project you have been wo... by Izkata on Friday April 05, 2024 @10:39PM (#39949553)
Fun fact, Commander was a fan-made format that WotC eventually adopted and made official. It existed (even under that name despite what people online say now) in the mid/late 2000s when I learned of it during college.
Re:Ask HN: What is the most useless project you have been wo... by hasanas on Saturday April 06, 2024 @05:37AM (#39951217)
Indeed, things have changed about a year ago.

Here is a small blogpost by WotC: https://magic.wizards.com/en/news/announcements/revitalizing...

Re:Ask HN: What is the most useless project you have been wo... by mosew on Saturday April 06, 2024 @12:29PM (#39953507)
Play premodern. In addition to having the best gameplay, the card pool is closed so you don't have to worry about acquiring new cards.

https://premodernmagic.com

Re:Ask HN: What is the most useless project you have been wo... by whatusername on Sunday April 07, 2024 @03:04AM (#39958804)
As someone mentioned - the "Arena Starter Kits" worked for us as an intro to the game.

The basic rules around commander aren't particularly additionally taxing beyond that. (This is your special card that you can play every time. When it dies it goes back to its special spot and it gets more expensive each time you cast it). What I like about the commander format (in the few pre-constructed decks I've bought over the last few years) - they can really lean into a theme/strategy more - and the commander really guides you in how to play this deck.

Start with those arena kits - they are cheap and handle the rules. But if your son sees a commander deck that resonates with him (in theme or mechanics) -- I'd recommend giving it a shot.

Re:Ask HN: What is the most useless project you have been wo... by sph on Friday April 05, 2024 @04:12PM (#39946646)
Go out with a bang. Release it, enjoy your 15 minutes in the spotlight, and when the lawyers come a-knocking, shut it down. Or make it open source and let the community take the wheel and the responsibility.

You never know what opportunities this adventure might bring, but certainly more than just keeping it on your hard drive. Go for it mate.

Re:Ask HN: What is the most useless project you have been wo... by windowshopping on Friday April 05, 2024 @04:58PM (#39947122)
I may indeed do this. There is an outstanding issue I have to address that I've never quite worked up the motivation to deal with:

Heroku restarts their servers once every 24 hours with only thirty seconds' warning. Since the games are in-memory, this of course kicks everyone out of whatever games they may be in the middle of.

I guess the solution is to have the games be on Redis instead of in-memory? I'm a bit more front-end oriented so I was bewildered to learn this was how it worked in the first place and I'm not 100% confident in my solution.

Re:Ask HN: What is the most useless project you have been wo... by HoppyHaus on Friday April 05, 2024 @06:01PM (#39947778)
The quickest win would to move off of Heroku. Either rent your own server that you can control (to a reasonable degree), or find an alternative that doesn't suffer that issue.

Redis would work but I'd be afraid of race conditions. There probably wouldn't be any, but it's something to be aware of.

If you wanted to test the waters with at least the relative public, I'd consider doing step 1 of renting a server, but then hiding it behind a Tor hidden service. Inconvenient to connect to? Yeah. (Probably) safe from the Hasbro demons? Also yeah.

Re:Ask HN: What is the most useless project you have been wo... by all2 on Friday April 05, 2024 @09:24PM (#39949181)
Linode is super cheap. I pay 6 or 7 bucks a month for a bottom tier VM.
Re:Ask HN: What is the most useless project you have been wo... by windowshopping on Friday April 05, 2024 @09:58PM (#39949375)
I guess I just haven't done anything outside of a PaaS before and I'm a bit worried about unknown unknowns. I'm sure I'm probably up to the task but managing my own server is just new ground for me. I'll have to research how to ensure that the server is always up or recovers from an unexpected failure and restarts immediately.
Re:Ask HN: What is the most useless project you have been wo... by pythonaut_16 on Friday April 05, 2024 @11:59PM (#39949826)
Fly.io would probably work for your use case. Doesn't have the restart limit of Heroku and still has a solid enough free tier to run your app!

I'd be happy to help if you need anything! Whether hosting or just backend related questions!

Also depending on how hard coded your architecture is, maybe you can separate out the Magic specific data from the app itself? So the MTG specific data could just be loaded as a datapack?

Re:Ask HN: What is the most useless project you have been wo... by jakemauer on Friday April 05, 2024 @11:10PM (#39949675)
You can also split the difference and run Dokku[0] on a vps and basically host your own instance of “Heroku”. It can even use the same build packs and procfiles.

Feel free to message me and I’d be happy to help with server stuff.

[0] https://dokku.com/

Re:Ask HN: What is the most useless project you have been wo... by anurag on Saturday April 06, 2024 @12:49AM (#39950066)
Render (render.com; I'm the founder) doesn't restart your server every 24 hours like Heroku; it does restart it automatically if it crashes.
Re:Ask HN: What is the most useless project you have been wo... by rkagerer on Friday April 05, 2024 @07:10PM (#39948372)
Architect a redundant cluster and let a peer server take over as master?
Re:Ask HN: What is the most useless project you have been wo... by jryb on Friday April 05, 2024 @06:00PM (#39947773)
Is using a host that doesn't do this not a possibility?
Re:Ask HN: What is the most useless project you have been wo... by loloquwowndueo on Friday April 05, 2024 @08:24PM (#39948879)
Data persistence is a solved problem. “Server that never fails or reboots” is not.
Re:Ask HN: What is the most useless project you have been wo... by windowshopping on Friday April 05, 2024 @07:42PM (#39948597)
It seems they all do, though. Digital ocean was the same.
Re:Ask HN: What is the most useless project you have been wo... by Tijdreiziger on Friday April 05, 2024 @08:14PM (#39948820)
Any decent VPS provider (including DigitalOcean, unless they’ve changed anything) definitely doesn’t do this.
Re:Ask HN: What is the most useless project you have been wo... by windowshopping on Friday April 05, 2024 @08:27PM (#39948895)
Maybe you're right, I may be mistaken. Perhaps I should migrate to DO.
Re:Ask HN: What is the most useless project you have been wo... by Tijdreiziger on Friday April 05, 2024 @09:00PM (#39949054)
Actually, I should qualify this.

If you use a PaaS (platform as a service, e.g. Heroku, DO App Platform, AWS EB), they might assume your app to be stateless and do things like restart it at will.

If you use a VPS (virtual private server, e.g. DO Droplet, AWS EC2), this certainly shouldn’t happen, but of course it requires some Linux skills to maintain your VPS.

So it’s basically a trade-off between engineering your app to fit a PaaS or hand-managing your VMs (though the latter is usually the cheaper option).

Re:Ask HN: What is the most useless project you have been wo... by windowshopping on Friday April 05, 2024 @10:00PM (#39949383)
Yeah, indeed. I can try using a Droplet but I'm just new to managing a VM by hand. I've always used a PaaS for my projects so ensuring uptime and whatever other responsibilities there may be is new for me.
Re:Ask HN: What is the most useless project you have been wo... by svnt on Saturday April 06, 2024 @07:29PM (#39956644)
If that’s the case I’d suggest you probably have a bug in your code somewhere that depends on a timer that resets at midnight. So when it spans midnight everything resets, but this isn’t the server resetting.
Re:Ask HN: What is the most useless project you have been wo... by exikyut on Friday April 05, 2024 @09:52PM (#39949336)
I would second the recommendation to move off Heroku. They're essentially the smallest scale version of vendor lock-in out there nowadays, especially considering they're no longer free.

An open-sourced codedump will survive best if people (which effectively means "average technically-minded MTG player" in this case) can run it wherever they're most comfortable - which will almost certainly be something that smells like a VPS. Mayyybe a container.

Re:Ask HN: What is the most useless project you have been wo... by fennecfoxy on Monday April 08, 2024 @11:56AM (#39970972)
On restart warning, take server state (sign/encrypt if you want to) and dump it to each players' clients.

If both players are still connected once the server comes up and client reconnects, both players can send state to server and if both players' global states match then the game resumes, if not then error out. If only one player reconnects cause the other couldn't wait & closed tab, then you gotta error out anyways.

Then you don't need Redis or any other additional dep at least.

Re:Ask HN: What is the most useless project you have been wo... by saulpw on Friday April 05, 2024 @04:09PM (#39946629)
At least make them send you the C&D! And you can get some attention for your hard work in the weeks/months before they do. Who knows what it will lead to?
Re:Ask HN: What is the most useless project you have been wo... by tgittos on Friday April 05, 2024 @04:05PM (#39946582)
I started building a Magic based data science tool for 6 months before coming to the same inevitable conclusion. It sits in a Github private repo rotting away.
Re:Ask HN: What is the most useless project you have been wo... by smokel on Friday April 05, 2024 @04:05PM (#39946586)
Have you tried contacting them to see if they are interested in using it to their advantage as well?
Re:Ask HN: What is the most useless project you have been wo... by brianwawok on Friday April 05, 2024 @04:09PM (#39946624)
They already paid millions to develop and sell another 2 versions of this. No way they want OPs,
Re:Ask HN: What is the most useless project you have been wo... by HenryBemis on Friday April 05, 2024 @04:32PM (#39946863)
At best they will bully anyone who made anything to hand it over to them (for free "or else"), and then scavenge on it in case they see anything they like for future 'features'.
Re:Ask HN: What is the most useless project you have been wo... by kej on Friday April 05, 2024 @04:43PM (#39946971)
Just brainstorming, but would it be possible to pull out the MTG-specific portions and make it just an online card game framework where people can make their own cards and rules? If people choose to use it to copy MTG that's on them (see Tabletop Simulator, for example) but they might also use it to create their own new games.
Re:Ask HN: What is the most useless project you have been wo... by mtrpcic on Friday April 05, 2024 @05:02PM (#39947170)
The challenge is that the level of complexity with rules interactions in MtG is absolutely enormous, especially if you want to allow the freeform format, which allows all sets and cards.

Note: You can see all the rules here: https://mtg.fandom.com/wiki/Comprehensive_Rules

Re:Ask HN: What is the most useless project you have been wo... by windowshopping on Friday April 05, 2024 @07:44PM (#39948611)
Oh I didn't implement a rules engine, that would be impractical. It's a freeform platform that gives you all the tools needed to use every mechanic in the game, but it's up to you to actually follow the rules. No different from playing in person with real cards. It's sort of like a drag and drop sandbox with a lot of extra features around the edges.
Re:Ask HN: What is the most useless project you have been wo... by zzo38computer on Saturday April 06, 2024 @12:01AM (#39949830)
If you do not implement the actual rules, then it can probably be made to support many other kind of card games too.

However, I would be interested to have a FOSS rule engine of Magic: the Gathering, preferably written in C, and licensed by AGPL3 or some compatible license. But, unfortunately there is no official FOSS implementation; if there was (at least of the rule engine; not necessarily the UI) (especially if literate programming is used for the rule engine), I think that it would be better since the rules can be made more precise.

I would want to ensure that the rule engine has no pictures at all (you can easily download pictures separately if you want them, anyways; so the rule engine doesn't need them and shouldn't have them).

Re:Ask HN: What is the most useless project you have been wo... by A1kmm on Friday April 05, 2024 @11:00PM (#39949631)
Obviously not legal advice for anyone, but the general consensus seems to be that in many countries (including the United States where WotC are based) game mechanics are not copyrightable. This interpretation has been stated publicly by the US Copyright Office: https://web.archive.org/web/20161122174519/http://www.copyri...

Obviously the name can be trademarked, and text (e.g. the names / descriptions of things, the specific expression of the rules) and images (e.g. card art) can be copyrighted.

There is a long history of clones of games with the exact same mechanics, but with everything renamed and the artwork changed.

Occasionally, there are attempts to patent mechanics.

So it wouldn't necessarily be a problem if GP was to rename the game, change all the card artwork, make sure no instructions from the original game are used in the new game, and rename all the cards and concepts in an isomorphic way (i.e. a 1:1 mapping between MtG and whatever the new game is called). That way, it could be a completely new game which happens to have the same mechanics as MtG, but isn't a derivative of it legally.

It would be possible to speculate what WoTC would do in that case, but hard to know for sure. Most likely, they'd probably just ignore it if it isn't using their trademark, artwork, descriptions and so on. They could send a blusterous C&D letter to try their luck if they were particularly worried. If the GP got such a letter and ignored it, or replied explaining that their game does not reuse any copyrightable elements, they'd probably just back down. If they really decided to take it to court, they could try to hope it goes more like https://en.wikipedia.org/wiki/Spry_Fox%2C_LLC_v._Lolapps%2C_.... than https://en.wikipedia.org/wiki/Data_East_USA,_Inc._v._Epyx,_I.... (although they'd probably have a harder road given Spry Fox was largely based on the visual look-and-feel, which would be a longer bow to draw when saying a computer game infringes on a card game).

Obviously, none of this is legal advice, and the circumstances could differ depending on facts like where it is hosted / where GP lives, and the exact details of the game engine or how similar artwork was.

Re:Ask HN: What is the most useless project you have been wo... by mandmandam on Friday April 05, 2024 @04:54PM (#39947086)
There's probably someone out there with a great card game that is just lacking a site...

Could you adapt the thing to suit another card game?

Re:Ask HN: What is the most useless project you have been wo... by MetaWhirledPeas on Friday April 05, 2024 @04:59PM (#39947135)
OK listen up dude.

> I built the best site out there for playing magic the gathering online.

No you didn't! You built the best site out there for playing trading card games. It just so happens that it's very easy to point to your own local card/rule sets, share them with peers, and play together online. And if the cards/rules being used by the clients happen to be MTG cards/rules, oh well! That's out of your hands.

Seriously, if you want to release this you only need to make it a) generic out of the box, and b) completely customizable at the client level. Of course this would never support true competitive play since you can never trust the client, but it would still be super fun for playing against people you trust. And as a bonus you could support user-created cards and rules.

Re:Ask HN: What is the most useless project you have been wo... by Kharacternyk on Friday April 05, 2024 @07:13PM (#39948388)
By being generic and customizable it will have the potential to become a great new game in its own right. Let the community begin with something they already know and love (MtG) and watch them coming up with cool new stuff.
Re:Ask HN: What is the most useless project you have been wo... by windowshopping on Friday April 05, 2024 @07:02PM (#39948309)
The problem as I see it is loading the card data and imagery. I use scryfall for this, and it's heavily integrated into the site in several ways. I don't see how I can get around that. My site is coded specifically to work with their API. I can't really make it so you can "swap it out" for a different game's API.
Re:Ask HN: What is the most useless project you have been wo... by nextaccountic on Friday April 05, 2024 @09:04PM (#39949075)
Cockatrice also loads card images and card text likely from the same source
Re:Ask HN: What is the most useless project you have been wo... by the_jeremy on Friday April 05, 2024 @09:26PM (#39949196)
If it doesn't handle the card rules automatically for you, then it's way worse than MTG Arena or MTGO. I've played with free MTG software (cockatrice) and it's not close to the same thing, even though it has all the art and buttons for doing all the effects manually (I use this shortcut to draw 3 cards, this shortcut to put 2 back, this shortcut to exile someone's graveyard, etc).

If they really built the best site for playing MTG, even over paid versions, then there's no real way to hide the fact that it's magic-specific.

Re:Ask HN: What is the most useless project you have been wo... by windowshopping on Friday April 05, 2024 @10:01PM (#39949394)
I'm not competing with Arena. Arena has a rules engine and great graphics. But Arena has a tonnnn of limitations and does not let you simply "build any deck you want and play with any number of friends in any format you choose." For what Arena is meant to do, Arena is better. That was never my goal.

I'm competing with Untap.in and Cockatrice, and what I built is just a much, much nicer version of those things. If you give me your email, I'll send you a link to it and you can try it out yourself if you'd like.

Re:Ask HN: What is the most useless project you have been wo... by Marthinwurer on Friday April 05, 2024 @05:13PM (#39947296)
There are several projects that implement the MTG engine and are in active use. Forge and Xmage are the main ones. You could ask their developers how they avoid getting C&D'ed. It's definitely doable and your work doesn't have to be in vain.
Re:Ask HN: What is the most useless project you have been wo... by hhh on Friday April 05, 2024 @05:14PM (#39947309)
Do what every other VC firm does, do it and don’t care. When the C&D comes, comply. Let users cause an uproar for you.
Re:Ask HN: What is the most useless project you have been wo... by nextaccountic on Friday April 05, 2024 @09:03PM (#39949067)
Please release it anonymously. I beg you
Re:Ask HN: What is the most useless project you have been wo... by nextaccountic on Friday April 05, 2024 @09:04PM (#39949070)
Also, how come Wizards don't go after Cockatrice, but would go after your site?
Re:Ask HN: What is the most useless project you have been wo... by windowshopping on Friday April 05, 2024 @09:13PM (#39949121)
They did go after Cockatrice. The original developer had to step away. It's unclear what the current situation is with whoever stepped up to take it over.
Re:Ask HN: What is the most useless project you have been wo... by roland35 on Friday April 05, 2024 @11:54PM (#39949807)
Maybe adapt it to your own game? Just look how Balatro blew up!
Re:Ask HN: What is the most useless project you have been wo... by TimJRobinson on Saturday April 06, 2024 @12:08AM (#39949863)
Cockatrice has been around for a while without getting a C&D. They separate the game client from the card images to get around it. Could do similar.
Re:Ask HN: What is the most useless project you have been wo... by Biganon on Saturday April 06, 2024 @09:15AM (#39952230)
I made a website about Tintin (the Belgian comic) where you can search any cell from any album by its text content. There's also a game where you have to find which album a cell comes from.

The owners of the intellectual property wrote to me and just asked that I stop using the domain name I was using (which was the name of a character) and that every cell contains a reference to them ("Tintin is copyrighted to blah blah blah"). I obliged and haven't heard of them ever since.

Re:Ask HN: What is the most useless project you have been wo... by seabass-labrax on Saturday April 06, 2024 @02:06PM (#39954226)
Great blistering barnacles! That's quite a story. Would you mind posting the link to your site here? I'm very curious to see it.
Re:Ask HN: What is the most useless project you have been wo... by Biganon on Saturday April 06, 2024 @06:26PM (#39956221)
Sure, it's https://www.ectoplasme.com/

(It's in French, should have mentioned that)

Re:Ask HN: What is the most useless project you have been wo... by seabass-labrax on Sunday April 07, 2024 @07:09PM (#39964754)
That's really impressive! I don't know enough French yet to really be able to use it, but the 'quiz without words' should still be relevant :)

Maybe consider posting your site as a 'Show HN' at some point?

Re:Ask HN: What is the most useless project you have been wo... by roydivision on Monday April 08, 2024 @04:51AM (#39967609)
Superbe site, je l'aime beaucoup. Quel boulot.
Re:Ask HN: What is the most useless project you have been wo... by dhosek on Saturday April 06, 2024 @11:26AM (#39953075)
Kind of reminds me of how my brother built a website for playing scrabble online, but because of the obvious trademark/copyright issues, he made it a private site behind an invite-only login. I don’t know if it’s still running, but because he was working on and off writing for TV at the time and doing tech support for a lot of Hollywood types, a lot of the users were Hollywood folks including a number of names of people that you’d recognize.