[Newbie] Which JAVA API is a good choice for creating a game board?

I'm a newbie in JAVA game programming.
I would like to create a chess game for fun. I have a fairly good idea on how I want it to be, but I'm having some difficulty on the game board.
I am not sure which set of JAVA API I should be using to design my board. I guess that the board will sits in the back, and in the front, there'll be my chess pieces that I can drag and drop.
Should I be using JAVA Swing to do this? or JAVA 2D API? It will require some study for either one, so I figure I should pick a good one to learn.
Thanks in advance! :-)

Also if you would like to create a much simpler, 2D chess game, I would suggest you use the Swing API, which comes with Java from version 1.2 and on up. Naturally I would suggest at least using the latest 1.4 or 1.5 software development kit, because they have greater and more stable features, bug fixes and so on. I also would suggest you go to the library or Barnes and Noble nearest you, and pick up a book on Java. One recommendation that may be simpler to get an understanding of Java is from Deitel and Deitel: http://www.deitel.com/books/jHTP6/ though my beginner's Java book was geared directly toward how to program games (small games like memory, or tetris), though I can't remember what it was called. Anyway I believe it is very important to learn the basics of Java before you get into things that you may or may not understand. My opinion, so have a go at it.

Similar Messages

  • Servlets a good choice for such a game?

    Hi,
    I'd like to write a game like darkgalaxy ( www.darkgalaxy.com)
    Here is a screenshot
    http://images.darkgalaxy.com/home/screenshots/7.jpg
    The game has no animations. It uses a simple web interface and is turn based.
    So it shouldn't be too difficult to write something similar.
    I just wondered if servlets are a good choice for that or if php is more suited. I have virtually no experience with php therefore I'm not sure. php does have the advantage of running on nearly every webserver but then again the project is not that small and the code should be easily extendable and reusable for other similar games.
    thanks

    Your first decision has already been made: a browser will be your client.
    After that decision, it really boils down to what you are most comfortable with. I would say that as the complexity of your application grows the appeal of objects will increase as well. In any case, any server that can have Java installed (which just about any web hosting or co-location company would provide already) can run Servlets. There should be no compatibility issues there.
    - Saish

  • Will Java 3D be a good choice for this game. Screen Shots inside.

    My company is deciding what 3D engine to use for a game we are currently designing. It needs to look as good as a game called Mech Commander 2 Here are some screenshots:
    http://www.microsoft.com/brasil/games/mechcommander2/screenshots/06.jpg
    http://aok.heavengames.com/pics/fanstock/mechc2_5.jpg
    http://www.s2.com.br/s2arquivos/361/Imagens/318Image.JPG
    Will Java3D be enough for a turn based strategy game with graphics along these lines?? We have looked into the Chrome2 engine and several others but they are very expensive, so that is why we are interested in using Java3D since its free, and our expertise is Java.

    Java 3D would be able to replicate those scenes except for the shadows. You would need to find a way to do that yourself. Another part in your decision will be if Java 3D will be able to handle your polygon count and frame rate expectations. That is a tough question to answer without giving it a try. You will also need to consider how to integrate collision detection, collision response, sound, music, user interaction, camera control and a game menu system (all not part of Java 3D). There are Java solutions for many of those.
    The buildings, mechs, fence and trees look like they are done with a 3D modeler. Java 3D has several loaders available to to that.
    The smoke, flames, etc can done with a particle system like ours (www.indietechnologies.com) or you can build it yourself.
    The fog can be done in Java 3D.
    There are terrain implementations outside of Java 3D (www.j3d.org) that could provlde variable LOD and you can create the scorch marks, etc on the terrain with multitexturing (part of Java 3D).
    There are other options to consider like the JOGL, LWGL, jMonkeyEngine, Xith3D, Agency9 and few others. Some use a scene graph approach, others are more closer to the metal. Have a look at www.javagaming.org.
    Mike

  • Which Java API could check the type of Operating System the JVM is running?

    Does anyone know which Java API could check the type of Operating System the JVM is running?
    thanks a lot!

    check out System class.
    regards
    shyamAnd specifically, the getProperty() method.
    - K

  • Which java API package contains Container class???????

    can forum experts tell me which java API package contains Container and GlobalContainer class......???????/

    <b>aii.map.api</b>
    If you need to access the Cotainer Object (i.e) the runtime constants inside you java mapping etc, you use
    AbstractTrace trace=(AbstractTrace)getParameters().get(StreamTransformationConstants.MAPPING_TRACE);
    To access this in a UDF in graphical mapping you mention,
    container.getTrace()
    Regards
    Bhavesh

  • Is Keynote a good choice for this kind of video presentation?

    Can Keynote easily be set up and used for the presenter to work from a slide table mode with both names (as well as numbers) and good-size customizable thumbnails of the visual material, primarily videos, which can be clicked on so as to play for the audience, on a projector (second monitor), each clip? This would allow nonlinear access to the videos, and spur-of-the-moment changes of order. I would use Final Cut Pro for the presentations, but this will not be available in many venues. I understand the current iMovie does not have a timeline, so it will be less than ideal. Is Keynote a good choice for this? If not, what would be?

    I have I work 09 (newest version 5.0.2) and the presenter window only shows the next slide.
    I have never had a need for a multi-slide view, because my presentations are all developed for education and are in a pre-determined order.
    I can clearly see that this "pick a slide" feature could be quite useful when engaged in a conversational presentation rather than a seminar or classroom format that I use.
    To change the order you would have to flip from multi-slide or disengage the program and choose a slide from the builder/creator menu. (Basically stop the presentation and that could be awkward)
    If I am missing something, someone pipe in, I opened a presentation and was only able to get "next slide" up on the presenter menu.

  • Is unlocked iphone 3gs a good choice for use in the UK with PAYG?

    I've never had a smartphone. I'm thinking of buying the unlocked iphone 3gs to use when I'm in the UK 2-3 (months a year). I would be using a pay as you go sim with a little data use included. All I need is the ability to call, text, email, blog, and check facebook. Would this phone be a good choice for me. I'm hearing that there are some problems with battery life on the iphone 4. Does the 3gs have those issues? Also what does the 's' stand for?
    Any helpful info apppreciated.
    Robertson

    This is the deal I'm looking at. As you can see it comes with the upated OS. $375. Is already a bit more than I would normally spend on a phone.
    iPhone 3GS 8GB Black — Unlocked
    Get all the features of iPhone 3GS (8GB1) in a phone that you can activate and use on the supported GSM wireless carrier of your choice.2
    If you don’t want a multiyear service contract or if you prefer to use a local carrier when traveling abroad, the unlocked iPhone 3GS is a great choice. It arrives without a SIM card, so you’ll need an active SIM card from any supported GSM carrier worldwide.
    Get iPhone 3GS for AT&T.
    iPhone 3GS starts at $0 when you sign up for a new two-year plan with AT&T.
    Learn more
    Learn more
    Enlarge images
    $375.00
    In Stock
    Free Shipping
    Add to Cart
    Gift package

  • Which Java API's must a Expert Java Developer know thoroughly ?

    There are more than 3000 classes in Java how can Java Developer remember or be aware of most
    of them if he wants to become a Core Java Expert. Concepts like Object Orientation, Java Programming Syntax, Operators, Flow Control, Exceptions,
    Assertions, String Formatting/Parsing, Collections and Generics, Inner Classes, Threading should be
    basic and needs to be known by all Java Programmers.
    But when it comes to remembering / awareness about 3000 or so Java classes how can a Java Developer
    know all of them. As on job its not possible that one will come in touch with all of Java's classes
    its only a limited section that generally one works depening on his domain.
    Please share list of packages that are important or one should be aware of ?
    What must be the approach/methodology/process to remember these Java API's ?

    java.lang.Swapnil wrote:
    Please share list of packages that are important or one should be aware of ?It's more important you know how to quickly work out how to use a class, by perhaps reading the javadocs, or, more often, simply from the name of it, and the methods it provides. That's a knack you get from experience and practice. The other side of that coin is to be able to write classes and methods such that other developers can get using them quickly, by looking at the names.
    What must be the approach/methodology/process to remember these Java API's ?Use them a lot. There's no other way.

  • What are some good choices for Mac Mini Speakers?

    Hi All....
    I have recently purchased a new Mac Mini (i7 Quad Core 2.3 Ghz) and was wondering what a good choice (and cool choice) for Mac Mini speakers.  I have the Harmon Kardon 2.1 speakers which are EXCELLENT but for some reason I'm having trouble getting it to work with the Mini.  Any suggestions or ways to get the Harmon Kardon's working with it???
    Thanks ahead!!

    Ooops...  Hit the "solved" button by mistake!  hehhee....
    Anyway....  I also have a Mac Pro DualQuadCore2.8Ghz....  Which it works with but for some reason I can't get it to work with the Mini.  I'm temporarily using a small iHome speaker in the 3.5 jack.  I don't think the HK SoundSticks have a 3.5 jack....  Just USB.  But I'm still sorting through a ton of cables, plugs and wires... 

  • Is this a good choice for a new hard drive for a 13" mid-09 MBP?

    1.0TB HGST Travelstar, 5400 RPM. Anyone had any experience w/ HGST? I only use this laptop for school & surfing.
    http://eshop.macsales.com/item/HGST/0J22413/

    I have a couple of those and used them in my MBPs.  They work just fine.  HGST also has a 7200 rpm version which I also have had good results.  That theoretically should afford slightly faster performance.  You cannot go wrong with either one.
    Ciao.

  • Any java API to get the metadata for a deployed bpel process in soa/bpm11g?

    Hi,
    Just wonder if this is possible, that there is some existing java api to retrieve the metadata (containing activities, isSynchrous, version information etc) for a deployed bpel process? If not, is there any other way to achieve this goal ( or example query database table directly)?
    I can only find this link for soa11g java api. I am able to invoke the bpel process using this API(direct binding) from java client.
    http://download.oracle.com/docs/cd/E14571_01/apirefs.1111/e10659/index.html?overview-tree.html
    Any help will be greatly appreciated.
    Thanks,
    Bin

    What I find so far:
    1. can get some process property values from ComponentInstance class, see its api.
    http://download.oracle.com/docs/cd/E14571_01/apirefs.1111/e10659/oracle/soa/management/facade/ComponentInstance.html
    Please refer http://blogs.oracle.com/soabpm/2009/07/soa_suite_11g_api_tricks_part.html of how to get the component instance (contain the bpel process) from a composite object
    2. in dev_soainfra database schema, the CUBE_INSTANCE table contains most of soa bpel components information. The BPM_CUBE_PROCESS table seems to contain only the process defined in a bpm application. This sounds a little confused, if we want to develop a bpel application, should it be put in soa or bpm application and what is the difference?
    Please feel free to correct any mistakes here.

  • NEC/Sony AD5630A good choice for PB DVD?

    Looking for a good replacement for the Matshita in my PB. Pioneers seem to be almost non-existant, so I am thinking of going with an NEC/Sony AD 5630A, which I can an Apple-branded on new on eBay for about $50. I think this is the drive they are using in the ext DVD drive for the Airbook.
    Anyone know anything positive or negative about this drive?

    I found this interesting topic in the Mac Specific forum of RPC1.org: http://tinyurl.com/6lhksj. Apparently somebody has flashed RPC1 firmware onto a OptiArc AD-5630-A via Boot Camp on a Intel Mac. That forum topic in the Mac Specific section of RPC1.org's forums has a link to a RPC1 firmware dump for the drive you're interested in.
    You need a utility called Binflash to flash the RPC1 firmware dump onto a Nec OptiArc AD-5630-A which is at Liggy & Dee's site: http://binflash.cdfreaks.com/.

  • What is the best Mac choice for creating pro-level art/graphics/animation?

    I'm an artist who does a lot of work with Adobe Creative Suite CS5, as well as some video editing and lots of animation. I've been using a 2007 model 15-inch Macbook Pro for the last 4 years, and it seems like it's time to upgrade...it runs burning hot all the time, and the battery dies pretty quick when the cord falls out. It seems like the whole thing is running a little slow, which is probably because I have a TON of graphics/animation/video software on there, but I need each and every program.
    My question is, what is the best new Mac to purchase to replace this one? I want to make sure it lasts as long as possible, and will be able to handle the programs I use now. My first thought is to get another Macbook Pro, because of the portability, and just add on all the higher RAM, etc to customize it. But my husband suggested looking into the Mac Mini, because it's a lot cheaper, and we're a little strapped for cash at the moment. Would that serve the purpose? Or is a Macbook Pro really the best choice for what I need it to do?
    I'd love to hear suggestions from other artists or graphics people. What do you recommend?

    For a "cash strapped" person, unless you already
    have a monitor, one of the new iMacs may be
    a better choice.  If you do have a monitor, I would
    suggest the dual core i7 equipt MacMini.  Since you state
    you are using CS5 stuff, most Adobe apps,
    Photoshop for example, do not make effective
    use of multiple cores.  Also, using any of the
    Adobe products, regardless of which computer
    you decide on, get as much RAM as you can afford.

  • Good document for creating cube using AWM wih oracle 10.1.0.2 version

    Can anyone provide some good guide for implementing the OLAP cubes using ORACLE ver 10.1.0.2.0 with AWM Release 1.
    Also, please let me know whether I need to apply any patches.
    The demo provided under this link has some differences when trying to implement.
    http://www.oracle.com/technology/products/bi/olap/viewlet/awm10g_viewlet_swf.html
    Your help is appreciated.

    Well, if some of the required componets were missing, I would imagine you getting an error when trying to connect?
    Where is this ASP application actually running?
    Is it running on your localhost IIS web server?
    If not, any setup on your computer will be irrelevent.
    If it is, you need to install MDAC components, and 2.8 is the latest.
    If running on your local IIS, did you try to create a very basic ASP page which just creates a connection to the database in question? Does that work?
    Do you have ON ERROR statements in your code to bypass any/all SQL errors?
    If you create a simple UDL file on your desktop and specify the server/user/password (ater selecting Oracle OLEDB driver), does the connect button work?

  • Is Joomla a good pick for creating this?

    I am trying to put together a nice press room section.
    I would like it to work similar to this sites http://www.comscore.com/Press_Events and I dont know much about the limitations of templates for Joomla and WordPress.
    Basically the press room will be divided up into 4 or 6 sections and I would like the newest/most important announcements visible on the landing page as they have done.
    Once the user clicks on one of the sections or articles, the template can go back to a more "standard" blog layout. but I really would like the landing page to resemble something more like that of the link above.
    So before I go further into learning about Joomla and template creation, is it even a good solution for this task?
    Any input is appreciated!

    Just to add, from what I have learned, briefly, it looks like I can create as many modules as I would like and then its basically up to me as to how I want to display those modules?
    Does this sound right?

Maybe you are looking for