Once your game is complete, you can share it as an online portfolio entry that you can show to future employers, colleges, or anyone else. The steps below are optional — your submitted ZIP is all that’s required for the showcase.
Your GitHub repo is where your code lives online and what you’ll link to from your portfolio. Set it up once — then push updates whenever you finish a phase.
From now on, push after finishing each phase: Git → Push
(or Cmd+Shift+K on Mac / Ctrl+Shift+K on Windows).
Rather than requiring people to install Java, you’ll package your game into a self-contained app using jpackage. The result is a native installer — a .dmg on Mac or .exe/.msi on Windows — that anyone can run with a double-click.
Build your JAR in IntelliJ: Build > Build Artifacts (or run mvn package in the terminal).
Run jpackage from the terminal. Replace the values in angle brackets with your own:
jpackage \
--input target/ \
--name <YourGameName> \
--main-jar <YourProject>.jar \
--main-class game.GameApp \
--type dmg
Change --type dmg to exe or msi if you’re on Windows.
The output will appear in a folder called output/. That file is what you’ll upload to itch.io (see below).
Note: jpackage produces an installer for the OS you build it on. Build on a Mac to get a Mac app, on Windows to get a Windows app.
Your portfolio entry has three parts that work together.
Your GitHub repo is where you show how you built the game. Make sure it includes:
Adding a GIF to your README: Record a short clip with QuickTime (Mac) or Xbox Game Bar (Windows), convert it to GIF using ezgif.com or a similar tool, and drag it into your repo via the GitHub web interface. Then reference it in your README:

Record 30–60 seconds of actual gameplay showing your game’s key features. This lets anyone see your project working without downloading anything.
Upload to YouTube (unlisted is fine) or Vimeo and link it from your README and itch.io page.
itch.io is a free platform designed for indie game portfolios. It gives you a clean public URL and a professional presentation for your executable.
Setup steps:
jpackage output (.dmg, .exe, or .msi)Your page URL will be something like yourusername.itch.io/your-game-name. Add this link to your GitHub README.
| What | Where | Purpose |
|---|---|---|
| Executable | itch.io | Playable download, showcase demo |
| Source code | GitHub | Shows your work and concepts |
| Gameplay video | YouTube / Vimeo | Quick preview, no install required |