Simple Java game framework