Skip to Content
 

Card Deck simulator type app?

5 replies [Last post]
Mortimer
Offline
Joined: 11/13/2015

Was curious if this is a thing? Like a simple app where you get to write a bunch of card results than form them into a deck and have the app simulating drawing one after another, maybe with shuffle buttons and things like that.

I'd find it very handy for testing an aspect of my game out. (Doesn't have to be a graphical wonder, just something like two white boxes, one with 'Card Back text' and another with 'Card Face text'.

canis_artis
Offline
Joined: 11/09/2015
Card Drawing

Vassal can do that and I think nanDeck can too.

I've only started checking them out but I've read a thread on using nanDeck to simulate card drawing.

David

canis_artis
Offline
Joined: 11/09/2015
This thread explains a couple

This thread explains a couple ways of 'shuffling' virtual cards:
https://www.boardgamegeek.com/thread/1483364/card-shuffler

Halfway down they note using CardMaker and further down Andrea notes the nanDECK method. I've made some cards with nanDECK and used its Table function to randomly draw cards. At the bottom left of the window it shows how many cards are left in the deck.

David

Masacroso
Offline
Joined: 05/05/2014
Mortimer wrote:Was curious if

Mortimer wrote:
Was curious if this is a thing? Like a simple app where you get to write a bunch of card results than form them into a deck and have the app simulating drawing one after another, maybe with shuffle buttons and things like that.

I'd find it very handy for testing an aspect of my game out. (Doesn't have to be a graphical wonder, just something like two white boxes, one with 'Card Back text' and another with 'Card Face text'.

What you want doesnt exist yet in the way you (and me) want.

Im learning these days HTML5, CSS3, Compass SASS, Bootstrap, coffeescript ans other javascript libraries. When I can I will try create some simple application focused in the idea of custom decks/cards defined through some database, maybe an excel file, json or whatever.

The problem of all applications that try to play card games are:

  1. hard to change card/decks

  2. based on the wrong idea of a free table (what make nearly unplayable any game)

The best approach that I know is cardforest but the project seems to be abandoned.

Arcuate
Offline
Joined: 02/05/2016
Could do this on Android

I have thought about doing this, too. It would actually be quite easy for me set up a virtual deck on Android.

Let me know your requirements, and I can probably help.

First thoughts - you use an Android phone, and you have a picture of the deck with the back of a card showing, with space beside it. Drag off the deck and you get a new card face up. Long-press for a pop-up menu (Reset, Shuffle, Create png files, etc).

The deck contents could be specified in a text file that can be edited without making a new app. A single text file would hold the text of each of your cards, separated by a marker such as "<10>" to indicate that what follows is the text for card ten, and so on.

A tag such as "mist.png" in angle brackets could specify that, until the next image tag appears, all cards will use the mist.png image file behind the text.

A tag such as "col 100, 200, 200, 200" could specify that, until the next col tag, all text will be rendered in that colour, where 100, 200, 200, 200 are the alpha, red, green and blue components of the colour.

Another tag would specify font and text size.

Mostly the images would be created on the fly by combining the text with a background. The "Create png" option would actually create separate image files for each card, saving them on your device, ready to be used for PnP or uploading to a printer and so on.

Would anyone find this useful, or did you have something else in mind?

Cheers,

Craig.

Arcuate
Offline
Joined: 02/05/2016
An example of the sort of

An example of the sort of thing I had in mind, from my own game...

https://youtu.be/e_NBxN1-kxU

Not shown is the use of an Android phone to look at a specific hand, where a hand is defined as the set of overlapping cards that contains the last card clicked.

Syndicate content


forum | by Dr. Radut