Please Help me in my game career
Hi,
I have completed my graduation. I am very much interested in developing games. I have developed some 2d games using java and i am crazy about playing games. Now i want to start my career in game development by programming in Java. Can any one please help me how to approach for my goal.Currently developed one small game now wats my next step can i switch to java 3d games or J2ME. Please help me about my career.....Waiting for your reply...
I have found a much more heinous malady that seems to becoming more and more prevalent in the industry today, that is:
Hiring a young wannabe and drain the life out of them with overtime, no pay, with the promise of getting experience; and yet, when called to ask for a reference and explanation of what the intern did, they say, "..just some occasional basic entry stuff anyone could do."
That comes across to me as an interviewer as--he did some light computer related tasks and nothing note worthy. My team is still going to have to coddle him and we'll be a year or more bringing him up to do some of the most basic tasks--truely still entry level.
But in reality the intern did a huge amount of coding for them, in many cases actually took the place of an experienced programmer--this intern is not being paid on top of all of this--and developed an application or portions of an application that the company expects to make sizable profits--the intern does not share in the profits like everyone else, they volunteered to do this for the experience--and then they only get a marginal recomend while the company has padded their profits long into the future with significant aid from the inter's genius and diligent labors.
I have never seen an "internship" that had "unpaid" associated with it in the technical field--Computer Science and Engineering--that was worth it and didn't turn out to be a scam on the part of the "employer" to get a lot of work done for free. Even 20+ years ago, an intern made a decent wage when working in a technical field.
Similar Messages
-
I am firefox browser user,I like it,my kids like it too.I know it is 100/100 better than enter net EXPLORER,unfortunately I find out yestereday that I couldnt play the game I used to play for a very long time,I didnt know the reason. why? that is on FaceBook,every game is available excpet the game Gardens of time firefox dont allow me to play.WHY? because the love of the game I have to browse to enter net explorer,and I HATE IT SO MUCH.please help and bring my favorite game to firefox.thank you.
Please make sure your flash is updated to the latest version. Also check with the following article as it helps a lot [[Problems using Facebook in Firefox]] Thanks!
-
HP Pavilion dv6 Graphics Driver/ Card Issue- PLEASE HELP!
Please help!
I play games on my laptop and since about a week ago every time I try to play my games I get a Blue Screen after about 2 minutes of gameplay.
My BlueScreen says the following:
BCCode: 116
BCP1: FFFFFA800D7BE0C0
I made sure that my drivers are up to date and my computer is "cleaned out", but it still doesnt work.
Why hasnt HP updated their drivers since 2011!? Many people have this issue with no solutions known. I am about to sell this laptop and buy a different more reliable brand.Hi K3lly1313, welcome to the HP Forums. I understand that you are getting Bluescreen errors after a few minutes of gameplay.
To provide more accurate troubleshooting, I will need to know more information about your setup. What is the model or product number of your DV6? What version of Windows is installed? Please use the following guides if you need help finding that information:
Guide to finding your product number
Which Windows operating system am I running?
Is the error happening in one specific game, or multiple games? What game(s)?
I look forward to your response.
TwoPointOh
I work on behalf of HP
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping! -
i am not able to sign into i message, it keeps giving me a message "could not sign in. Please check your network connection and try again" Please help!!
FaceTime, Game Center, Messages: Troubleshooting sign in issues
-
I need help on a maze game...
I need to create a maze game, consist of a 14x18 grid that contains various obstacles. At the beginning of the game, the player is positioned at the upper left-hand corner of the grid. Each space of the board may have one of the following items in it: an immovable block, a moveable block, a bomb, or nothing. The items in the game have the following behavior:
1. The player is controlled by the user. The player may move up, down, left, or right.
2. An empty space is empty. Anything may move into an empty space.
3. An immovable block cannot move. Nothing may move the grid space that an immovable block occupies.
4. A moveable block can be pushed by the user. It cannot be pushed off of the grid. It cannot be pushed onto a space that an immovable block occupies. A movable block can be pushed into a space that is occupied by another moveable block provided that the second moveable block can move in turn.
5. A bomb space looks just like an empty space, however it's behavior is quite different. Only when something moves into its space does it become visible. If a player moves into the space, the bomb explodes, killing the player. If a moveable piece is moved into a bomb space, the bomb becomes visible. The bomb will still be active, meaning a player will still want to avoid this grid location.
The goal of the game is for the player to move from the upper left-hand corner to any grid location in the rightmost column. The player is moved by the input entered by the user.
So far, I have succesfully made the Simple console input for this game. The source code is as following.
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
public class SimpleConsoleInput
* Get a single character from the user
* @return value entered by the user
public char getChar()
BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 1);
System.out.print(":");
// Declare and initialize the char
char character = ' ';
// Get the character from the keyboard
boolean successfulInput = false;
while( !successfulInput )
try
character = (char) br.read();
successfulInput = true;
catch (NumberFormatException ex)
System.out.println("Please enter a character: ");
catch(Exception ex)
System.out.println(ex);
System.exit(0);
// Return the character obtained from the keyboard
return character;
* Get a single character from the user
* @return value entered by the user
* @param prompt - String to prompt the user with
public char getChar(String prompt)
BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 1);
System.out.print(prompt + ":");
// Declare and initialize the char
char character = ' ';
// Get the character from the keyboard
boolean successfulInput = false;
while( !successfulInput )
try
character = (char) br.read();
successfulInput = true;
catch (NumberFormatException ex)
System.out.println("Please enter a character: ");
catch(Exception ex)
System.out.println(ex);
System.exit(0);
// Return the character obtained from the keyboard
return character;
* Get a double from the user
* @return value entered by the user
public double getDouble()
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
System.out.print(":");
// Declare and initialize the double
double number = 0.0;
// Get the number from the keyboard
boolean successfulInput = false;
while( !successfulInput )
try
String line = br.readLine();
number = Double.parseDouble(line);
successfulInput = true;
catch (NumberFormatException ex)
System.out.println("Please enter a double: ");
catch(Exception ex)
System.out.println(ex);
System.exit(0);
// Return the number obtained from the keyboard
return number;
* Get a double from the user
* @return value entered by the user
* @param prompt - String to prompt the user with
public double getDouble(String prompt)
BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 1);
System.out.print(prompt + ":");
// Declare and initialize the double
double number = 0.0;
// Get the number from the keyboard
boolean successfulInput = false;
while( !successfulInput )
try
String line = br.readLine();
number = Double.parseDouble(line);
successfulInput = true;
catch (NumberFormatException ex)
System.out.println("Please enter a double: ");
catch(Exception ex)
System.out.println(ex);
System.exit(0);
// Return the number obtained from the keyboard
return number;
* Get an int from the user
* @return value entered by the user
public int getInt()
BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 1);
System.out.print(":");
// Declare and initialize the int
int number = 0;
// Get the number from the keyboard
boolean successfulInput = false;
while( !successfulInput )
try
String line = br.readLine();
number = Integer.parseInt(line);
successfulInput = true;
catch (NumberFormatException ex)
System.out.println("Please enter an integer: ");
catch(Exception ex)
System.out.println(ex);
System.exit(0);
// Return the number obtained from the keyboard
return number;
* Get an int from the user
* @return value entered by the user
* @param prompt - String to prompt the user with
public int getInt(String prompt)
BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 1);
System.out.print(prompt + ":");
// Declare and initialize the int
int number = 0;
// Get the number from the keyboard
boolean successfulInput = false;
while( !successfulInput )
try
String line = br.readLine();
number = Integer.parseInt(line);
successfulInput = true;
catch (NumberFormatException ex)
System.out.println("Please enter an integer: ");
catch(Exception ex)
System.out.println(ex);
System.exit(0);
// Return the number obtained from the keyboard
return number;
* Get a String from the user
* @return value entered by the user
public String getString()
BufferedReader console = new BufferedReader(new InputStreamReader(System.in));
System.out.print(":");
String name = null;
// Get the string from the keyboard
boolean successfulInput = false;
while( !successfulInput )
try
name = console.readLine();
successfulInput = true;
catch (NumberFormatException ex)
System.out.println("Please enter a string: ");
catch(Exception ex)
System.out.println(ex);
System.exit(0);
return name;
* Get a String from the user
* @return value entered by the user
* @param prompt - String to prompt the user with
public String getString(java.lang.String prompt)
BufferedReader console = new BufferedReader(new InputStreamReader(System.in));
System.out.print(prompt + ":");
String name = null;
// Get the string from the keyboard
boolean successfulInput = false;
while( !successfulInput )
try
name = console.readLine();
successfulInput = true;
catch (NumberFormatException ex)
System.out.println("Please enter a string: ");
catch(Exception ex)
System.out.println(ex);
System.exit(0);
return name;
* The main program for the SimpleInput class
* @param args - The command line arguments
public static void main(java.lang.String[] args)
SimpleConsoleInput i = new SimpleConsoleInput();
i.getString("Please Enter an Integer for me");
Now is the bard part for me...
I need to generate a random maze wioth those items. So far I can only make the maze using a template. The part of maze generator is given below...
public class Maze extends Applet {
String levels[] = {
"M^^^^#####" +
"M^^^^# #" +
"M^^^^#$ #" +
"M^^### $##" +
"M^^# $ $ #" +
"M### # ## #^^^######" +
"M# # ## ##### ..#" +
"M# $ $ ..#" +
"M##### ### #@## ..#" +
"M^^^^# #########" +
"M^^^^#######",
"M############" +
"M#.. # ###" +
"M#.. # $ $ #" +
"M#.. #$#### #" +
"M#.. @ ## #" +
"M#.. # # $ ##" +
"M###### ##$ $ #" +
"M^^# $ $ $ $ #" +
"M^^# # #" +
"M^^############",
"M^^^^^^^^########" +
"M^^^^^^^^# @#" +
"M^^^^^^^^# $#$ ##" +
"M^^^^^^^^# $ $#" +
"M^^^^^^^^##$ $ #" +
"M######### $ # ###" +
"M#.... ## $ $ #" +
"M##... $ $ #" +
"M#.... ##########" +
"M########M",
"M^^^^^^^^^^^########" +
"M^^^^^^^^^^^# ....#" +
"M############ ....#" +
"M# # $ $ ....#" +
"M# $$$#$ $ # ....#" +
"M# $ $ # ....#" +
"M# $$ #$ $ $########" +
"M# $ # #" +
"M## #########" +
"M# # ##" +
"M# $ ##" +
"M# $$#$$ @#" +
"M# # ##" +
"M###########",
"M^^^^^^^^#####" +
"M^^^^^^^^# #####" +
"M^^^^^^^^# #$## #" +
"M^^^^^^^^# $ #" +
"M######### ### #" +
"M#.... ## $ $###" +
"M#.... $ $$ ##" +
"M#.... ##$ $ @#" +
"M######### $ ##" +
"M^^^^^^^^# $ $ #" +
"M^^^^^^^^### ## #" +
"M^^^^^^^^^^# #" +
"M^^^^^^^^^^######",
"M######^^###" +
"M#.. #^##@##" +
"M#.. ### #" +
"M#.. $$ #" +
"M#.. # # $ #" +
"M#..### # $ #" +
"M#### $ #$ #" +
"M^^^# $# $ #" +
"M^^^# $ $ #" +
"M^^^# ## #" +
"M^^^#########",
"M^^^^^^^#####" +
"M^####### ##" +
"M## # @## $$ #" +
"M# $ #" +
"M# $ ### #" +
"M### #####$###" +
"M# $ ### ..#" +
"M# $ $ $ ...#" +
"M# ###...#" +
"M# $$ #^#...#" +
"M# ###^#####" +
"M####",
"M^^^^^^^^^^#######" +
"M^^^^^^^^^^# ...#" +
"M^^^^^^##### ...#" +
"M^^^^^^# . .#" +
"M^^^^^^# ## ...#" +
"M^^^^^^## ## ...#" +
"M^^^^^### ########" +
"M^^^^^# $$$ ##" +
"M^##### $ $ #####" +
"M## #$ $ # #" +
"M#@ $ $ $ $ #" +
"M###### $$ $ #####" +
"M^^^^^# #" +
"M^^^^^########",
"M^###^^#############" +
"M##@#### # #" +
"M# $$ $$ $ $ ...#" +
"M# $$$# $ #...#" +
"M# $ # $$ $$ #...#" +
"M### # $ #...#" +
"M# # $ $ $ #...#" +
"M# ###### ###...#" +
"M## # # $ $ #...#" +
"M# ## # $$ $ $##..#" +
"M# ..# # $ #.#" +
"M# ..# # $$$ $$$ #.#" +
"M##### # # #.#" +
"M^^^^# ######### #.#" +
"M^^^^# #.#" +
"M^^^^###############",
"M^^^^^^^^^^####" +
"M^^^^^####^# #" +
"M^^^### @###$ #" +
"M^^## $ #" +
"M^## $ $$## ##" +
"M^# #$## #" +
"M^# # $ $$ # ###" +
"M^# $ # # $ #####" +
"M#### # $$ # #" +
"M#### ## $ #" +
"M#. ### ########" +
"M#.. ..#^####" +
"M#...#.#" +
"M#.....#" +
"M#######",
"M^^####" +
"M^^# ###########" +
"M^^# $ $ $ #" +
"M^^# $# $ # $ #" +
"M^^# $ $ # #" +
"M### $# # #### #" +
"M#@#$ $ $ ## #" +
"M# $ #$# # #" +
"M# $ $ $ $ #" +
"M^#### #########" +
"M^^# #" +
"M^^# #" +
"M^^#......#" +
"M^^#......#" +
"M^^#......#" +
"M^^########",
"M################" +
"M# #" +
"M# # ###### #" +
"M# # $ $ $ $# #" +
"M# # $@$ ## ##" +
"M# # $ $ $###...#" +
"M# # $ $ ##...#" +
"M# ###$$$ $ ##...#" +
"M# # ## ##...#" +
"M##### ## ##...#" +
"M^^^^##### ###" +
"M^^^^^^^^# #" +
"M^^^^^^^^#######",
"M^^^#########" +
"M^^## ## #####" +
"M### # # ###" +
"M# $ #$ # # ... #" +
"M# # $#@$## # #.#. #" +
"M# # #$ # . . #" +
"M# $ $ # # #.#. #" +
"M# ## ##$ $ . . #" +
"M# $ # # #$#.#. #" +
"M## $ $ $ $... #" +
"M^#$ ###### ## #" +
"M^# #^^^^##########" +
"M^####",
"M^^^^^^^#######" +
"M^####### #" +
"M^# # $@$ #" +
"M^#$$ # #########" +
"M^# ###......## #" +
"M^# $......## # #" +
"M^# ###...... #" +
"M## #### ### #$##" +
"M# #$ # $ # #" +
"M# $ $$$ # $## #" +
"M# $ $ ###$$ # #" +
"M##### $ # #" +
"M^^^^### ### # #" +
"M^^^^^^# # #" +
"M^^^^^^######## #" +
"M^^^^^^^^^^^^^####",
"M^^^^#######" +
"M^^^# # #" +
"M^^^# $ #" +
"M^### #$ ####" +
"M^# $ ##$ #" +
"M^# # @ $ # $#" +
"M^# # $ ####" +
"M^## ####$## #" +
"M^# $#.....# # #" +
"M^# $..**. $# ###" +
"M## #.....# #" +
"M# ### #######" +
"M# $$ # #" +
"M# # #" +
"M###### #" +
"M^^^^^#####",
"M#####" +
"M# ##" +
"M# #^^####" +
"M# $ #### #" +
"M# $$ $ $#" +
"M###@ #$ ##" +
"M^# ## $ $ ##" +
"M^# $ ## ## .#" +
"M^# #$##$ #.#" +
"M^### $..##.#" +
"M^^# #.*...#" +
"M^^# $$ #.....#" +
"M^^# #########" +
"M^^# #" +
"M^^####",
"M^^^##########" +
"M^^^#.. # #" +
"M^^^#.. #" +
"M^^^#.. # ####" +
"M^^####### # ##" +
"M^^# #" +
"M^^# # ## # #" +
"M#### ## #### ##" +
"M# $ ##### # #" +
"M# # $ $ # $ #" +
"M# @$ $ # ##" +
"M#### ## #######" +
"M^^^# #" +
"M^^^######",
"M^^^^^###########" +
"M^^^^^# . # #" +
"M^^^^^# #. @ #" +
"M^##### ##..# ####" +
"M## # ..### ###" +
"M# $ #... $ # $ #" +
"M# .. ## ## ## #" +
"M####$##$# $ # # #" +
"M^^## # #$ $$ # #" +
"M^^# $ # # # $## #" +
"M^^# #" +
"M^^# ########### #" +
"M^^####^^^^^^^^^####",
"M^^######" +
"M^^# @####" +
"M##### $ #" +
"M# ## ####" +
"M# $ # ## #" +
"M# $ # ##### #" +
"M## $ $ # #" +
"M## $ $ ### # #" +
"M## # $ # # #" +
"M## # #$# # #" +
"M## ### # # ######" +
"M# $ #### # #....#" +
"M# $ $ ..#.#" +
"M####$ $# $ ....#" +
"M# # ## ....#" +
"M###################",
"M^^^^##########" +
"M##### ####" +
"M# # $ #@ #" +
"M# #######$#### ###" +
"M# # ## # #$ ..#" +
"M# # $ # # #.#" +
"M# # $ # #$ ..#" +
"M# # ### ## #.#" +
"M# ### # # #$ ..#" +
"M# # # #### #.#" +
"M# #$ $ $ #$ ..#" +
"M# $ # $ $ # #.#" +
"M#### $### #$ ..#" +
"M^^^# $$ ###....#" +
"M^^^# ##^######" +
"M^^^########"
final static char wall = '#';
final static char floor = ' ';
final static char me = '@';
final static char bomb = '&';
final static char movableBlock = '*';
final static char goal = '.';
Would someone please help me on this game...More information about this game:
The game should generate a random obstacle course for the player. The first column of the grid, however, should consist of all empty pieces, with the exception of the upper left-hand corner, which is the grid location where the player initially resides.
Enter a loop in which the following things happen (not necessarily in this order):
Print the current board configuration. Additionally, a key should be printed describing what each piece is.
Get an action from the user. The player can move up, down, left, or right. Use the following controls: up = 'i', down = 'm', left = 'j', right = 'k'. The player can move at most one block at a time. Of course, if the player tries to move into a spot occupied by an immovable block, the player will not move.
Inform the player whether they have won, or if they have lost (a player loses if they step on a bomb piece).
If the player types 'q', the game should terminate.
I am still stuck on this maze generator stuff.... Please help me.... -
Please Help.... IEEE 1394
Just brought an IPOD nano ma4777zt/a (don't understand 2nd generation / click wheel ?)
and my PC runs Windows XP home Edition
loaded itunes onto my computer by clicking download on web site Itunes 7
Once complete connected ipod via cable and I've got the message
"No IEEE 1394 Host controller found"
Searched for 8 hours & nothing seems to have worked
Please help !!!!Carefully check the bottom dock connector for any bent over pins or something in there shorting pins together. A magnifying glass would be a help.
The Firewire data pins on the dock connector are right next to some power pins and if you get a short between them, it can fool the iPod into thinking there is data coming in on the Firewire pins and it will give you Firewire related error messages.
For that matter, be sure to carefully check the Dock end of the USB cable for the same sort of problems. It would be help if you can find, beg, borrow, another USB cable, even if you just go to a local electronics store that sells iPods and see if you can test your iPod with one of their cables. Obviously if it doesn't give you the message on a different cable, then your cable is the issue. If you still get the message, then likely it is your iPod itself.
Patrick -
OK, so one night I was playing the game Lode Runner, Bejeweled, and Pacman. It was fully charged. I played until 10% was left. Then, I set it on my iHome. The next night, I can't get the game to fit the screen. Like a 1/2 in. from the left if you have the click wheel in your right hand. I turned it off for 24 hours and that didn't work. I need your help. Only the games I bought do that. Not the others, just those. Please help.
I got it fixed, so if it ever happens to you, restore your iPod at the iPod page under Summary.
-
I have 11 updates in my App Store but every time I click the update they ask first my apply ID that would be fine but after they will ask my credit card details since this is only to update. Please help me.
Also, even I would like to download some games it's ok to ask for our Apple ID but in the second time they will ask for the credit card details. Please help meMy younger brother had the same problem. You have to go into settings, app store, details and then change your credit card details to none. If there is no none option, you will have to use a different apple id.
-
Millionaire and friends game not loading! Please help! I have tried restarting the device & deleting the app and trying to reload but nothing works? I also tried to email the creators of the app but the email address for tech support bounced back to me so its obviously not a good email??
I tried to email the developer (Canada) but the email for technical support is not a good email. My email got returned to me undeliverable? Not sure what to do next? I also want to get the game going again cause I made purchases to get more coins to play the game & now I can't even use it? Very frustrating!!!
-
Hi All..
Presently I m working in TCS(2007 Passout). recently I hav undergone ABAP training conducted in TCS by SAP Education Services,and now waitiing for related projects here..But as told by HR currently no requirements for ABAPers..and also they will be providing Course attended certificate but dont know when.
Also
As told by sdn forums there are very less job opportunities for ABAP freshers
also Some people say Certification wil not matters much for getting jobs
My question's are here
1.is it necessary to attend certification exam and how should I plan for completing ABAP certification?
2.How well should i plan for my career?
3.Incase if i get project in someother technology in TCS, how i should come back to SAP?
Please help me regarding this.
I will be expecting ur reply and grateful to you for ur suggestions.
Thank you.
Edited by: shreyansh babagond on May 8, 2008 10:32 AMHi Shreyansh,
If u r good in ABAP its not necesary to do certification.Certifcation are helpful tp promote you and add an extra edge.
If u plan for abap certification then plz check these links:
ABAP Certification
ABAP Certification
ABAP certification Q's
And if got shifted in another tech and then want to switch back in EP then u have to consult related ppl there like ur RM or so.
Regards
Priya
award point for helpful answer -
URGENT FIX MY Connect Four game for Wednsday PLEASE HELP
I am using an APPLET and i want to use JOptionpane it didnt work when i used it in the paint method. So i want to make a runner to make the program work. I don't know why the Graphics g = new Graphics isnt working PLEASE HELP. Email the revised code to my email at [email protected]. URGENT FOR TOMORROW PLEASE HELP. should i have a spearate class for the runner, just email me please if you can help.
import javax.swing.JApplet;
import java.applet.*;
import java.awt.Graphics;
import java.awt.Color;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.JOptionPane;
public class Board extends JApplet
// the grid used for storing the game layout.
private int[][] grid;
// the player whose turn it is.
private int currentPlayer;
public final int player1=1;
public final int player2=2;
private int place1=5;
private int place2=5;
private int place3=5;
private int place4=5;
private int place5=5;
private int place6=5;
private int place7=5;
public static void main()
int column1;
int column2;
String name1;
String name2;
Graphics g=new Graphics();
Board test= new Board();
boolean wait=true;
while(wait)
String starts=JOptionPane.showInputDialog("Are you ready? \n (yes or no)");
starts.toLowerCase();
if(starts.equals("yes"))
wait=false;
name1=JOptionPane.showInputDialog("Enter Player 1's Name");
name2 = JOptionPane.showInputDialog("Enter Player 2's Name");
test.paintBoard(true,g);
while(!test.done() || !test.hasWon(g,player1) || !test.hasWon(g,player2))
column1=0;
while(column1>0 && column1<8)
column1=Integer.parseInt(JOptionPane.showInputDialog(name1+" what column do you choose?"));
test.place(player1, column1,g);
if(!test.done() || !test.hasWon(g,player1))
column2=0;
while(column2>0 && column2<8)
column2=Integer.parseInt(JOptionPane.showInputDialog(name1+" what column do you choose?"));
test.place(player2, column2,g);
public Board()
// create the grid
grid = new int[7][6];
// initialize the gridc
for (int row=0; row<6; row++)
for (int column=0; column<7; column++)
// set the position to a default value
grid[column][row] = 0;
public boolean done()
boolean flags =true;
for (int row=0; row<6; row++)
for (int column=0; column<7; column++)
if(grid[column][row] == 0)
flags=false;
return flags;
public void paint(Graphics g)
public void paintBoard(boolean flag, Graphics g)
int index= 0;
g.setColor(Color.YELLOW);
g.fillRect(0, 80, 700,700);
g.setColor(Color.WHITE);
//draws spaces
for(int y =100; y<700; y=y+100)
for(int x =10; x<700; x=x+100)
if(flag==false)
index++;
if(index%2==0)
g.setColor(Color.RED);
else
g.setColor(Color.BLACK);
else
g.setColor(Color.WHITE);
g.fillOval(x,y,80,80);
TextField column =new TextField(10);
if(flag==false)
g.setFont(new Font("Times New Roman", Font.BOLD,24));
g.setColor(Color.YELLOW);
g.drawString("C",45,245);
g.drawString("O",145,245);
g.drawString("N",245,245);
g.drawString("N",345,245);
g.drawString("E",445,245);
g.drawString("C",545,245);
g.drawString("T",645,245);
g.drawString("F",145,145);
g.drawString("U",145,345);
g.drawString("R",145,445);
g.setColor(Color.BLUE);
g.drawString("START",512,548);
public void paintFinish(Graphics g, int player)
int index= 0;
g.setColor(Color.YELLOW);
g.fillRect(0, 80, 700,700);
g.setColor(Color.WHITE);
//draws spaces
for(int y =100; y<700; y=y+100)
for(int x =10; x<700; x=x+100)
index++;
if(player==1)
g.setColor(Color.RED);
else
g.setColor(Color.BLACK);
g.fillOval(x,y,80,80);
public boolean hasWon(Graphics g, int player)
boolean status = false;
// check for a horizontal win
for (int row=0; row<6; row++)
for (int column=0; column<4; column++)
if (grid[column][row] != 0 &&
grid[column][row] == grid[column+1][row] &&
grid[column][row] == grid[column+2][row] &&
grid[column][row] == grid[column+3][row] &&
grid[column][row] == player)
status = true;
// check for a vertical win
for (int row=0; row<3; row++)
for (int column=0; column<7; column++)
if (grid[column][row] != 0 &&
grid[column][row] == grid[column][row+1] &&
grid[column][row] == grid[column][row+2] &&
grid[column][row] == grid[column][row+3]&&
grid[column][row] == player)
status = true;
// check for a diagonal win (positive slope)
for (int row=0; row<3; row++)
for (int column=0; column<4; column++)
if (grid[column][row] != 0 &&
grid[column][row] == grid[column+1][row+1] &&
grid[column][row] == grid[column+2][row+2] &&
grid[column][row] == grid[column+3][row+3]&&
grid[column][row] == player)
status = true;
// check for a diagonal win (negative slope)
for (int row=3; row<6; row++)
for (int column=0; column<4; column++)
if (grid[column][row] != 0 &&
grid[column][row] == grid[column+1][row-1] &&
grid[column][row] == grid[column+2][row-2] &&
grid[column][row] == grid[column+3][row-3]&&
grid[column][row] == player)
status = true;
if(status)
paintFinish(g, player);
return status;
public void place(int player, int column, Graphics g)
int index=0;
if(column==1)
index=place1;
if(column==2)
index=place2;
if(column==3)
index=place3;
if(column==4)
index=place4;
if(column==5)
index=place5;
if(column==6)
index=place6;
if(column==7)
index=place7;
grid[column-1][index]=player;
if(player==player1)
g.setColor(Color.RED);
if(player==player2)
g.setColor(Color.BLACK);
g.fillOval((column*100)+10,(index+1)*100,80,80);
if(column==1)
place1--;
if(column==2)
place2--;
if(column==3)
place3--;
if(column==4)
place4--;
if(column==5)
place5--;
if(column==6)
place6--;
if(column==7)
place7--;
}gamefreak1192 wrote:
I am using an APPLET and i want to use JOptionpane it didnt work when i used it in the paint method. So i want to make a runner to make the program work. I don't know why the Graphics g = new Graphics isnt working PLEASE HELP. Email the revised code to my email at [email protected] URGENT FOR TOMORROW PLEASE HELP. should i have a spearate class for the runner, just email me please if you can help.
This is bloody ridiculous. You want somebody to do your work for you, you can't be bothered to carry on a discussion here and ask for private email, and you expect somebody else to make your urgency (i.e. lousy time management) their problem. You got big brass ones, kid. -
Various problems in certains games.... please help me guys
Hi, I have a weird problem when I start up Pacific Fighters and Chronicles of Riddick.
The thing is, the game takes at least 15 minutes to open and when using the Caps Lock key, the green button on the keyboard takes quite some time to enlighten because the PC lags badly, so is the sound. In PF, the music is terribly affected when this bug occurs.
This happens about the 1/5 of the time I try to boot the game and the only ways to fix the problem is to:
1) Simply restart the computer;
2) Set the computer to sleep mode and then, come back to the game.
All of my games and my drivers are up to date and something important I'd like you to know is:
When the game boots normally, I can play easily up to 3 hours without any problem. Right now, I have about 15 games installed on my PC. Just to numerate a few, I have Far Cry, Half-Life 2 and never encountered any problem with these games.
On the other hand, Battlefield 2, when trying to connect to the server, will freeze and then again, the Caps Lock light on my keyboard will have problem to open (So that shows that the PC lags a lot) and then, it will de-freeze and the game says that I was disconnected from the server (That's quite normal, I've been inactive for 30 seconds). Yet, after returning to the game, the PC isn't completly in its original shape as when using the Teamspeak program, I can hear the others talking but their voice is quite sluggish and skipped every 5 seconds. The sound does the exact same thing in Pacific Fighters when it freezes (It goes mostly as follow: Clack clack clack clack, you know what I mean?)
If someone, please, knows why I have this problem, any help would be greatly appreciated. I have above 15 000pts in 3Dmarks 03 and my global performance on my PC is very good, except for this annoying bug.
In BF2, I didn't encounter any problem before, so I don't understand...
I have a
-Amd athlon 64 3000+ venice @ 40 degres in ful load
-Asus A8N-E @ lastest bios + driver 6.70 @ 38 degres in full load
-Msi NX7800GT @ 81.85 driver @ 45 degres in full load
-Soundblaster live 24bits
-Disc dur 160GB WD SATA II that has just been defragmented with diskeeper and that contains no viruses
-Thermaltake 420WATTS purepower
-3x512 DDR 400 OCZ
I also get problems in Bf2 clean sweep map only and only at 1 place : see http://img154.imageshack.us/my.php?image=screen0028ud.jpg
And also in BF:V http://img131.imageshack.us/my.php?image=bit6oz.jpg
Thanks to read this and please help meI also want to precise that in BF:V, this is the only vehicle that is bugged like this..
-
i cant access my mobsters account through myspace. every time i try to access it i get "problem loading page" "this page cannot be found" "404 error" and it wont let me access it. myspace works fine but as soon as i click on the mobsters app i get the 404 error, this page cannot be found, problem loading page! can you please help?
== This happened ==
Every time Firefox opened
== i try to access mobsters game through myspaceI dont understand the answer
'''''""The problem can be solved by opening FF and choosing Tools...Add On's...select the SEARCH addon and choose UNINSTALL...restart FF browser when asked, then reload Mobsters. This worked for me. The suggestion on the 404 that says to remove Search via Add/Remove Programs is completely BS, as Search doesnt show there. ""''''' -
My just bought ipad with retinal display 32G, screen frozen at one of game my son play. Now I can't turn off ipad, I can log in ipad. I connect ipad to my apple computer, message say I need to unlock the ipad, the problem is I can't even get to ipad home screen to unlock or enter the password. Basically, my ipad is dead. I can't even know what my series number etc. Please help!
Thanks!Try a reset:
Hold the Sleep and Home button down until you see the Apple logo. -
I have my brothers icloud account on my ipad and i want my icloud account back I have all my games from my acount but I can see his massages notes etc how can I get my icloud account back I tried so many things please help .???
go to settings and sign out his apple id in the sections i tell you:
1.game center
2.itunes and appstore
3.messages
4.icloud(delete acount;it wont realy delete it will only remove from your ipad)
5.facetime
and then enter your icloud in each and every section
Maybe you are looking for
-
i bought a locked at&t phone.... i sent it to be unlocked... got back a dead iphone 5s... plugged the charger in the wall, it gives me a black screen then the white screen with the apple logo, then repeat.... i tried the dfu thing and now the phone i
-
Same synced drives, different remaining space - aaarrggghh!
This may not pertain to Mountain Lion exclusively, in fact i know it doesn't, but nobody (not even the manufaturer can explain this: I have two 2TB Western Digital Caviar Green drives both formatted on my mac pro. I typically use Decimus Synk to sync
-
I have the most recent version of Flash Player installed. Yet any time I am on a web page requiring flash am told I need to download and install flash player. What do I need to do to make Adobe Flash Player 11.6 open when necessary?
-
My friend's company has a win2008 server, it an all-in-one kind of server, it's domain controller, dns, dhcp, and application server, av server. Because no IT person on site, and server's firewall is turned off, update is turn off, and it's extremely
-
My iphone 4s won't connect to wifi but other people's do
I have a new iphone 4S and it won't connect to the wi fi at our home. Other people in my family have iphones or nexus and they all will connect. I enter the password and the wireless symbol appears for a second but then it says unable to connect. I