My GitHub Game Off 2020 Entry

This site utilizes Google Analytics, Google AdSense, as well as participates in affiliate partnerships with various companies including Amazon. Please view the privacy policy for more details.

During November, I participated in the GitHub Game Off 2020.

The GitHub Game Off is an annual game jam held during the month of November and centered around a secret theme.

A game jam is where people try to make a game from scratch. Wikipedia says it’s a contest, but the GitHub Game Off has no prizes.

GitHub Game Off header image by João Ribeiro GitHub Game Off header image by João Ribeiro

About The Experience

I’ve never participated in a game off or game jam before, so I had no expectations going in. My main goal was to make a game - it didn’t need to be a “good” game. Just so long as it was playable.

Since I am primarily a Java programmer, I decided I would stick to what I know. And, as it turns out, there’s a Java gaming engine known as libGDX.

libGDX logo The libGDX logo.

The libGDX tutorials on GameFromScratch, along with his YouTube channel, helped me get a hand on how libGDX works.

It also introduced me to another tool I ended up using call Tiled. Tiled is a map editor (as evidenced by the domain name that is described on its home page as Your free, easy to use and flexible level editor.

Tiled logo The Tiled logo.

Other tools I used that I was already familiar with include Android Studio, Inkscape,, Notepad++, git, and GitHub.

I also got a couple of image assets from Here are the attributions per the creative commons licenses:

About My Game

The theme was moonshot so my game had to involve the moon somehow.

So I decided you would be the moon and you would collect stars while avoiding meteors. Oh, and you roll around to get around.

Yes, it makes no sense. Remember how I said that my goal was to make a game, not necessarily a good game?

Here’s a youtube of the game:

The controls are simple. On desktop, you use the arrow keys. The left arrow key moves the moon left, the right arrow key moves the moon right. Up moves the moon up. Gravity moves the moon down, so the down button does nothing.

On Android, the screen is split into three parts. Pressing somewhere on the left quarter of the screen moves the moon left. Pressing somewhere on the right quarter of the screen moves the moon right. Finally, pressing anywhere in the “middle half” of the screen moves the moon up.

The goal of the game is to collect as many stars as possible while avoiding meteors. Meteors don’t start appearing until after you have ten points, however.

Thoughts on Next Time

A couple of thoughts on what I need to do differently for my next game:

  • For keyboard input, I should allow the player to remap the controls.
  • I need to handle scaling better. The Android version has a much higher pixel density than the desktop version, making the sprites and text smaller on Android versus desktop.


As soon as it passes their reviewers, Moonshot should be available on:

And, of course, you can find the source code on GitHub.

Leave a Reply

Note that comments won't appear until approved.