top | item 25491377

Show HN: Fantasy trading card game with AI-generated character arts

6 points| nerf0 | 5 years ago |etheroes.io

11 comments

order

nerf0|5 years ago

Hi HN:

This is a fun project I've been working on recently. The idea of the cards started when I saw how an AI could generate realistic portraits of people. I tried to apply similar techniques to generating fantasy characters, and got amazing results.

The next 2 weeks were spent on designing the card assets, hero traits and descriptions. I borrowed some ideas from D&D (attribute points and alignment). Also threw in a random name generator, of which the names were scraped all over the internet.

Once I had the card assets, the rest all fell in place. It was obvious that the Ethereum blockchain was the best market place for such a collectible game. I spent the next 2 weeks writing the smart contract (based on ERC 721) and various pieces to support trading on the site. Fun fact: ETH price took off right before I was ready to deploy the contract on the mainnet. Due to high gas price, I had to spent a fortune... not fun!

I had a lot of fun working on it. Let me know if you have any questions.

webmaven|5 years ago

> This is a fun project I've been working on recently. The idea of the cards started when I saw how an AI could generate realistic portraits of people. I tried to apply similar techniques to generating fantasy characters, and got amazing results.

Can you share a bit more about the art generation? Are you using StyleGAN or some other architecture? Are you hand-selecting the art from among generated images? What training dataset did you use or create?

webmaven|5 years ago

I understand the mechanisms for claiming or buying/selling unique cards to build a collection, but what are the rules for actually playing a game with the cards you've got?

russdpale|5 years ago

This is cool, but should be on an L2 solution, not the main evm.

nerf0|5 years ago

You are probably right. I'm familiar with how Lightning network works in bitcoin, but not super familiar with L2 in ethereum. Do you have some pointers that I can read? I'm also interested in how it'll evolve with ETH 2.

Cyber_squad|5 years ago

Isn't it possible to download just the character face? I really would like to have a generator for my dnd story

qwerty456127|5 years ago

And I want the name generator. IMHO a name generator like this should be built in every system that requires you to choose a username. Perhaps an IDE should also have it and let you generate temporary names (for projects and, perhaps, for classes too) you can auto-refactor once you actually write some code.