byu
Master
So, I took a course in java this week, it ends today. I'm trying to think of an interesting text-based Java game that I could write, but I'm not sure exactly what. Can any of you give me some suggestions? Thanks.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
mhmm...Java.
Obviously, a choose-your-own-adventure story, cubing-based, of course.
(I know php is a weak language, but I can't afford asp)
Try writing Conways Game of Life. That was fun when I was just learning.
$><<"\e[2J";s,o,f,c,u=20,"#"," ";b,m=(z=0..s).map{z.map{(rand<0.3)?o:f
}},[-1,0,1]*3;until c==b;c=b.map{|z|z.dup};$><<"\e[H"<<b.map{|x|x*f}*"
";s.times{|i|s.times{|e|n=(m.sort.zip(m)-[[0,0]]).select{|x,z|o==(c[i+
x]||[])[e+z]}.size;n!=2?b[i][e]=n==3?o:f:f}};sleep 0.2;end
$><<"\e[2J";s,o,f,c,u=20,"#"," ";b,m=(z=0..s).map{z.map{(rand<0.3)?o:f
}},[-1,0,1]*3;until c==b;c=b.map{|z|z.dup};$><<"\e[H"<<b.map{|x|x*f}*"
";s.times{|i|s.times{|e|n=(m.sort.zip(m)-[[0,0]]).select{|x,z|o==(c[i+
x]||[])[e+z]}.size;n!=2?b[e]=n==3?o:f:f}};sleep 0.2;end
So, I took a course in java this week, it ends today. I'm trying to think of an interesting text-based Java game that I could write, but I'm not sure exactly what. Can any of you give me some suggestions? Thanks.
I forgot about that site, I remember when it was first made public.Impressive Joey - I dig the Ruby but Perl wins out over at code golf: http://codegolf.com/conways-game-of-life