It is currently 19 Apr 2024, 06:02
   
Text Size

Need Help Coding?

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Need Help Coding?

Postby Marty » 11 Mar 2009, 23:57

Hey Everyone,

I really enjoy this game, and would love to help code more cards if someone can give me an idea about how to do it. I'm very good with computers, but I've never programed anything in Java or actually anything else. Has anyone made a "How to" doc or anything?
Marty
 
Posts: 15
Joined: 02 Mar 2009, 15:32
Has thanked: 0 time
Been thanked: 0 time

Re: Need Help Coding?

Postby DennisBergkamp » 12 Mar 2009, 01:01

We could use all the help we could get with coding :)

I think there might be some document rares released a long time ago with some of his releases, which shows some code examples and talks about them.
Probably the best way is just to read through some of the code and attempt to understand it (this is how I started out).

But it may be a good idea to write some how to doc, I might give this a shot.
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time

Re: Need Help Coding?

Postby Chris H. » 12 Mar 2009, 02:56

Marty wrote:Hey Everyone,

I really enjoy this game, and would love to help code more cards if someone can give me an idea about how to do it. I'm very good with computers, but I've never programed anything in Java or actually anything else. Has anyone made a "How to" doc or anything?
Several months ago someone suggested that people could visit the http://java.sun.com/ site and they would find a java development kit and would also find some fairly simple to follow tutorials on how to write java programs.
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: Need Help Coding?

Postby Marty » 12 Mar 2009, 03:45

I was thinking about trying to reverse engineer it, but I figured if it's already a stable program, I didn't want to screw it up because I guessed wrong.
Marty
 
Posts: 15
Joined: 02 Mar 2009, 15:32
Has thanked: 0 time
Been thanked: 0 time

Re: Need Help Coding?

Postby Rob Cashwalker » 12 Mar 2009, 06:41

I'm a programmer by trade, as is Dennis. I have no formal training in Java, (I'm pretty sure rares does) but I have a sixth-sense when it comes to programming. So I'm learning Java solely because and in context of of MTGForge. I'm getting the hang of it and I use references from the net a lot. I think a big chunk of my understanding Java is that I have a better understanding of what the app does and how the game of magic works.. In other words, don't ask me to start a new Java app from scratch though... I haven't even done a "hello world" project yet....

All new code usually is posted on the board, for all of us to review before release, unless Dennis or rares writes it between releases... so don't worry about screwing anything up.
The Force will be with you, Always.
User avatar
Rob Cashwalker
Programmer
 
Posts: 2167
Joined: 09 Sep 2008, 15:09
Location: New York
Has thanked: 5 times
Been thanked: 40 times

Re: Need Help Coding?

Postby Chris H. » 12 Mar 2009, 17:15

DennisBergkamp wrote:I think there might be some document rares released a long time ago with some of his releases, which shows some code examples and talks about them.
Most of the previous documentation has been combined into a single archive which can be found on this google page:

http://code.google.com/p/cardforge/downloads/list

There is a document included with the beta distribution found here at CCGH titled "readme-compile.htm" and this doc contains some useful information to help Marty get started.
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: Need Help Coding?

Postby Huggybaby » 12 Mar 2009, 18:25

So is it Card Forge or MTG Forge?
User avatar
Huggybaby
Administrator
 
Posts: 3205
Joined: 15 Jan 2006, 19:44
Location: Finally out of Atlanta
Has thanked: 696 times
Been thanked: 594 times

Re: Need Help Coding?

Postby mtgrares » 12 Mar 2009, 19:56

My previous project at sourceforge.net got in trouble mostly because of the name "MTG Forge" so that is why the Google project isn't named that. Supposedly Wizards owns the abbreviation "MTG". I wouldn't mind renaming MTG Forge but I have no idea what name to use.

I put together a tutorial about MTG Forge and coding cards. It presumes that you know Java. I've tried to make it an "easy" introduction but it is probably a little hard.
Attachments
readme-compile.zip
(15.17 KiB) Downloaded 365 times
mtgrares
DEVELOPER
 
