Slashdot Mirror


Learning Java Through Violence

Joe writes: "Someone introduced me to a new game called Robocode and now I'm hooked as well as my 17 year old son. We are both learning Java while playing the game or I should say while building our Java robots. The game is setup to teach you how to handle events, how to create inner classes, and other Java techniques to build more sophisticated Java bots. I have a c++ background so I've been helping my son with his bots, but he's catching on very fast. It's turning out to be a cool and easy way to get the kid clued into programming and best of all its free." I'll bet if the little Logo turtles shot at each other, I would have had more fun programming as a kid.

11 of 225 comments (clear)

  1. Moral implications... by UltraBot2K1 · · Score: 0, Insightful

    Joe: I think it's fantastic that you're teaching your son to program. I only wish my parents and teachers recognized the importance of learning computers when I was your son's age. But don't you think that there are better ways of teaching programming than encouraging unnecessary violence? There is enough sex and violence present in the media already without intermingling it with education. The road to knowledge should not be paved with death and destruction. This is certainly not the way to encourage our children to expand their horizons.

    I say, reward our children for their good deeds with positive reinforcement. The violence is completely unnecessary, and can warp an impressionable young mind.

    Children are notoriously suceptible to the power of suggestion, and if you present violence to your son as a prize for doing something good, he will receive the message that violence is okay and should be encouraged. This is unacceptable, and should be stopped immediately.

    --

    Slashdot: Open Source, Closed Minds.

    1. Re:Moral implications... by tlianza1 · · Score: 3, Insightful
      The violence is completely unnecessary, and can warp an impressionable young mind.
      The kid is seventeen. He most likely has a driver's license by now. The violence is not completely unnecessary, as it is not uncommon for teenagers (even those younger than himself) to love action movies or other films and TV shows with violence. I'm sure a lot of us did when we were that age and turned out AOK. In this case the subject matter may be precisely what makes the game more fun and entertaining. Create a game about puppy dogs and ice cream and see how many teenagers are interested enough to pick it up and learn a new programming language...
    2. Re:Moral implications... by osgeek · · Score: 3, Insightful

      Well, I'm sure if little boys were interested in programming pink unicorns to run around kissing daisies in meadows, then a wonderful teaching tool could be constructed around that very concept. As it is, though, a "battle" provides a setting that motivates young boys to get into the educational activity enough to make it worthwhile.

      Besides, having grown up in a house where my parents didn't really censor my cable access, I find it hard to believe that shielding kids from all possible influences really makes a difference. I never got into fights in highschool or college, despite watching Rocky I - V. I've always felt that an intellectual approach to conflict is far better than a violent one.

      How could that be, when I watched The Exorcist and Jaws before I was even a teenager! Why, I even used to watch The Roadrunner back when old Wile E Coyote used to actually hit the ground!

      The key to raising your kids to avoid exerting violent behavior isn't to shield them from all possible observations of it. It isn't even that helpful to have them avoid board and video games where violence is a goal.

      The key is to teach your kids the difference between fantasy and reality. "Yeah, it's fine to go watch a Jackie Chan movie, but when you leave the theatre, don't kick your friends and pretend that you're in a karate fight." "Play Quake and Duke Nuke'em, but remember that they're just video games."

      Additionally, build loving trusting relationships with your children and encourage them to build similar relationships with others. Teach them how to think their ways through problems, rather than giving up and reacting violently.

    3. Re:Moral implications... by mr.+marbles · · Score: 2, Insightful

      riiiiight, lets completely suffocate kids by placing them in this controlled sterilize environment and manipulate their actions at every step, cover their eyes to whatever you don't want them to see, god forbid we allow young impressionable kids to live in the real world.

      What complete bullshit! morality is not something you learn through positive reinforcement, morality is something you develop on your own. if we can just point to the bible and throw the rule book at everyone who behaves from what you perspective immoral then it's not really a problem with personal morality as it is following orders and brainwashing people.

  2. You have got to be kidding . . . by Wire+Tap · · Score: 3, Insightful
    First of all, take a look at the alternatives to "learning through violence."

    1) Barney. Or, as I like to call it "unlearning through sensory numbing." Obviously not a good choice for anyone, at all, period.

    2)Not learning, although still through violence. Example: most pointless video games. I say most, because I am still a firm believer in the idea that viedo games are great for the imagination, among other things.

    This leaves us with the healthy alternative of:

    C)Learning through violence! Yes, blowing up giant robots is FUN, and most kids would be thrilled to pull the trigger and show off his or her prowess on the virtual battlefield. I know I would love to destroy a an opposing process or script with the knack of my own creation. What is the big problem, when the kid would more than likely spend his or her time on a (possibly) less productice game? I say that this is a great idea. People learn better when they are having fun with what they are doing.

    Finally, it is not "rewarding" the child for following through with a violent act - it is simply a mode by which the student can learn a new skill. Haven't you ever built an erector set? Most of them involved the construction of battlefield tanks or other war machines. It just happens to be one of the best-suited applications for teaching programming.

    --

    Man is born free; and everywhere he is in chains.

  3. Computers in education wasRe:Moral implications... by firewort · · Score: 4, Insightful

    When I was in 3rd and 4th grades, way back, we had Apple ][ and IBM PC Machines, and we were taught BASIC, and LOGO, both turtle and mathematic instructions. We had district-wide competitions. Computing was for more than teaching productivity software and reader rabbit-crap.

    This is something that has been lost from the curriculum, and should be regained.

    Joe's son is 17, and while still developing, I'd venture that any associations he's made with violence and good were made long before he reached this age. Give the kid and parent some credit, the kid is an adolescent and hasn't rejected hanging out with his Dad- they must be doing something right!

    --

  4. Re:This is how i learned C, too by cnkeller · · Score: 3, Insightful
    Was I the only one who went to a college with this type of game? Net trek was fun and all, but even the most relentless ogger needs a break. A friend of mine created a robot wars game in the late 80's for a project in compiler design. You wrote C code; moving the robot, firing patterns, etc. The game had 2d graphics, etc. It was pretty cool actually. If I recall correctly the game engine could handle up to 8 different robots. I wonder what other schools used their Connection Machine for....

    A good way for each person to tout his programming skills. The project was updated over the years by each new class of ACM members. Kind of like a university of maryland cult legacy thing in the com sci department. Anyway, I was under the impression that pretty much every school had their own version of robot wars. I know at one point, U Texas had a world wide robot wars gaming contest based on similar concepts. This was about 18 months or so before lego bots got popular. They truely cunning would like at the compiler code and figure out how many instructions were executed per time unit and craft state machines accordingly.

    --

    there are no stupid questions, but there are a lot of inquisitive idiots

  5. Stored Procedures all over again by Tablizer · · Score: 1, Insightful

    Why not make it be multi-lingual? Why just Java? Supply an API that any language can use. This issue comes up whenever stored procedures are mentioned and somebody wants to use another language besides PL/SQL or Java or whatever.

  6. MindRover by OverCode@work · · Score: 5, Insightful

    http://www.cognitoy.com

    And, of course, Loki ported it to Linux.

    It's an incredibly addictive robot battle game. You generally build robots with a GUI interface, but for serious hackers there is an object oriented definition language called Ice that compiles into the same VM code as the GUI builder.

    -John

  7. There are (N+1) of these games by plastik55 · · Score: 4, Insightful
    There are a number of these kinds of games. Other people have mentioned Crobots, Jrobots, and a dozen others I've never heard of. One of my favorites was RoboWar for the Mac, because it used a very small stack-based language, designed in such a way that the processor speed of the robot was limited. Each robot could execute only a limited number of operations per time step, which meant that efficient implementation of your algorithm was the biggest factor in how well your robot did. The author of the game also held annual tournaments that aspiring RoboWarriors could submit their entries to, and see how they fared against the state of the art. That meant that the robots, even with very limited computational capacity, had a very rapid evolution toward very sophisticated algorithms. Early robots just roved around and fired whenever they saw something in their sights. As time went on, the entries seen in the tournaments were able to camp in corners, dodge incoming fire, "lead" their targets, and employ inter-robot communication for team battles.


    Learning throgh RoboWar to produce advanced behaviour out of a slow and limited language was a great help when I later went on to dabble in embedded systems--the skill set required is very similar.

    --

    I have a positive modifier on Troll. When I mod someone Troll their karma should go UP!

  8. MindRover RTS Games by BigSlowTarget · · Score: 2, Insightful

    Have always wanted to see a version of this built inside an RTS game. Its the only reasonable way I see to solve the stupid AI pathing issues that seem to plague the games.