A dozen stupid games!

Small bug: the Shoot as many balls as you can in 20 seconds doesn’t reset the score :slight_smile:
So after 3 games I’m the #1

Cool games, very well done!

So who’s the joker that java.awt.Robot-pwned Idiot? I’d know it was someone from these forums, fess up already!

I corrected that bug. You deserve to be #1 forever.

He is a friend and comes from Finland. I can swear he does not know what a awt.Robot is. :wink: Must be pure stupidity then.

LOL Shoot is impossible I can only get 39

The balls game crashed on me, I was standing right on top where a green would spawn, and when it spawned it just quit.

My best on react was 0.231

hello again,

added ‘Old Surehand’, improved some games, added some fluff like sparcles to some, a fireworks demo and oldschool-rotating-balls!
In-game notification if you made a new highscore.

You can finish ‘Old Surehand’ in 2-3 minutes, so please give it a try :slight_smile:
Oh, and I doubled the seconds you have in ‘Shoot’. I think the next game will be something like P.O.W. which will replace ‘Shoot’ anyway.

Man I got to 1000 on the coin thing and then there was an error:


ConcurrentModificationException
kdk.h.d.a(kAi:51)
etc.

You should make it copy/pastable.

[EDIT] Wow. I was at 8000 and then it broke again. Grrrr… This sucks.

I keep trying to but the game keeps crashing. Alas…

http://www.otcsw.com/otcautomaton.php

I will try to reproduce it. Maybe the cause is an unknown awt.Robot-detection feature for java.awt.Robot-pwned Idiots. (just joking)

I wasn’t able to reproduce the bug yet (I tried several times with a robot >10000 points), but encountered that bug a while ago in another game… and wonder why, because I just use one thread. I put a try/catch around it, hope it helps.

What do you mean with copy/pastable? Pop up a txt window? If you mean that I shouldn’t obfuscate it, it halves the file size and I still get the line numbers. If an error occurs it should be sent to the server, apparently it does not work ATM

That exception isn’t caused by threading always. It’s often if you try to add an object to a list while you’re interating over it:


ArrayList<Person> people= new ArrayList<Person>();
Person you = new Person("You");
people.add(new Person("Me"));
people.add(new Person("Them"));

for (Person person : people)
{
     people.add(you);
}

(or equally with old iterators)

Kev

Yeah, I’ve gotten the problem from going through a linked list while I was removing stuff from it.

like:


public void removeUseless(LinkedList l)
{
     for (Iterator i = l.iterator(); i.hasNext();)
     {
          Object o = i.next();
          if (o.isLame())
               i.remove();
     }
}

That was the first and only time I’ve encountered concurrent modification exceptions.

Anyway, I meant a text box just so I can select the bug and paste it in the forum to help you out.

Thanks, exactly that was the cause. The mentioned exception in ‘Balls’ a few posts above should be history now, too.
Edited the game description for Surehand:
follow the dot! 8 levels pure fun. [warning: game is frustrating and makes aggressive]

I added ‘Shoot2’, changed the visual design and switched from Thread.sleep(1) to Thread.yield() on multicores, that made it a lot smoother. :slight_smile: