Need Help Coding?
by mtgrares
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Need Help Coding?
by 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?
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?
by 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.
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.
-
DennisBergkamp - AI Programmer
- Posts: 2602
- Joined: 09 Sep 2008, 15:46
- Has thanked: 0 time
- Been thanked: 0 time
Re: Need Help Coding?
by Chris H. » 12 Mar 2009, 02:56
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.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?
-
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?
by 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?
by 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.
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.
-
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?
by Chris H. » 12 Mar 2009, 17:15
Most of the previous documentation has been combined into a single archive which can be found on this google page: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.
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.
-
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
-
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?
by 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.
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?
by Chris H. » 13 Mar 2009, 01:03
There was a time in the past when Rares changed the name of a (variant/off-shoot of Forge) to "Card Warrior".Huggybaby wrote:So is it Card Forge or MTG Forge?
-
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
-
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?
by Rob Cashwalker » 13 Mar 2009, 03:17
Yeah, but us old-timers have been typing MTGForge for so long that our fingers won't know Card Warrior....Huggybaby wrote:Card Warrior is an excellent name.
The Force will be with you, Always.
-
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?
by Chris H. » 13 Mar 2009, 11:13
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.Huggybaby wrote:Card Warrior is an excellent name.
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.
-
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?
by Rob Cashwalker » 13 Mar 2009, 11:47
The only trouble I have with Calling it "Forge", is that on his blog, "Forge" is rares' name.....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.
How about "Spell-Slinger" or "Virtual Wizard" or something.... Generic and easy to type as acronyms....
The Force will be with you, Always.
-
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?
by 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.
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
Listen to my podcast with famed AJ_Impy "Freed from the Real" on http://puremtgo.com
-
GandoTheBard - Tester
- Posts: 1043
- Joined: 06 Sep 2008, 18:43
- Has thanked: 0 time
- Been thanked: 0 time
Re: Need Help Coding?
by 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
18 posts
• Page 1 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 98 guests