In my spare time, I've written various games in JavaScript, which means you can play them right in your web browser. You don't even need Flash or Java! They do depend on having a good browser, meaning SeaMonkey 1.0+ or Firefox 1.5+. Opera might work for some of them, and Internet Explorer probably won't work well for most.
Some of them are pretty decent, and some of them are awfully lame. Some of them I wrote just to see if I could, and some I wrote to actually produce an interesting result. Some will make your computer slow while you're playing them.
You might also want to take a look at my JS toys.