Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (804)
Games in Android Showcase (239)
games submitted by our members
Games in WIP (868)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Collectible Card Game  (Read 7762 times)
0 Members and 1 Guest are viewing this topic.
Offline GreenLantern101
« Posted 2016-12-22 04:36:06 »

I've been working on a collectible card game recently (think crappy Hearthstones or Spellstones).

So the obvious question is, what is SPECIAL about THIS particular collectible/trading card game?

Well I plan on making it so that players who have seen the card a lot gets an increasing probability of "discovering" that card, and adding it to his inventory. So for example, the player has seen/fought a "dragon" card around 30 times in the last ten matches. Then that player will have a sizable chance of obtaining that dragon card. Any thoughts on this mechanic??? I probably will have to mess around with the probability distribution until it seems not too easy and not too grindish.

And of course players will be able to trade cards with each other.


  • Custom text file format for easily creating new cards with no programming required
  • Supports special abilities, such as poison, pierce, bloodthirst, etc. (full list in Github link at bottom of this post)

It uses JavaFX for graphics and slf4j for logging. Tongue

In the near future, I'm planning to implement networking. The code itself is split into a server and a client, and the server creates a new thread for each game.

Disclaimer: Right now, the server just creates a new thread for a single mock game, which also comes with a mock client, while I'm procrastinating in implementing networking. Also, I haven't got mouse events to work yet, so all actions are input in the IDE console, and the client is just visualizing all the user actions and game simulation.

I feel this short description doesn't do my project much justice, so feel free to look over the full description on the project Readme (and code!) in Github.
Offline vfmachado

Junior Devvie

Medals: 9
Exp: 4 years

« Reply #1 - Posted 2016-12-22 16:18:27 »


Nice work, I really want to see some graphics in cards Tongue

maybe you can added it before.

How dynamic is the battles? Maybe a video can be helpful.

I'm interesting in the game server/client code also... I plan to work in something similar with a thread per match.
Pages: [1]
  ignore  |  Print  

Riven (583 views)
2019-09-04 15:33:17

hadezbladez (5521 views)
2018-11-16 13:46:03

hadezbladez (2405 views)
2018-11-16 13:41:33

hadezbladez (5783 views)
2018-11-16 13:35:35

hadezbladez (1226 views)
2018-11-16 13:32:03

EgonOlsen (4664 views)
2018-06-10 19:43:48

EgonOlsen (5684 views)
2018-06-10 19:43:44

EgonOlsen (3199 views)
2018-06-10 19:43:20

DesertCoockie (4099 views)
2018-05-13 18:23:11

nelsongames (5116 views)
2018-04-24 18:15:36
A NON-ideal modular configuration for Eclipse with JavaFX
by philfrei
2019-12-19 19:35:12

Java Gaming Resources
by philfrei
2019-05-14 16:15:13

Deployment and Packaging
by philfrei
2019-05-08 15:15:36

Deployment and Packaging
by philfrei
2019-05-08 15:13:34

Deployment and Packaging
by philfrei
2019-02-17 20:25:53

Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!