Find Us On: Facebook Twitter Rss Feed Blog
Need To Register? Sign Up Login

java multithreading and networking

xiaomengxi
xiaomengxi 


this program requires client java, run as a GUI,server side perform all the calculations for controlling the games,can you do a java program to meet all the assignment requirements. and capture pictures to show how to run the programs.using netbeans? Attachments Tags
Clarifications

Answers

Find-A-Word game using Multithreading & Networking JAVA

SW_wizard
SW_wizard 



Find-A-Word game lets multiple users play this game by connecting to the game server simultaneously.
Code is self-explanatory with lots of comments.
Readme file is also attached which describes the complete execution of the game.

Full source code is attached.
Attachments
FindAWord-game-using-Multithreading&Networking.zip (55 K) Download




















Preview
be called on their own.) Example of inserting an obfuscator after compilation could look like this: <target name="-post-compile"> <obfuscate> <fileset dir="${build.classes.dir}"/> </obfuscate> </target> For list of available properties check the imported nbproject/build-impl.xml file. Another way to

Preview
sotpz qdfpe lyitx dwops htyrn ihfja

Preview
<tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/> <touch file="${tmp.manifest.file}" verbose="false"/> </target> <target depends="init" if="do.archive+manifest.available" name="-do-jar-with-libraries-copy-manifest"> <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/> <copy file="${manifest.file}" tofile="${tmp.manifest.file}"/> </target> <target depends="init,-do-jar-with-libraries-create-manifest,-do-jar-with-libr

Preview
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>

Preview
xmlns="http://www.netbeans.org/ns/project/1"> <type>org.netbeans.modules.java.j2seproject</type> <configuration> <data xmlns="http://www.netbeans.org/ns/j2se-project/3"> <name>FindAWord</name>

Preview
//check if connection could be made if(val == true){ JOptionPane.showMessageDialog(null, "Connection successful","Message",JOptionPane.INFORMATION_MESSAGE); f.setVisible(false); playGame(); return; } else{ JOptionPane.showMessageDialog(null, "Unable to connect to server", "Warning", JOptionPane.ERROR_MESSAGE); } }catch (UnknownHostException e2) { JOptionPane.showMessageDialog(null, "Connection failed... Host Unknown ", "Error", JOptionPane.ERROR_MESSAGE);

Preview
char array back to string: this array now contains the valid word embedded String toBeSent = new String(arr2); //send string to client try{ sendMsgtoClient(client, toBeSent); } catch(Exception e){ e.printStackTrace(); } //return the position of each character of valid word

Screenshots
Purchase Answer