Top

Java Code Snippets

  (14)  
Sort by 
Level up in this fun game. Create a character and you're good to go! Iron sword does nothing but heal potion heals you.. for 20. So yeah.. you can save/load your progress. Earn exp and fight random..
Tags: code  file  flat  java  open  rpg  source  text 
+ 0 likes
1 comment(s)    Score: 0.0    Platform: Java    Posted by weka on Oct 03, 2009
This is a generic socket server. Now, it's not documented very well, but I'll explain things you can change here. I am working on fixing this.
+ 0 likes
0 comment(s)    Score: 0.0    Platform: Java    Posted by Firstmate on Aug 03, 2009
This is a Swing java program that uses the
Tags: caesar  cipher  decode  decrypt  encode  encrypt  java  swing  text 
+ 2 likes
7 comment(s)    Score: 6.5    Platform: Java    Posted by mountaindew on Jul 16, 2009
Just an idea I got from another post on this site, and remade it myself. Suggestions? Comments? Thanks!
Tags: 8  ball  java  magic 
+ 0 likes
4 comment(s)    Score: 0.0    Platform: Java    Posted by miniCruzer on Jul 02, 2009
This is my final project for APCS (Advanced Placement Computer Science). It's currently unfinished, we (my partner and I) still need to add a crash sequence as well as some modifications to make the game..
Tags: game  graphics  helicopter  java 
+ 2 likes
14 comment(s)    Score: 9.0    Platform: Java    Posted by tv3636 on May 30, 2009
This is a BreakOut game made in Java. You start off by hitting "Play Game" and then click to release the ball. The more bricks you hit, the more points you get. as long as you have the..
Tags: applet  ball  block  bounce  break  breakout  brick  game  java  online  out  paddle 
+ 1 likes
9 comment(s)    Score: 6.5    Platform: Java    Posted by mountaindew on Apr 15, 2009
This is a Pong game applet that I made in Java. It's player vs. computer, and the computer never loses. You just move the mouse up and down to control your paddle. I'd like to figure out how to change..
Tags: applet  ball  classic  game  java  paddle  ping  pong  site  swing 
+ 2 likes
9 comment(s)    Score: 6.5    Platform: Java    Posted by mountaindew on Apr 10, 2009
This is a word scramble game that I made in java. A scrambled word comes up and you have to try and guess it. You just have to put a list of words in words.txt inside the same directory as the project...
Tags: game  gui  java  mixed  scramble  swing  text  word 
+ 1 likes
6 comment(s)    Score: 6.5    Platform: Java    Posted by mountaindew on Apr 09, 2009
This is a method for Java that scrambles up a string. You just add it to your class and call it by doing * variable = scramble(variable); * System.out.println(scramble("elephant"));
Tags: java  jumble  method  mix  mixed  rearrange  return  scramble  string  up  word 
+ 0 likes
0 comment(s)    Score: 0.0    Platform: Java    Posted by mountaindew on Apr 08, 2009
This is an 8ball made in Java. Just type in a question and it'll generate a random response.
Tags: 8  8ball  ball  case  eight  java  leter  maybe  no  phrases  random  switch  yes 
+ 0 likes
2 comment(s)    Score: 4.0    Platform: Java    Posted by mountaindew on Apr 05, 2009
This is my first Java snippet. It simply converts Celsius to Fahrenheit and Fahrenheit to Celsius. Input a temperature and it'll give you both conversions. It basically demonstrates input and output..
+ 0 likes
0 comment(s)    Score: 0.0    Platform: Java    Posted by mountaindew on Apr 04, 2009
Connects to an IRC server you specify and idles. Basically this is a frame for an IRC bot.
Tags: bot  illuminati  irc  java  kingskrown 
+ 0 likes
1 comment(s)    Score: 0.0    Platform: Java    Posted by kingskrown on Jan 24, 2009
. Otherwise, if it isn't, it will not work. And yes, it IS CASE SENSITIVE. If you do not have a compiler and want to try this, I suggest getting JCreator. It's totally free and easy to use. http://www.jcreator.com/download.htm If..
+ 0 likes
6 comment(s)    Score: 1.4    Platform: Java    Posted by ^Neptune on Nov 20, 2008
Tags: hello  java  world 
+ 0 likes
3 comment(s)    Score: 2.0    Platform: Java    Posted by informaticar on Sep 28, 2008
Bottom