But I've never used GUI before or opened any of my programs outside of eclipse. I heard that I should get netbeans because it has good tools to create GUIs more easily with swing. But I'm not sure. What do you guy suggest?
9 replies to this topic
#1
Posted 05 May 2011 - 01:05 PM
|
|
|
#2
Posted 05 May 2011 - 04:13 PM
The answer depends, as it usually does.
If you want to and/or have time to, I'd start reading a lot of GUI tutorials and program the game the dirty way. Don't be discouraged though, it's not as dirty as it may seem.
If you're on a deadline then I'd suggest using netbeans, though I don't know how bad the learning curve is for netbeans.
After skimming a few video tutorials for netbeans on youtube, it's probably not too difficult to learn.
But, from the looks of it, I don't see any type of tutorial/help for the type of work you want to do in netbeans. (I didn't look tooo hard though.)
If you want to and/or have time to, I'd start reading a lot of GUI tutorials and program the game the dirty way. Don't be discouraged though, it's not as dirty as it may seem.
If you're on a deadline then I'd suggest using netbeans, though I don't know how bad the learning curve is for netbeans.
After skimming a few video tutorials for netbeans on youtube, it's probably not too difficult to learn.
But, from the looks of it, I don't see any type of tutorial/help for the type of work you want to do in netbeans. (I didn't look tooo hard though.)
#3
Posted 05 May 2011 - 05:06 PM
Yeah, I have about a week to learn it. So netbeans is the only option I am going to look at right now. Any links to tutorials to basics for noobs?
#4
Posted 05 May 2011 - 05:35 PM
Creating monopoly in a week is a harsh deadline. Do you have to implement the logic of the game or just create the interface?
As far as tutorials go, Google is your best source.
As far as tutorials go, Google is your best source.
#5
Posted 05 May 2011 - 05:55 PM
lethalwire said:
Creating monopoly in a week is a harsh deadline. Do you have to implement the logic of the game or just create the interface?
As far as tutorials go, Google is your best source.
As far as tutorials go, Google is your best source.
#6
Posted 05 May 2011 - 07:33 PM
Okay, I got netbeans up and running and the drag and drop with properties is pretty straightforward. But I can't find any options for animation and graphics. Only panels, text boxes, buttons, etc.
#7
Posted 05 May 2011 - 07:42 PM
Quote
But, from the looks of it, I don't see any type of tutorial/help for the type of work you want to do in netbeans. (I didn't look tooo hard though.)
I'd also check with users experienced with netbeans before I started.
#8
Posted 05 May 2011 - 08:24 PM
Alright. I saw a game tutorial on youtube but it required that I have basic knowledge of jframe, swing, and other crap that I dunno. I know they're imports that you need to create a window. But that's all I know. I guess I'm just going to have to make a sucky monopoly game without a board and just telling you which space you're on right now.
#9
Posted 06 May 2011 - 04:44 AM
For now, I'm forgetting the GUI and just working on the logic of the program since I don't have much time.
I need your guys help.
I plan to do something like this:
Basically, and array of spaces for the board where the index for the board keeps track of where people are.
The Space class will be an abstract class and have subclasses for properties, utilities, RRs, freeparking/jail, etc...
It's been actually a really long time since I've played monopoly so I need to take a look at the rules again.
Tell me if my logic right so far
Possible Classes:
Players (max four)
Board including Array of spaces - Property is a space, jail is a space, and free parking is a space.
Card drawer has arrays of community chest and chance cards
Array of Community Chest Cards
Array of Chance Cards
Bank
Bank accounts for each player. Keep track of balance
Dice (2) random number generator
Players
Players have turns rolling dice
Each player has an icon or unique identity
Each player can own a property/space
Players can have cards
Players have money
Players have a bank of money
Board
Is an array of 39 spaces. If greater than 40 or equal to, subtract by 40.
Spaces
Space will be an abstract class. Subclasses include:
Utilities
Railroads
Properties
Free Parking
GO
Jail
Chance
Community chest
Subclass – Utilities
Subclass – Railroads
Subclass – Properties
Subclass – FreeParking
Do nothing
I need your guys help.
I plan to do something like this:
Basically, and array of spaces for the board where the index for the board keeps track of where people are.
The Space class will be an abstract class and have subclasses for properties, utilities, RRs, freeparking/jail, etc...
It's been actually a really long time since I've played monopoly so I need to take a look at the rules again.
Tell me if my logic right so far
Possible Classes:
Players (max four)
Board including Array of spaces - Property is a space, jail is a space, and free parking is a space.
Card drawer has arrays of community chest and chance cards
Array of Community Chest Cards
Array of Chance Cards
Bank
Bank accounts for each player. Keep track of balance
Dice (2) random number generator
Players
Players have turns rolling dice
Each player has an icon or unique identity
Each player can own a property/space
Players can have cards
Players have money
Players have a bank of money
Board
Is an array of 39 spaces. If greater than 40 or equal to, subtract by 40.
Spaces
Space will be an abstract class. Subclasses include:
Utilities
Railroads
Properties
Free Parking
GO
Jail
Chance
Community chest
Subclass – Utilities
Subclass – Railroads
Subclass – Properties
Subclass – FreeParking
Do nothing
#10
Posted 06 May 2011 - 05:18 AM
keep me posted on how this turns out I was looking into doing something similar but gonna try teach myself swing first.
Edit - Best of luck
Edit - Best of luck
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top










