/gt-a-very-hard-game

Game for the May 2024 Game Tank Game Jam

Primary LanguageC

A Very Hard Game

Play it now!!

I wrote a post about the process of making this. Please read it if you're interested!

A game built for the GameTank!

Inspired by the classic flash game World's Hardest Game.

Building:

AVHG can be built manually, but I'd recommend using Nix. With Nix installed (and flakes enabled), the game can be built with nix build (or nix build .#avhg).

It is possible to build AVHG manually without the use of Nix. AVHG has the following dependencies which must be installed:

  • cc65 (make sure to use a recent unstable release, it's been years since the most recent stable release)
  • NodeJS
  • Zopfli
  • GNU Make

With all of the dependencies installed, first run make import to process AVHG's assets (this will need to be executed again when the game's assets are changed) and then run make.

Building for web

Building for the web is also best done through Nix. You can build web assets with nix build .#web-emulator or nix build .#web-emulator-embed for the version meant to be embedded.

Building for the web manually is a fairly involved process and unfortunately cannot be recommended. First the AVHG rom must be built (as above). The rom and any desired web assets then must be included in the build process of the GameTank Emulator. As far as I am aware, there is no automated way to achieve this aside from using Nix.

Running

You can run the game in the emulator with nix run (or nix run .#emulate).

nix run .#emulate-web will open a server (default port 8080) with the game running in the web emulator. An alternative port can be specified as the first argument, e.g. nix run .#emulate-web -- 3000.

Credits