An experiment in writing a cross-platform game based on libGDX