Moving a jpg on a game board to the correct number of spaces

I am currently doing a project for college and I am stuck. First of all I have a picture of a game board on screen. I have an array of objects which include position, x coord, y coord and instruction on each space. What I need to do is move a picture of a car the correct number of spaces that I have spun e.g if I spin a 3 then I would have to move 3 spaces. After I have draged the car I have to check if it is a valid move and if it is I have to follow the instructions on the space landed on. I was hoping someone could give me a few pointers in the right direction. Thanks
Anne

Here is a working example of something similar.
import java.awt.*;
import java.awt.Point;
import java.awt.event.*;
import java.util.*;
public class GameBoard extends Panel implements ActionListener {
     GameCanvas gcan = null;
     public GameBoard() {
          gcan = new GameCanvas(500,500);
          Button b1 = new Button("START.....");
          b1.addActionListener(this);
          setLayout(new BorderLayout(0,0));
          add(gcan, BorderLayout.CENTER);
          add(b1, BorderLayout.SOUTH);
     public static void main(String args[]) {
          Frame frm = new Frame();
          frm.add(new GameBoard());
          frm.pack();
          frm.show();
     public void actionPerformed(ActionEvent e) {
          gcan.start();
class GameCanvas extends Canvas {
     int width,height;
     java.util.List pcList = null;
     boolean started = false;
     Thread thread = null;
     public GameCanvas(int width, int height) {
          this.width=width;
          this.height=height;
          setSize(width,height);
     public void paint(Graphics g) {
          if(pcList == null) {
               pcList = createList();
          if(started) {
               Iterator e = pcList.iterator();
               while(e.hasNext()) {
                    ((Square)e.next()).draw(g);
     public void update(Graphics g) {
          paint(g);
     public void delay(int d) {
          try { Thread.sleep(d);
          }catch(Exception e) { }
     public void inc() {
          if(pcList != null) {
               Iterator e = pcList.iterator();
               while(e.hasNext()) {
                    ((Square)e.next()).inc(5);
                    delay(25);
                    repaint();
     public java.util.List createList() {
          java.util.List tmpList = new ArrayList();
          for(int col=0; col<width; col+=10) {
               for(int row=0; row<height; row+=10) {
                    tmpList.add(new Square( new Point(row,col), randColor(), 10));
          return tmpList;
     public Color randColor() {
          return ( new Color(rand(255),rand(255),rand(255) ));
     public int rand(int d) {
          return(  (int) (Math.random() * d) );
     public void start() {
          started = true;
          repaint();
          Runnable r = new Runnable() {
               public void run() {
                    while(true) {
                         inc();
          thread = new Thread(r);
          thread.start();
          repaint();
class Square {
     Color color = Color.blue;
     Point pnt = null;
     int size = 0;
     public Square(Point pnt, Color color, int size) {
          this.pnt=pnt;
          this.size=size;
          this.color=color;
     public void draw(Graphics g) {
          g.setColor(color);
          g.fillRect(pnt.x, pnt.y, pnt.x+size, pnt.y+size);
     public void inc(int d) {
          pnt.x += d;
          pnt.y += d;
}import java.awt.*;
import java.awt.Point;
import java.awt.event.*;
import java.util.*;
public class GameBoard extends Panel implements ActionListener {
     GameCanvas gcan = null;
     public GameBoard() {
          gcan = new GameCanvas(500,500);
          Button b1 = new Button("START.....");
          b1.addActionListener(this);
          setLayout(new BorderLayout(0,0));
          add(gcan, BorderLayout.CENTER);
          add(b1, BorderLayout.SOUTH);
     public static void main(String args[]) {
          Frame frm = new Frame();
          frm.add(new GameBoard());
          frm.pack();
          frm.show();
     public void actionPerformed(ActionEvent e) {
          gcan.start();
class GameCanvas extends Canvas {
     int width,height;
     java.util.List pcList = null;
     boolean started = false;
     Thread thread = null;
     public GameCanvas(int width, int height) {
          this.width=width;
          this.height=height;
          setSize(width,height);
     public void paint(Graphics g) {
          if(pcList == null) {
               pcList = createList();
          if(started) {
               Iterator e = pcList.iterator();
               while(e.hasNext()) {
                    ((Square)e.next()).draw(g);
     public void update(Graphics g) {
          paint(g);
     public void delay(int d) {
          try { Thread.sleep(d);
          }catch(Exception e) { }
     public void inc() {
          if(pcList != null) {
               Iterator e = pcList.iterator();
               while(e.hasNext()) {
                    ((Square)e.next()).inc(5);
                    delay(25);
                    repaint();
     public java.util.List createList() {
          java.util.List tmpList = new ArrayList();
          for(int col=0; col<width; col+=10) {
               for(int row=0; row<height; row+=10) {
                    tmpList.add(new Square( new Point(row,col), randColor(), 10));
          return tmpList;
     public Color randColor() {
          return ( new Color(rand(255),rand(255),rand(255) ));
     public int rand(int d) {
          return(  (int) (Math.random() * d) );
     public void start() {
          started = true;
          repaint();
          Runnable r = new Runnable() {
               public void run() {
                    while(true) {
                         inc();
          thread = new Thread(r);
          thread.start();
          repaint();
class Square {
     Color color = Color.blue;
     Point pnt = null;
     int size = 0;
     public Square(Point pnt, Color color, int size) {
          this.pnt=pnt;
          this.size=size;
          this.color=color;
     public void draw(Graphics g) {
          g.setColor(color);
          g.fillRect(pnt.x, pnt.y, pnt.x+size, pnt.y+size);
     public void inc(int d) {
          pnt.x += d;
          pnt.y += d;
}import java.awt.*;
import java.awt.Point;
import java.awt.event.*;
import java.util.*;
public class GameBoard extends Panel implements ActionListener {
     GameCanvas gcan = null;
     public GameBoard() {
          gcan = new GameCanvas(500,500);
          Button b1 = new Button("START.....");
          b1.addActionListener(this);
          setLayout(new BorderLayout(0,0));
          add(gcan, BorderLayout.CENTER);
          add(b1, BorderLayout.SOUTH);
     public static void main(String args[]) {
          Frame frm = new Frame();
          frm.add(new GameBoard());
          frm.pack();
          frm.show();
     public void actionPerformed(ActionEvent e) {
          gcan.start();
class GameCanvas extends Canvas {
     int width,height;
     java.util.List pcList = null;
     boolean started = false;
     Thread thread = null;
     public GameCanvas(int width, int height) {
          this.width=width;
          this.height=height;
          setSize(width,height);
     public void paint(Graphics g) {
          if(pcList == null) {
               pcList = createList();
          if(started) {
               Iterator e = pcList.iterator();
               while(e.hasNext()) {
                    ((Square)e.next()).draw(g);
     public void update(Graphics g) {
          paint(g);
     public void delay(int d) {
          try { Thread.sleep(d);
          }catch(Exception e) { }
     public void inc() {
          if(pcList != null) {
               Iterator e = pcList.iterator();
               while(e.hasNext()) {
                    ((Square)e.next()).inc(5);
                    delay(25);
                    repaint();
     public java.util.List createList() {
          java.util.List tmpList = new ArrayList();
          for(int col=0; col<width; col+=10) {
               for(int row=0; row<height; row+=10) {
                    tmpList.add(new Square( new Point(row,col), randColor(), 10));
          return tmpList;
     public Color randColor() {
          return ( new Color(rand(255),rand(255),rand(255) ));
     public int rand(int d) {
          return(  (int) (Math.random() * d) );
     public void start() {
          started = true;
          repaint();
          Runnable r = new Runnable() {
               public void run() {
                    while(true) {
                         inc();
          thread = new Thread(r);
          thread.start();
          repaint();
class Square {
     Color color = Color.blue;
     Point pnt = null;
     int size = 0;
     public Square(Point pnt, Color color, int size) {
          this.pnt=pnt;
          this.size=size;
          this.color=color;
     public void draw(Graphics g) {
          g.setColor(color);
          g.fillRect(pnt.x, pnt.y, pnt.x+size, pnt.y+size);
     public void inc(int d) {
          pnt.x += d;
          pnt.y += d;
}Good Luck,
-- Ian

Similar Messages

  • FloralMatchMaker sample how do bring the game board to the front of the scene

    Want to use the example FloralMatchMaker but want to add an image in the background
    When I do this , the game board  is behind the pic in the final scene and can not be clicked
    How do I get the game board to come to the front

    Use CSS z-index to move your background back or board up.sym.$("background").css("z-index":1);
    And a higher number for the rest.
    I do not have a way to look at it right away, so I  not sure what the setting is. But usually z-index manipulation works.

  • I can't use my payment details to buy a game i have the correct amount in my account everytime i put security code in it says payment declined please help?

    I can't use payment details to buy a game from app store i have the correct amount in my account but everytime i put my security code in it says payment declined. please help

    it's a secured credit card
    I checked with my bank to see what such a beast could be. So you have an account in the bank that serves as collateral for the secured credit card and the line of credit available on the card is equal to the amount on deposit in the collateral bank account?
    So the issue is between the iTunes payment system and your bank. It might be best to see what the bank has as a record of your attempt to make the purchase. I doubt any fellow users here can offer much insight as too why the system won't accept your payment method on this attempted purchase.

  • Moving multiple kids to different game center after the fact.

    I currently have multiple I pads in my house (kids) using the same game center account for last few years ipad 2 and ipad 3 .  So far no scores purchases etc have filtered into the wrong i pad but they both do make purchases in same games. Now they both have a game and it only allows one to use game center . I would like to separate there games to a game center id for each kid but im worried about loosing game data and or purchases etc.. They are both on same Apple ID so mostly I'm worried about in game purchases. Any recommended process ? will a full backup even backup this data as well?

    Sorry, the code I MEANT to put in was as follows (how do you edit posts here?!)
    public class AdminTab extends JPanel implements
    ActionListener
         static JPanel selectPane = new JPanel();
         static JPanel controlPane = new JPanel();
         static TableModel userBatchNums;
         static JTable table;
         static TableModel userBatchNums = new TableModel3();
         static JTable table = new JTable(userBatchNums);
         static JScrollPane scrollPane = new JScrollPane();
         public AdminTab()
              super(false);
              setLayout(new BorderLayout());
          // other code here to add items to the selectPane and controlPane
              add(selectPane, BorderLayout.PAGE_START);
              add(scrollPane, BorderLayout.CENTER);
              add(controlPane, BorderLayout.PAGE_END);
              scrollPane.add(table);
              scrollPane.revalidate();
    and the change that works but is useless for me is to remove the last two lines, and change the FIFTH line of code to read:
         static JScrollPane scrollPane = new JScrollPane(table);

  • Game Board on Pogo Games is partially hidden

    For some reason the game board on my Pogo games has slid or moved over under the chat area.  I cannot get it to move back.  I can enlarge the outside screen but the game board doesn't move.  Their support services have been unable to resolve the problem.  I have tried changing the screen resolution, but it doesn't help.  Any help would be greatly appreciated.  Thanks.

    Is Java working now you have updated to Firefox 8.0.1?
    * http://www.java.com/en/download/help/testvm.xml - How do I test whether Java is working on my computer? - 1.4.2_xx, 1.5.0, 6.0

  • We just moved from the United States to Costa Rica.  The first two days my mac worked great.  Then all of a sudden I was trying to use a game application and the screen went black and there is a white cursor which I can move around, but I can't escape it

    We just moved from the United States to Costa Rica.  The first two days my mac worked great.  Then all of a sudden I was trying to use a game application and the screen went black and there is a white cursor which I can move around, but I can't escape it. When I restart it seems okay and I see my main screen, but only for a second and then it goes black again. 
    This computer was brand new in June.  Is it the humidity???   What can I do.  Please help!!!!

    No guarantess but try smc and pram resets,

  • When using FF 5.0, rollover type ads on Facebook game Lexulous pages are 'enlarged' and block 1/3 of the game board. Using up to date versions of Win 7 Home Premium, Adobe Flash and ActiveX

    When using FF 5.0, rollover type ads (i.e. ads for XBOX) on Facebook game Lexulous pages are 'enlarged' and block 1/3 of the game board. Using up to date versions of Win 7 Home Premium, Adobe Flash and ActiveX on an HP Pavillion dv7 laptop. Does NOT happen at all in MS IE 8, but occurs every time in FF 5.0.
    Also, Google 'translate this page' links do not work in FF 5.0, but works in MS IE 8. All I get in FF is a blank page, time after time.

    Hi,
    I am using a Nvidia 4200M adapter in my Laptop, Driver 266.96, Direct X 11
    In my desktop I am using an ATI XFX 6950, latest revision drivers (I am not at home right now so I cant get that info).
    The issue I did describe above, but it was a long explanation.
    In some flash games the game files load initially and get as far as the "click to start" button. Then the flash area usually goes either all white or all black (usually depending on the falsh game default background color) and then it stays that color. Cant see anything after hitting start (usually most games have an intro video or animation before the game starts, but I cant see any of it.
    For the very few games that do start, the flash game or application does not seem to work correctly in that when the rare game starts, it wont save any game files or save files to the pc and so if I exit the game (navigate away to another page or close browser) and then later come back, even though I click the option to save games (and ensure that the flash application slider shows it can save files and lots of space) it does not save and I have to start from the beginning all the time.
    More explanation I gave above.

  • Moving a jpg image on top of another jpg image

    I am currently doing a game board project and I need code to move an image that is on top of another image. I have the board image up but I need to put the other image on top of it and move it. Please someone with code to drag and drop help me. Thanks Anne

    Try this code:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Iover extends JFrame
         Mpan   pan = new Mpan();
         JLabel lbl;
    public Iover() 
         addWindowListener(new WindowAdapter()
        {     public void windowClosing(WindowEvent ev)
              {     dispose();
                   System.exit(0);}});
         setBounds(10,10,520,350);
         getContentPane().setLayout(new BorderLayout());
         getContentPane().add(pan,BorderLayout.CENTER);      
         pan.setLayout(null);
         lbl = new JLabel(new ImageIcon("game1.gif"));
         lbl.setBounds(100,100,100,100);
         pan.add(lbl);
         setVisible(true);
         lbl.addMouseMotionListener(new MouseMotionAdapter()          
         {     public void mouseDragged(MouseEvent m)
                   lbl.setLocation(lbl.getX()+m.getX(),lbl.getY()+m.getY());
    public class Mpan extends JPanel
    public Mpan()
    public void xpaint(Graphics g)
         g.setColor(Color.pink);
         g.fillRect(0,0,getWidth(),getHeight());
         paintComponents(g);
    public static void main (String[] args) 
         new Iover();
    Noah

  • First project, an applet game board.

    Dear coders,
    I cannot get my carefully constructed color arrays to color the tiles in my game board.
    If some kind person would kindly peruse my scratchings and show me how to get my colors on to the tiles, I would be most grateful.
    Here is the code as far as I have been able to take it.
    import java.awt.*;
    import java.applet.*;
    import java.util.*;
    public class JbGreed1 extends Applet
         int x;
         int y;
         int c;
         int rn;
         byte[] rd = new byte[16];
         byte[] gr = new byte[16];
         byte[] bl = new byte[16];
         int [][] displayBoard = new int[60][40];
         Random rnd = new Random ( ) ;
         public void colours ( )
         rd[ 0]= ( byte ) 255;     gr[ 0]= ( byte ) 255;     bl[ 0]= ( byte ) 255;
         rd[ 1]= ( byte ) 255;     gr[ 1]= ( byte ) 0;     bl[ 1]= ( byte ) 0;
         rd[ 2]= ( byte ) 0;     gr[ 2]= ( byte ) 0;     bl[ 2]= ( byte ) 255;
         rd[ 3]= ( byte ) 0;     gr[ 3]= ( byte ) 255;     bl[ 3]= ( byte ) 0;
         rd[ 4]= ( byte ) 255;     gr[ 4]= ( byte ) 255;     bl[ 4]= ( byte ) 0;
         rd[ 5]= ( byte ) 0;     gr[ 5]= ( byte ) 127;     bl[ 5]= ( byte ) 0;
         rd[ 6]= ( byte ) 0;     gr[ 6]= ( byte ) 160;     bl[ 6]= ( byte ) 255;
         rd[ 7]= ( byte ) 0;     gr[ 7]= ( byte ) 240;     bl[ 7]= ( byte ) 255;
         rd[ 8]= ( byte ) 200;     gr[ 8]= ( byte ) 190;     bl[ 8]= ( byte ) 0;
         rd[ 9]= ( byte ) 160;     gr[ 9]= ( byte ) 0;     bl[ 9]= ( byte ) 0;
         rd[10]= ( byte ) 0;     gr[10]= ( byte ) 155;     bl[10]= ( byte ) 155;
         rd[11]= ( byte ) 127;     gr[11]= ( byte ) 0;     bl[11]= ( byte ) 127;
         rd[12]= ( byte ) 79;     gr[12]= ( byte ) 79;     bl[12]= ( byte ) 79;
         rd[13]= ( byte ) 255;     gr[13]= ( byte ) 0;     bl[13]= ( byte ) 255;
         rd[14]= ( byte ) 127;     gr[14]= ( byte ) 127;     bl[14]= ( byte ) 127;
         rd[15]= ( byte ) 200;     gr[15]= ( byte ) 200;     bl[15]= ( byte ) 200;
         public void init ( )
              for ( y=0; y<40; y++ )
                   for ( x=0; x<60; x++ )
                        int rn = rnd.nextInt ( ) *100;
                        if ( ( rn%14 ) == 2 ) displayBoard [x] [y] = 1;
                        else displayBoard [x] [y] = 0;
         public void paint ( Graphics g )
              setBackground ( Color.black ) ;
              int rn = ( rnd.nextInt ( ) *100 ) %14;
              g.setColorRGB ( rd[rn], gr[rn], bl[rn] ) ;
              for ( int x=0; x<60; x++ )
                   for ( int y=0; y<40; y++ )
                        if ( displayBoard [x] [y] >0 )
                             g.fillRect ( 15+x*16, 15+y*16,16,16 ) ;
                        else
                             g.fillRect ( 16+x*16, 16+y*16,14,14 ) ;
    }Thank you for your kind attention (-_-)
    Edited by: julianbury on Jun 24, 2009 8:20 PM
    Edited by: julianbury on Jun 24, 2009 8:22 PM

    Hiya AndrewThompson,
    I still have this color problem with the gameboard applet ...
    It compiles ok but doesn't work the way it should.
    This line sets random tile-color-numbers (0 to 13) thus:
    board [x] [y] = ( ( rnd.nextInt ( ) *100 ) %14 );and the lines below are supposed to read color number for the tile and draw it accordingly:
    g.setColor ( tileColour [ board [x] [y] ] ) ;
    g.fillRect ( 16+x*16, 16+y*16,14,14 ) ;This is not working. It draws one tile in black and stops without throwing an error.
    So, I commented it out
    g.setColor ( tileColour [ board [x] [y] ] ) ;and substituted
    g.setColor ( Color.cyan ) ;Just to check that it covers the board.
    I cannot understand why it is not working.
    Here are the HTM file contents:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
    <head>
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
    <title>julianbury.com</title>
    </head><body>
    <center><applet code="GameBoard.class" width="992" height="672"></applet></center>
    </body></html>
    And here is the entire Java source for you to play with:
    //     GameBoard.java
    import java.applet.*;
    import java.awt.*;
    import java.util.*;
    public class GameBoard extends Applet
         int x;
         int y;
         int c;
         int rr;
         int [][] board = new int[60][40];
         Random rnd = new Random ( ) ;
         Color [] tileColour = new Color[16];
         public void tileColours ( )
              tileColour[ 0] = new Color( 255, 255, 255);
              tileColour[ 1] = new Color( 255, 0, 0);
              tileColour[ 2] = new Color( 0, 0, 255);
              tileColour[ 3] = new Color( 0, 255, 0);
              tileColour[ 4] = new Color( 255, 255, 0);
              tileColour[ 5] = new Color( 0, 127, 0);
              tileColour[ 6] = new Color( 0, 160, 255);
              tileColour[ 7] = new Color( 0, 240, 255);
              tileColour[ 8] = new Color( 200, 190, 0);
              tileColour[ 9] = new Color( 160, 0, 0);
              tileColour[10] = new Color( 0, 155, 155);
              tileColour[11] = new Color( 127, 0, 127);
              tileColour[12] = new Color( 79, 79, 79);
              tileColour[13] = new Color( 255, 0, 255);
              tileColour[14] = new Color( 127, 127, 127);
              tileColour[15] = new Color( 200, 200, 200);
         public void init ( )
         {     // assign a random color to each tile -- colors 0 to 13
              for ( y=0; y<40; y++ )
                   for ( x=0; x<60; x++ )
                        board [x] [y] = ( ( rnd.nextInt ( ) *100 ) %14 );
         public void paint ( Graphics g )
              setBackground ( Color.gray ) ;
              for ( int x=0; x<60; x++ )
                   for ( int y=0; y<40; y++ )
    //                    g.setColor ( tileColour [ board [x] [y] ] ) ;
                        g.setColor ( Color.cyan ) ;
                        g.fillRect ( 16+x*16, 16+y*16,14,14 ) ;
    }Thank you in anticipation and hope (-_-)
    ==========================================================
    Edited by: julianbury on Jun 26, 2009 6:12 AM

  • Setting up a game board

    Hey, i was wondering if anyone could give me some pointers on how to set up a game board using JFrame or an Applet?
    fyi the game i am trying to make is checkers

    Ok got the game board i think...
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.ArrayList;
    public class CheckersBoard
        final int EMPTY = 0;
        final int RED = 1;
        final int BLACK = 2;
        int board[][];
        void checkersData()
           board = new int[8][8];
           setUpGame();
        int pieceAt(int row, int col)
           return board[row][col];
         void setUpGame()    //* Set up the board with checkers in position for the beginning
                             //* of a game.
                             //* The first 3 rows contain black pieces, last 3 rows contain
                             //* red pieces
               for (int row = 0; row < 8; row++)
                for (int col = 0; col < 8; col++)
                   if ( row % 2 == col % 2 )
                      if (row < 3)
                            board[row][col] = BLACK;
                      else if (row > 4)
                         board[row][col] = RED;
                      else
                         board[row][col] = EMPTY;
                else
                   board[row][col] = EMPTY;
             }       }  // end setUpGame()
        public void paintComponent(Graphics g)
                /* Draw the squares of the checkerboard and the checkers. */
             for (int row = 0; row < 8; row++)
                for (int col = 0; col < 8; col++)
                   if ( row % 2 == col % 2 )
                      g.setColor(Color.LIGHT_GRAY);
                   else
                      g.setColor(Color.GRAY);
                      g.fillRect(2 + col*20, 2 + row*20, 20, 20);
                  switch (pieceAt(row,col))
                     case CheckersData.RED:
                         g.setColor(Color.RED);
                         g.fillOval(4 + col*20, 4 + row*20, 15, 15);
                         break;
                     case CheckersData.BLACK:
                         g.setColor(Color.BLACK);
                         g.fillOval(4 + col*20, 4 + row*20, 15, 15);
                         break;
       }//end class checkersboardbut now im stuck...I kno i need an abstract class piece, then create redPiece and blackPiece extending into piece. and i also need to input the rules, which i think i will add to the gameBoard class. And a class for people. Im not sure how to do any of that =P, ill be reading up on it more over the next couple of hours so plz drop some hints if u can.
    PS, I have no idea how to display my board...
    Edited by: JavaNoobie on Feb 15, 2008 2:18 AM

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

  • The notice board in The Witcher 3...

    I just picked this game up on saturday and only had a few hours to play it so far. But reasy this is becoming one of my favourite games its so fun to play and they bring the atmosphere forward so well.
    Only thing im struggling with is the notice board in the first town. I picked up a few flyers on there that sounded quite interesting but its not opening any new side quests for me. Does it add more points of interest on my map marked with a "?". If so how am i supposed to see which is to do with the notice board?

    Sometimes you will have to open your inventory and read the message before it activates.
    Also if you plan on doing side quests try and do them before you advance the main story. As after you hit certain levels you'll get nothing from completing them.

  • Any games used with the motion sensor feature on the new ipod nano?

    Are there any games, such as the one shown in the comercial where the feature of moving around the ipod is being used. (i think the game was a racing game of some sort) thanks.
    (p.s a title for a game would be appreciated)

    The Nano commercial doesn't show a racing game.
    Are you thinking of this commercial: http://www.apple.com/ipodtouch/gallery/ads/
    There is only one page of games for click wheel iPods and I only found one racing game.

  • I have a 1st gen ipad. Want to play Candy Crush. Installed app from app store. I hit play now, I see the board then the pad goes back to the start screen (the one with all the apps displayed). Do I need additional apps to run? Thanks.

    I have a 1st generation iPad. Want to play Candy Crush Saga. Installed app from Apple Store. When I tap on the app, I wait a long time while it reads "loading" then I hit "play", I see the board then the ipad goes back to the ipad start screen (the one with all the apps displayed). Is there some additional program I need to play this type of game. I know that space is not an issue as I have very little stored. Thanks.
    Just found my answer. Worked perfectly. Instructions very clear.

    try uninstalling the app and reinstalling it. u shouldnt need to install anything else but the app itself to get it running. if that doesnt work then update ur software and see if that works.

  • Is there a way of connecting the ipad to the smart board in the classroom, so that the smartboard is the control, and the ipad is displaying what is on the smartboard? This is to help a visually impaired child see what is on the smartboard.,

    Is there a way of connecting the ipad to the smart board in the classroom, so that the smartboard is the control, and the ipad is displaying what is on the smartboard? This is to help a visually impaired child see what is on the smartboard.

    Absolutely!
    Install Splashtop2 on the PC and enable it to be controlled or ran from iPad or Reflection to simply allow iPad to serve as PC unwired monitor. With Splashtop and an Apple TV connected, you use the smartboard as usual, yet the PC and iPad can see the same content. The impaired child can even interact with the Smart Board via the iPad as if he were writing directly on the big screen. Erasing functions can be done by touching the Smart Board manual controls. Several variables are in play that cause this lack of functionality:
        Apple won't permit PC software that infringes its proprietary apps.
        Smart Board companies refuse to develop iPad apps because they feel threatened and are being replaced by iPads
        School districts think Apple TV is meant for copyright infringement and could expose them to safe harbor lawsuits
        Network administrators make it impossible to login Apple TVs because they don't want the streaming occurring
        Classrooms are not able to keep up with the technology of using the iPad
        Clicker companies refuse to play with iPad because they see it as a potential threat to their core business clients
        Apple is not working as hard as it could to exploit its capabilities in education, thus losing money in iPad sales
    The bottom line is that we educators and technology developers are hurting our childern with petty conflicts.

Maybe you are looking for

  • PR showing open quantity, still PO is done completely for the PR.

    Dear All, PR is showing open quantiy in "Quantities/Dates" tab even though PO is done for full quantity of the PR. Due to this, PR is showing commitment items. Please guide for a proper solution to close the commitment items in the PR. Regards

  • How to display pdf-files out of a blob

    Hello, we want to use pdf to publish our enterprise-informations (jobs, press release...) in the intranet. How can a display a pdf-file with Portal that was saved in blob? regards Ralf Schmitt

  • Sub removed from my country - refund question

    Has anyone ever come across a problem with subscriptions and refunds where the magazine was removed from the store before your sub was up? I'm a yearly subscriber to the Newsstand app "Popular Science+".  Recently I noticed that the monthly subscript

  • Two level approval in workflows

    Dear All, I am making a workflow which trigger when the Maintenance Order get RELEASED, the functionality of the workflow is as follows :- 1. A recipient should get workflow in his/her SAP inbox for Approval or Rejection of maint.  Order. release. 2.

  • How to hide outline borders of a JTable

    whoa!! lots of work in JTable is sure problametic with limited accessibility in Java, anyways my question is that how can we achieve a JTable without outline borders and if possible without any third party jars please.. Thanks