Please give me some ideas of what to do in the worst java class ever.

B2d356f97a3d0dec8ae2d8c1e1fa1c2d
0
Nerd_Skywalker 101 Mar 09, 2010 at 00:02

So in my java class (the weird class before AP com sci) we are currently doing Karel the Robot. It is such a poor representation of the language to the people who have never seen java before to the point that I want to cry (Coordinates in KtR go (y,x) instead of (x,y), etc).

Back to the point, I am extremely bored in this class and I was wondering if anyone had ideas of projects I could work on in that class while I’m doing nothing.

The computers have Visual Studio 2005, Eclipse, and a couple other java compilers, I am pretty sure I can get Dev-C++ with Allegro on the computer so that is another option.

I am just looking for ideas of things to pass the time because I have an extreme lack of creativity. :)

Thanks for any help :)

4 Replies

Please log in or register to post a reply.

A8433b04cb41dd57113740b779f61acb
0
Reedbeta 167 Mar 09, 2010 at 00:29

Make an Asteroids clone. Or a Tetris clone. Or a Space Invaders clone…you get the idea. :)

If you’re looking for something with less graphics emphasis, try building an AI that plays Tic-Tac-Toe against you. If you finish that try building one that plays Mancala.

99f6aeec9715bb034bba93ba2a7eb360
0
Nick 102 Mar 09, 2010 at 09:15

Ah Java, the language that pretends to be accessible to the braindead.

“Yes this reads out of bounds half of the time but I’m catching the exception so all is good.” - Java professor :blink:

Anyway, one suggestion to pass your time would be to write a raytracer. In a few years from now GPUs will be as programmable as CPUs, and so any experience programming something like that will be highly valuable. Plus it’s fun to control every pixel, and challenging to make it fast…

6837d514b487de395be51432d9cdd078
0
TheNut 179 Mar 09, 2010 at 11:19

I’ll second what Nick said. A ray tracer would indeed be fun and you can learn a couple things from it as well. You’ll get a better understanding of lighting, collision / intersection testing, projections, and the per-pixel development will improve your shader skills. It’s not all that hard either, unless speed is your aim in which case you better learn to speak machine :)

A638aa42130293f319eda7fa4ba121f4
0
fireside 141 Mar 09, 2010 at 11:59

I think java is a fun language, still probably my favorite. When I was in a class, I did extra things with the projects and homework. I would turn in projects that went beyond what was required, but still did what was required. Sometimes I included graphics for text projects. One time I made a parser to read a file that was being read manually. Sometime I would make text graphics like for a hangman game, stuff like that. It’s fun making text graphics. Kept me entertained and still in with what was going on. You can almost always elaborate on the homework and projects. Another thing you can do is help people that are having a hard time, if it’s all right with your teacher. Not do the work for them, but help them figure things out and offer explanations and examples. Probably best done during homework sessions rather than in class. Also, the teacher may have suggestions if you ask. Tell him/her you have experience and would like extra credit projects. Don’t make it sound like you are a know it all. It doesn’t matter about the x,y coordinates. You’ll find in 3d that different engines use them differently. Sometimes z is up, sometimes y is up. There’s no right/wrong.