Posts: 1352
Joined: 08 Sep 2008, 22:10
Has thanked: 3 times
Been thanked: 12 times

Re: Need Help Coding?

Postby Chris H. » 13 Mar 2009, 01:03

Huggybaby wrote:So is it Card Forge or MTG Forge?
There was a time in the past when Rares changed the name of a (variant/off-shoot of Forge) to "Card Warrior".
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: Need Help Coding?

Postby Huggybaby » 13 Mar 2009, 02:42

Card Warrior is an excellent name. 8)
User avatar
Huggybaby
Administrator
 
Posts: 3205
Joined: 15 Jan 2006, 19:44
Location: Finally out of Atlanta
Has thanked: 696 times
Been thanked: 594 times

Re: Need Help Coding?

Postby Rob Cashwalker » 13 Mar 2009, 03:17

Huggybaby wrote:Card Warrior is an excellent name. 8)
Yeah, but us old-timers have been typing MTGForge for so long that our fingers won't know Card Warrior....
The Force will be with you, Always.
User avatar
Rob Cashwalker
Programmer
 
Posts: 2167
Joined: 09 Sep 2008, 15:09
Location: New York
Has thanked: 5 times
Been thanked: 40 times

Re: Need Help Coding?

Postby Chris H. » 13 Mar 2009, 11:13

Huggybaby wrote:Card Warrior is an excellent name. 8)
The Card Warrior name has a depressing history associated with the other variant. I do not think that we should use a "Raise Dead" spell on this name. :wink:

We may want to consider ditching the MTG portion of the name and use Forge {date} as most people who use this product should be able to recognize this name.
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: Need Help Coding?

Postby Rob Cashwalker » 13 Mar 2009, 11:47

Chris H. wrote:We may want to consider ditching the MTG portion of the name and use Forge {date} as most people who use this product should be able to recognize this name.
The only trouble I have with Calling it "Forge", is that on his blog, "Forge" is rares' name.....

How about "Spell-Slinger" or "Virtual Wizard" or something.... Generic and easy to type as acronyms....
The Force will be with you, Always.
User avatar
Rob Cashwalker
Programmer
 
Posts: 2167
Joined: 09 Sep 2008, 15:09
Location: New York
Has thanked: 5 times
Been thanked: 40 times

Re: Need Help Coding?

Postby GandoTheBard » 13 Mar 2009, 12:44

I like "Card Forge"
Card Wizard is a possibility.
Card Savant (indicating an intelligent computer player :p *smirks*)
Wizard Forge (implying that the player is what gets crafted not just the decks)

The difficulty with any name is not just infringment but branding it. I know it as MTG Forge because I came across it through Rare's blog. (Notice I dont call him Forge.) But people who came across it through google probably are confused by the name. It would be smart if all the names coincided to be the same. :)
visit my personal homepage here: http://outofthebrokensky.com

Listen to my podcast with famed AJ_Impy "Freed from the Real" on http://puremtgo.com
User avatar
GandoTheBard
Tester
 
Posts: 1043
Joined: 06 Sep 2008, 18:43
Has thanked: 0 time
Been thanked: 0 time

Re: Need Help Coding?

Postby mtgrares » 13 Mar 2009, 18:33

The project could be called just "Forge". I like the name "AI Mage" but it might look funny if you don't know what AI stood for. Incantus sounded funny at first but then it sounded ok, so all names take some time to grow on you. "MTG Forge" was a default name. I was using SourceForge at the time and I might have subconsciously used Forge as both my nickname and project name.
mtgrares
DEVELOPER
 
Posts: 1352
Joined: 08 Sep 2008, 22:10
Has thanked: 3 times
Been thanked: 12 times

Next

Return to Forge

Who is online

Users browsing this forum: No registered users and 98 guests


Who is online

In total there are 98 users online :: 0 registered, 0 hidden and 98 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 98 guests

Login Form