Banania screenshot Banania is a JavaScript remake of a Windows 3.x game. It is a 2D top-down puzzle game. The goal of this game is to collect all the banana peels while avoiding the green and purple monsters. The character is controlled with the arrow keys. A note about copyright: Banania is considered abandonware and has been for download on various sites for years. Asking the copyright holder for permission has proven to be impossible because the game publisher, Data Becker, went out of business in February 2014 and I haven't found any information about who currently holds the copyright.
play online


Hexsweeper screenshot This game is like minesweeper but instead of having square tiles, the tiles are hexagons. For those of you who don't know minesweeper, the game works as follows: Below some of the tiles, there are mines. If you left click on such a tile, you lose (don't worry, there's never a mine below the first tile you click). To win, you have to left click all the tiles below which there isn't a mine. You can right click tiles to mark them if you suspect there being a mine. The number inside a tile denotes how many mines there are in the adjacent tiles. This helps with locating and avoiding the mines.
play online

Absoluts Musig Koer

Absoluts Musig Koer screenshot This is a little JavaScript program that tests your ears and understanding of musical notes. It plays a random note and you have to recognize it by pressing the right button. The program comes with two modes, an easier one without half tones and a harder one that may randomly play half tones as well. If you can label the tones right quickly and consistently, you have absolute pitch, also called perfect pitch, which is, according to Wikipedia, a rare auditory phenomenon. Maybe you have perfect pitch?
play online

Hackernews collapsible comments

This is a Greasemonkey and Tampermonkey script (tested on Firefox and Chrome respectively) that makes comments collapsible on
Collapsible comments screenshot
If you click on the little plus/minus sign, it expands/retracts the entire subtree of the comment. If you click on the comment itself, it expands/retracts only the direct children of that comment. The orange Hackernews bar now contains a button to expand or retract all comments. The number below the plus/minus sign is the total number of child comments this comment has. Instead of seeing one top comment and dozens of semi-intelligible responses, you now see all the top comments while the responses are retracted by default. You will be surprised by how pleasant reading Hackernews comments becomes.
install with greasemonkey / tampermonkey

Stackoverflow hot block

This is a Greasemonkey and Tampermonkey script (tested on Firefox and Chrome respectively) that hides the "Hot Network Questions" section on stackoverflow and other stackexchange sites. A programmer must stay focused and this section only serves as a distraction that wastes valuable time and energy. I can't read up on Gandalf the Wizard when bugs are waiting to be fixed.
install with greasemonkey / tampermonkey

YouTube focus fix

This is a Greasemonkey and Tampermonkey script (tested on Firefox and Chrome respectively) that fixes focus problems of the YouTube player user interface. In particular, the left and right arrow keys are normally used to navigate the video (rewind or fast forward 5 seconds respectively), but after adjusting the volume of the video with a mouse, the focus is on the volume bar and the left and right key now control the video volume. This is flawed UI design because after 20 minutes of watching a video, the user does not remember which UI element they last interacted with and so the left and right arrow keys become a lottery between adjusting volume or navigating the video. Additionally, this focus "feature" is completely pointless because the volume is already controlled by the up and down arrow keys. The script also fixes the same focus problem for the other elements of the YouTube player, ensuring that the left and right keys always rewind or fast forward the video, as they should.
install with greasemonkey / tampermonkey

Sudoku solver (Haskell)

This is a simple command line sudoku solver written in Haskell. The most fun thing about Haskell is how expressive it is - in a few lines you can express complicated algorithms. That's why I tried to write this solver in as few lines as possible; the result, however, is that the code looks like a submission to a code obfuscation contest.
view source

Sudoku solver (JavaScript)

I've written this simple JavaScript sudoku solver in 2012. It was my first reasonably sized JavaScript project.
use online