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

Similar Messages

  • [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.

  • 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

  • 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 java servlet a good way for developing a website

    Hi,
    i am developing a website that has to download huge data and upload huge data .also money transactions through credit cards need to be involved.is java servlet a good way to do this or should i use an ejb or any other technology.
    Any help is appreciated.

    Thanks for the reply.But di i need to use threading of some sort or can i directly write private methods to fulfill the purpose.Also is there any way my servlet can recognise when a device is connected to a usb port of local machine
    any help is appreciated

  • 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... 

  • 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/.

  • 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

  • Some good links for applications and games of all ...

    hi
    i recently applied a new 6280 and ive been wondering where i would obtain games and applications from. my mates have got some but they cant send them because you cant send things that automatically install in the phone. i heard theres an application that lets you send things that are installed into the phone eg. games, apps etc.
    anyway, please write some links for GOOD nokia 6280 games and applications.
    thanks very much.

    There's quite a few websites which offer you applications and games for your phone, but the Terms and Conditions of this site prevent recommendation of any specific ones.
    As a first stage you can go to the following website which will give you a sampler of the types of applications that are available for your phone :
    http://www.softwaremarket.nokia.com/Message Edited by edwardquan on 09-Jun-200711:13 PM
    Regards,
    Edward

  • Good Resources for making Flash Games?

    I'm new to Flash, and I'm working on getting through a book on the basics.  What I'm wondering though is, are there any good resources out there for making games in Flash CS4.  I know I'm going to get some "learn the basics first" replies, and yes I know I need to get a solid grounding in those, but I want to be able to start gathering resources, and look ahead to what I'll be able to do with Flash in the future. 
    By resources I mean books, other websites, your own advice about game making, etc...

    i started developing in flash about 2 weeks ago for the same reason and have written a little animation and started writing a multiplayer game, which will be fully functional and properly skinned soon.  If you are like me, you have a vague understanding of object oriented programming, know at least one other programming language and can adapt to all this event-driven stuff.  Here's my story in brief.
    I started with some dev center videos and then went to AdobeTV for more videos, especially to newbie channels like Douge Winnie's.  I think I also played along with some flash down under videos to learn more action script 3 (very important in a game, I would say).
    I'm sure you want to get onto your game project right away, but you are probably 3-5 mini projects away from that.  If you don't do some toy projects you'll just end up doing a crappy job on your game or plain old getting stuck.  The mini projects, whether they are elements of your game, or exercises in videos, will force you to find the ressources you need to learn from.
    If you want to make a multiplayer game, try smartfoxserver - it is very well documented with little tutorials and stuff.  Some tutorials on
    this youtube channel too (where he mostly just runs you through the documentation).  Smartfox has a few good examples of nicely built interactive programs.  Just make sure you are using their actionscript 3.0 stuff.
    Lastly, understand and use Components.  They will save you a lot of work.  smartfoxserver has components (called bits) and so does flash.  I imagine you can even download extra components.  These are things like scrolling text boxes, buttons that look like buttons, etc.
    Cheers,
    Alejandro

  • 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.

  • Networking Engineer = Good choice for a Career change ?

    Hi Cisco forum . I am a 48yr old CNC Engineer in Stoke ( UK ) ,bored to death with it . I am about to take the COMPTIA A+ exam in 4 weeks , which will lead on to the Cisco Networking course ( if I pass ) .Please can you inform me if there will be a career for me ( out there in the real world ), when I complete the full course . Is Networking & its relevant jobs still a Good Career change ? I have found the networking part of the A+ course the most interesting , so I hope that your replies !!! , are favourable . Thanks for any info ( good or bad ) from Rob In Stoke

    Hi Robert
    As previous poster said, a lot depends on how keen you are to learn networking. I switched from being a Unix admin to a network person because as with you i found the networking parts by far the most interesting. But i had to do a lot of extra work outside normal work hours to get up to an acceptable level.
    You will also need a certain amount of luck/persistence. I would certainly encourage you to take the course but as you are already probably aware experience is just as important as knowledge. Is there any chance that within your current job you might be able to get some exposure to networking while you study.
    if you can't then i would srongly recommend you try and pick up some second hand kit off e-bay to practice with.
    As for good career change. There will always be a demand for good networking people and if you truly enjoy learning about networks you are already well on the way.
    I would also recommend having a look at http://www.jobserve.co.uk which will give you an idea of what type of jobs are available in your area and in the UK as a whole.
    HTH
    Jon

  • Good Choice for a "user" Selector ? (more inside)

    for a chat applikation i have reserved the left part of a borderlayout for a tabbed pane. one tab shall display a matrix if icons, each representing a user (include a name string). now im thinking about which component to choose to realize that. it is important, that it shouldnt be only a graphical component, moreover the icons need to be clickable.
    up to now i think about either using a very individual jcolorchooser or a jtable. any good suggestions ?

    sorry, forgot one thing:
    to keep it i a good form i want to order them as a m*n matrix. e.g. three user-icons i a row ...

  • Sony GVD-1000 a good choice for a MiniDV deck?

    We need a fairly inexpensive (~$1,000) deck to use for reading MiniDV tapes. Is anyone using the Sony GVD-1000 with FCP? Does it work well? Are there any better choices?
    Thanks for any suggestions!

    Maybe take a look at this deck...JVC SRVS-30U(there may be a newer model available now). I used it at my previous job, and was pretty satisfied with it. Should still be well under 1K.
    I'm currently working with a Sony GY-DV500 Walkman and am not happy with it at all. Several reasons, not the least of which is it only has analog inputs, no outputs. So I can't run my FW through it to a production monitor. Secondly, for it's pricepoint, I find it pretty featureless.
    I looked at the specs on your model, and didn't see that many features on it either, but your needs may be different.
    Just my opinion...others may have better ideas.
    K

  • Is JMF a good choice for that need ?

    Hi,
    I need to take snapshots of a JPanel at a regular frequency (1Hz) and on some asynchronous events ... and then to deliver these snapshots over the network as a continuous stream in a format understandable by media players (VLC or WM ....).
    Is JMF a right choice to do that ?
    If yes :
    i dont know JMF but regarding the supported formats, it seems it is not possible to produce a RTF stream with the crossplatform api is it right ? and is it possible from a custom PushedBufferDataSource(RAW-RGB) to produce a QuickTime-RGB file with the crossplatform api ?
    Maybe you coud suggest me the best JMF way to resolve my need ?
    thanks for your help,
    gel.

    geldouches wrote:
    I need to take snapshots of a JPanel at a regular frequency (1Hz) and on some asynchronous events ... and then to deliver these snapshots over the network as a continuous stream in a format understandable by media players (VLC or WM ....).
    Is JMF a right choice to do that ?Sure, JMF should be able to "keep up" with a 1Hz stream.
    [http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/ScreenGrabber.html]
    That is a sample utility that captures the entire screen. You could modify it to capture only the boundaries of the JPanel, or, modify it to capture from the JPanel directly...or...just read how the example is done and do your own.
    If yes :
    i dont know JMF but regarding the supported formats, it seems it is not possible to produce a RTF stream with the crossplatform api is it right ? and is it possible from a custom PushedBufferDataSource(RAW-RGB) to produce a QuickTime-RGB file with the crossplatform api ?The x-platform pack would allow you to encode the following:
    AVI-RGB, AVI-YUV, MOV-RGB
    And yes, if you created a PushBufferDataSource with RAW-RGB, you could transcode that stream into anything I've listed above (MOV-RGB, for instance).
    Transcoding example code...
    [http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/Transcode.html]

Maybe you are looking for