Hi dear friends I'm quite new in java web-programming,and I do need your help for my project,if anyone can help me,I'll be really grateful! I 'll give extra explanation just if you know anything about web-programming. thanks
First,Sorry for my poor English :) In this project we should design a two-player game,that should work under web! this game consists of a board like a chess board(8"*8) and eight soldiers for each player.the goal is to omit the soldier of the opponent.A soldier can be omitted only if it is seen by 2 or more soldiers of the opponent.A soldier can only see the 8 cells around. my problem now is that I don't know how to start this project? I know it's so silly to ask such a broad question but I really don't know anyone who could help me with,I hope one of u gives me a clue and then I'll continue it :)
It is a java web programming project so I assume you are making this an applet? Also, what Java tools are you using? Are you using Eclipse, NetBean????
yes it's an applet.I use eclipse.
This might get you going http://www.caspercomsci.com/pages/javasource.htm#4 It is an applet chess game with source code
thanks :) you're really nice :)
dear MathDoodler,unfortunately the link you said didn't help me.I've read many thnigs about servlet programming and writing jsp files.but I still don't know what my first step should be?can u give me a clue?can u help me with the first step?just tell me what the first step for this project is?what should I write? I really need your help!it's about 12 days that I'm just studying different sites and testing different projects but I still don't know what I should do! thanks thanks :) ....
So you don't know how to create a basic applet? Also, do you have to create this with jsp? If you have to use jsp, you will need a front end. Jsp is a server side web programming language like PHP.
So sorry but can u explain more?what do u mean by front end?
Front end would be a user interface. It is there but the main work is done by php/jsp/perl/. For instance, when you create a html form, the html form is the GUI front end but the real work is done by a server side language like php/perl/jsp, which is the back end
Here is a link for creating a basic applet http://www.roseindia.net/eclipse/applet-eclipse.shtml That should tell you where to start.
thanks a thousands of thanks!I hope it'll help!:)
Once you get your applet built, you can put it into a html file by uploading YourAppletFile.class to the server and then put this inside of the HTML page. <applet code=YourAppletFile.class width="300" height="300"> Your browser does not support the <code>applet</code> tag. </applet>
Also a really good place to get help with java is http://www.javaranch.com/ and they have tutorials
Join our real-time social learning platform and learn together with your friends!