A few tips to get me started ..

Hi there
I've been away from JAVA a few years, and I think it is time to get started again. I know the JAVA basics, and I made a Java applet chess game once. I am planning to start a new project: a slot machine game. I was thinking about a scenario where I have the game running on a webserver. Clients should then be able to log in, bet money and play . I have never written any client/server code in JAVA before, and I was just wondering if any of you have some good tips before I get started.
I was hoping that it could evolve to a commercial project in the long run, and I therefor have to consider money safety issues. Any good tips here? Also I am very interested in making the game as compatible as possible - do you know any good articles about making your program work with older browsers and older versions of JAVA?
In all my previous projects I've used the Model, View controller design pattern. Is this also the way to go with this project you think.
How would you approach this project, start with the game engine, or getting the client/server thing right first?
I know this was a lot, but I hope some of you have some good tips, before I just jump right into it. Links to articles etc. would be nice.
Thanks in advance!
Anders

MVC is fine.
What to begin with? Design first.

Similar Messages

  • A few questions to get me started on Photos

    1) I have folders under "pictures" on the Mac root folder. They are called: 2014; 2014 New York; 2014 Birthday; 2014 Katy Perry; etc. I would like to import each of these as an album bearing the same name. Is there a way to do that automatically? I have over 500 albums spanning 4 decades
    2) Once imported I want to organize all the albums of one year (e.g. the ones I mentioned above) under one folder named after the year (e.g. 2014). Is that something I can do on folders or should I do it on smart albums?
    3) I want to categorize my albums by "parties", "trips", "concerts", etc. So I would like to have "2014 Katy Perry" along with "2013 Lady Gaga" and "2010 ACDC" in one location called "concerts", but I would still like to have them in their own albums, as opposed to all the photos loose in the folder. How do I do that?
    4) Face recognition. It doesn't seem to be working right. I have been prompted the same face in photos taken within minutes of each other and it still requires me to assign a name to each photo. It is obviously not recognizing the faces. How do I solve this? On the same topic, can I select several photos at the same time and drag them to one of the face circles above the screen?
    5) I don't want to upload my photos to the cloud, I want to have them on my Mac. But I would like to use all the photos me and my wife take on our iphones and ipads to be synced via the cloud so I can download them to my hard drive, and organize them by folders and albums just like my previous photos. So my questions are: a) can I decide where in my Mac do these photos get stored? b) can I then delete them from the cloud? c) will they be stored only in the location I decide, or will copies be kept elsewhere in my Mac?
    6) How can make my photos work as screen saver on my apple TV? Can I choose which ones? How?

    MVC is fine.
    What to begin with? Design first.

  • Quick tips to get you started with Photon

    Basic Commands for VMware Photon and Docker | Virten.net

    I might suggest, for the virtualization folks that are new to containers, an instructional that demonstrates Docker a little better than "hello world" or a bash shell.  In my opinion, this is an opportunity for VMware to get the point of Photon across to its non-developer community...
    The Docker 10-minute interactive tutorial:
    Online Tutorial - Try It! | Docker
    The Docker User Guide:
    https://docs.docker.com/userguide/
    A fun, classic container to launch (if you're as old as I am:)
    #docker run -it jbrunk/zork
    Docker Cheat Sheet:
    wsargent/docker-cheat-sheet · GitHub

  • Newbie requires a few pointers to get started

    Just starting out on the Mac and the development off (I've chosen Cocoa and got a book 'Learning Cocoa with Objective-C), and I'm trying to get my head around where to start.
    I'm not new to development, I'm currently a Java developer amongst other, and just need a few pointers to get me going in the correct direction.
    I'll use a crossword program as an example.
    In Java I'd probable create a JPanel with a JLabel or two to represent a cell/square and put x amount of these on another JPanel to create a crossword grid. - So what is the equivalent of this ? I thought it might be something to do with Custom Views that I've read about to create the cells. Poisitoning them in a square grid would seem to be a lot easier, just placing them where I want them.
    Now how to reference the cells, again in Java I could, for example, store the grid of objects in an array or collection of some sort, so I could iterate through them. Can this be done ? Is it recommended ?
    Are there any good online resources, that anyone can recommend ?
    Thanks

    One thing that Cocoa has, and Java does not, is a GUI builder - Interface Builder. In Cocoa, you don't have to create user interface objects programatically. You create them in Interface Builder, give them meaningful names, and then implement the logic in Xcode.
    I'm sure there are ways to write Cocoa without using Interface Builder, but I wouldn't consider it fun. When developing GUI software, I find it is always better to do things the way the vendor (Apple, in this case) wants you do. For Cocoa, that is Interface Builder.
    As far as the actual classes one would use, I'm not sure. There are many different ways to do it. The nice thing about it is that you can develop nice GUI programs without having to develop an intimate knowedge of all of the UI classes. Just draw them, connect them, and the default behavior is almost always what you want.

  • Since last few days everyday whenever I start using Keynote its getting updated. I don't understand whether Apple is pushing updates everyday ? If no then why its consuming almost 400   MB data on this update ??

    Since last few days everyday whenever I start using Keynote its getting updated. I don't understand whether Apple is pushing updates everyday ? If no then why its consuming almost 400   MB data on this update ??

    Delete Keynote from the Applications folder then install again from the Mac App Store.

  • IMac OS X (10.5) Black screen,chimes when switched on,light on keyboard and mouse. Have tried few tips to restar it. Still black. What could it be?

    IMac OS X (10.5) Black screen,chimes when switched on,light on keyboard and mouse. Have tried few tips to restar it. Still black. What could it be?

    Try to start up in Safe Mode. It uses a "one size fits all" display mode, runs one pass of Disk Utility "Repair Disk" as it starts up, then loads with minimal extensions and presents a login screen (even if you normally auto-login). It takes five minutes or more.
    If you get a picture, use System Preferences > Displays ... to change your screen resolution at least once.

  • My Power Mac G5 is freezing up. A few days ago my G5 started freezing up, the cursor is unresponsive and none of the keys have any use. I have to press the power button to shut down and then restart. Sometimes on the restart, instead of the Apple logo I g

    A few days ago my G5 started to freeze up while in use. It doesn't matter if in Safari, iTunes, Pages, etc. The cursor will not respond nor does any keystroke, force quit, escape, etc. I have to hold the power button down to shut the computer down. Then, try to restart. Sometimes restart will work and the computer will work for a while and then freeze again. Other times on restart, instead of the Apple logo at start up, I get a Zero with a line thru it, have to power off and restart again. When it does restart, the "spinning gear" takes a lot longer than normal to spin up and take me to the login screen. Have been told it may be my hard drive getting ready to fail. Have looked at disk utilities, S.M.A.R.T looks fine, "verified" and have verified disk, and repaired permissions. In case it is the hard drive, I bought external hard drive and hooked it up to Time Machine. The backing up to a long time, overnight, about 10 hours because it kept freexing up and I would have to shut down and try restarting again. Finally got everything backed up.
    Any help or suggestions greatly appreciated!!!   Could it be my hard drive is dying? Is the the normal chain of events or is it something else???

    Ok, to copy the Drive from one to another, get carbon copy cloner to make an exact copy of your old HD to the New one...
    http://www.bombich.com/software/ccc.html
    Or SuperDuper...
    http://www.shirt-pocket.com/SuperDuper/
    Believe it or not, anything on the Desktop uses 3 times the Resources of the Mac than if stored elsewhere, I can note a slowdown from just 30 items on the Desktop on a really fast Mac, so the less the better on the Desktop.
    DW will not tell you about Bad Sectors, it's just the very best at Repair Directory damage & such.
    At this point I think you should get Applejack...
    http://www.macupdate.com/info.php/id/15667/applejack
    After installing, reboot holding down CMD+s, (+s), then when the DOS like prompt shows, type in...
    applejack AUTO
    Then let it do all 6 of it's things.
    At least it'll eliminate some questions if it doesn't fix it.
    The 6 things it does are...
    Correct any Disk problems.
    Repair Permissions.
    Clear out Cache Files.
    Repair/check several plist files.
    Dump the VM files for a fresh start.
    Trash old Log files.
    First reboot will be slower, sometimes 2 or 3 restarts will be required for full benefit... my guess is files relying upon other files relying upon other files! :-)
    Disconnect the USB cable from any Uninterruptible Power Supply so the system doesn't shut down in the middle of the process.

  • Tips for getting BlackBerry Desktop Manager to detect the BlackBerry smartphone!

    Here are a few tips that may help if your PC is unable to detect your BlackBerry smartphone!
    1.    Install the desktop manager software – when installing the Desktop Manager software that came with your device be sure to Not have the BlackBerry connected to the computer during this process.
    2.    Always use the USB ports from the back of the computer; never use a USB hub or a docking station USB port.
    3.    If you have another UBS cable you can try doing that to make sure it is not the cable causing the issue.
    4.    If you are using a laptop computer disable the power management settings. 
        a.    For Windows-XP and Vista do the following to disable power management on the USB ports
            i.     On the computer, right-click My Computer and select Properties.
            ii.    Click the Hardware tab, and then click Device Manager.
            iii.    Expand Universal Serial Bus controllers.
            iv.    Right-click the USB Root Hub and select Properties.
            v.     Click the Power Management tab, and clear the Allow the computer to turn off this device to save power check box.
            vi.    Click OK.
            vii.    Repeat steps i. through vi. for each USB Root Hub listed in BlackBerry Device Manager.
    5.    If you have uninstalled and reinstalled the Desktop Manager Software trying using the following knowledge base article to do a “clean uninstall” of the software. http://www.blackberry.com/btsc/KB02206
    6.    The existing USB driver installed is for an earlier model of the BlackBerry smartphone.
        a.    Manually upgrade the USB driver for the BlackBerry smartphone by completing the following steps:
            i.     Right-click My Computer and select Properties > Hardware > Device Manager.
            ii.     Under Universal Serial Bus Controllers, verify that the BlackBerry smartphone is found.
            iii.    If an exclamation mark is displayed, right-click the BlackBerry smartphone and select Update Driver.
            iv.    If the Hardware Update Wizard prompts you to use Windows Update, select No not this time and click Next.
            v.     Choose Install from a list or specific location and click Next.
            vi.    Choose Don't search. I will choose the driver to install and click Next.
            vii.    Click Have Disk and then choose Browse.
            viii.   Browse to C:\Program Files\Common Files\Research In Motion\USB Drivers.
            ix.    Double-click on RimUsbNT.inf, click OK, and then click Next.
    7.    If you have another PC try using that PC to see if you able to get the device connected
    8.    If you do not have another PC then try creating a new user account on the PC and then install the Desktop Manager software on that new profile.
    -SR
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

    There is also some great info in the below thread 
    http://supportforums.blackberry.com/t5/BlackBerry- Desktop-Software/Desktop-Manager-quot-disconnected -quot-and-I-can-t-get-rid-of/m-p/506238/highlight/ false#M16105
    -SR
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • Adobe Reader crashes a few seconds or minutes after start. After uninstalling I cannot manage to install it anymore

    Hello. Since several days Adobe Reader XI crashes a few minutes or seconds after start. I tried to get an update but the computer does not react after the click on the setup-file. Finally I uninstalled Adobe Reader and Flash Player in order to install it new. The download from the Adobe Page worked but the setup does not start so I cannot install it. I also tried to it with Reader X but it does not work either.
    I have a Windows 8.1 notebook, Mozilla Firefox.
    Would be nice if anyone could give me some advice!

    Uninstall the current Reader using http://labs.adobe.com/downloads/acrobatcleaner.html
    then reinstall with the offline installer from http://get.adobe.com/reader/enterprise/
    If the crash still occurs; try disabling Protected Mode in Adobe Reader [Edit | Preferences | Security (Enhanced)].

  • I keep getting a "start up disc is full" message on my iMac (running leopard)-  its a new mac so can't be full?

    I keep getting a "start up disc is full" message on my iMac (OSX 10.7.3 running leopard).  It can't be full the mac is only a few months old - please help - I am not a computer whizz so treat me gently!!

    Do you have any external hard drives attached that your system might be booting from? Did you create multiple partitions on your hard drive, one of which may be full? These are a couple of possibilities, and there may be others.
    I suggest powering on your system then immediately hold down the option key. Your system should display the system picker screen showing all bootable volumes. Do you see just one boot volume show up?
    I also suggest launching the Activity Monitor application that can be found in the Applications/Utilities folder. Click on the 'Disk Usage' option to see how much drive space is available as shown below. You may also want to use the Disk Utility application to verify the hard drive and file permissions. Both of these are options available within the application.

  • Cannot Get PSCS6 Started (Mac)

    When I start PSCS6 it flips over to the Adobe Applications Manager (V6.0.236.0) and says Sign In Required but provides NO place to enter Adobe ID etc.
    Clicking on Sign in now flips to a second screen:
    Clicking retry just jumps back to this second screen. Cannot get past this "loop".
    How do I get PSCS6 started?
    Thanks!

    Hi All,
    Please follow the instructions mentioned in kb doc:
    http://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html#id _78979
    There are a few threads on this same issue. Please try this suggestion and post ot the main thread at:
    I cannot sign in to Adobe Photoshop CS6
    Do let us know if issue still persists.
    Regards,
    Ashutosh

  • Not using my MacBook for a few minutes I get logged out, how can I avoid this?

    Whenever I have not used my MacBook (brand new) with Yosemite (all updates) installed not for a few minutes I get logged out and I need to login and to start all applications again. How can I stop this?
    My Energy Saving setting:

    Open the Security & Privacy pane of System Preferences and turn off automatic logout.
    (121990)

  • The little rubber button on my track pad fell out tipi on getting it back in?

    The little rubber button fell out on my track pad fell out tips on getting it back in?
    Sam

    https://discussions.apple.com/thread/4646963?start=0&tstart=0 may help you, it discusses replacing the rubber feet.

  • Some times when I press the home button to read my finger the screen becomes black and it shows the Apple logo, this take a few seconds to get back the screen and this has been happening even 3 or 4 times in a row!   What should I do?

    Some times when I press the home button to read my finger the screen becomes black and it shows the Apple logo, this take a few seconds to get back the screen and this has been happening even 3 or 4 times in a row!
    What should I do?

    Basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new).  Try each of these in order until the issue is resolved.

  • Hi, I am using HP11 and iPlanet web server. When trying to upload files over HTTP using FORM ENCTYPE="multipart/form-data" that are bigger than a few Kilobytes i get a 408 error. (client timeout).

    Hi, I am using HP11 and iPlanet web server. When trying to upload files over HTTP using FORM ENCTYPE="multipart/form-data" that are bigger than a few Kilobytes i get a 408 error. (client timeout). It is as if the server has decided that the client has timed out during the file upload. The default setting is 30 seconds for AcceptTimeout in the magnus.conf file. This should be ample to get the file across, even increasing this to 2 minutes just produces the same error after 2 minutes. Any help appreciated. Apologies if this is not the correct forum for this, I couldn't see one for iPlanet and Web, many thanks, Kieran.

    Hi,
    You didnt mention which version of IWS. follow these steps.
    (1)Goto Web Server Administration Server, select the server you want to manage.
    (2)Select Preference >> Perfomance Tuning.
    (3)set HTTP Persistent Connection Timeout to your choice (eg 180 sec for three minutes)
    (4) Apply changes and restart the server.
    *Setting the timeout to a lower value, however, may    prevent the transfer of large files as timeout does not refer to the time that the connection has been idle. For example, if you are using a 2400 baud modem, and the request timeout is set to 180 seconds, then the maximum file size that can be transferred before   the connection is closed is 432000 bits (2400 multiplied by 180)
    Regards
    T.Raghulan
    [email protected]

Maybe you are looking for

  • What is the Replacement Product Part Number of the SFP MGBSX1 that I can use?

    I did a BOM using ESW-520-48-K9 with SFP MGBSX1 (I need 1000BaseSX). But the configuartion tool said that Unit Price Column: "EOL" indicates item is end of life; N/A indicates item not available in current pricelist

  • Need clarification on drag n drop

    I need a small clarification on the following requirement. User has setup and data entry module. In the setup module, user has the option to select what are the text boxes to be displayed in the data entry screen. After submission, he will get all th

  • Skype won't open after install

    Hi there........ I've install the last version 6.22.64.106 of skype on my labtop running win 7 x64 , internet explorer 11 and when finished i open the program and came up window of skype and nothing happen after , even the space for writing the email

  • I just downloadeId the ios 6.1 and all of my contacts disappeared. Is there anything I can do to get them back?

    I just downloadeId the ios 6.1 and all of my contacts disappeared. Is there anything I can do to get them back?

  • How to use a var as a string

    hello, sorry for my question, but I want to use a var as a string: I know it is a completely beginners-question, but I didn´t need it until now: var zahl = Math.floor((Math.random()*99)+1); sym.$("frame")           .css(