Back to list
rikiyanai

build-game

by rikiyanai

1🍴 1📅 Jan 20, 2026

SKILL.md


name: build-game description: Build the Asciicker game executable using the Mac makefile. Use when building the game, recompiling after changes, or when the user asks to build or compile the game. allowed-tools: Bash, Read

Build Game Skill

Builds the Asciicker game executable for macOS using the project's makefile.

Quick Commands

Build the game:

make -f makefile_game_mac

Clean build (rebuild everything):

make -f makefile_game_mac clean && make -f makefile_game_mac

Build for Linux:

make -f makefile_game

Build Output

The compiled game will be at: .run/game

Launch After Build

To run the game after building:

./.run/game

Or on macOS (to launch as app):

open .run/game.app

What Gets Built

The game includes:

  • Player movement and controls
  • Terrain rendering (grass, water, etc.)
  • Enemy AI and spawning
  • Physics system
  • Inventory system
  • Terminal rendering mode (optional)

Common Build Issues

  1. Missing dependencies: Ensure SDL2, OpenGL, pulse audio libraries installed
  2. Linking errors: Check that all game-specific modules compiled
  3. Terminal mode: Game can run in terminal or OpenGL mode

Files Compiled

Main sources:

  • game_app.cpp - Main game logic and initialization
  • game.cpp - Game state and logic
  • terrain.cpp - Terrain rendering
  • physics.cpp - Physics simulation
  • enemygen.cpp - Enemy generation
  • inventory.cpp - Inventory system
  • Plus rendering and audio dependencies

Instructions

When the user asks to build the game:

  1. Run make -f makefile_game_mac
  2. Report any compilation warnings or errors
  3. Confirm successful build with "Linking: .run/game"
  4. Optionally launch the game if requested

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon