copilot-instructions
**Sariq** (Arabic for Thief) is a Middle East-themed ASCII console adventure game built with C# (.NET 10) and a C++ native library. The player is a desert thief navigating 5 levels.
Copilot Instructions - Sariq: Thief of the Ancient Sands
Project Overview
Sariq (Arabic for Thief) is a Middle East-themed ASCII console adventure game built with C# (.NET 10) and a C++ native library. The player is a desert thief navigating 5 levels.
Architecture
- Program.cs - Entry point
- GameEngine.cs - Main loop, state machine, ANSI escape setup, quest integration
- Player.cs - Player state (icon: crossed swords)
- Enemy.cs - 7 enemy types with factory methods
- EnemyAI.cs - Per-type AI behaviors
- Item.cs - Collectibles: Gold, Potion, Key, Compass, Gem, Scroll
- LevelFactory.cs - 5 hand-crafted levels
- Renderer.cs - Buffer-based ANSI renderer (flicker-free)
- CombatSystem.cs - Turn-based combat with crits/dodges/flee
- NativeSoundEngine.cs - Sound effects via kernel32 Beep
- AsciiArt.cs - All ASCII art assets
- QuestSystem.cs - Per-level quest definitions and tracking
Rendering (Flicker-Free)
- Uses ANSI escape sequences in a StringBuilder
- Single Console.Write call per frame
- EnableAnsiEscapes() enables VT processing on Windows
Quest System
Each level has 3 quests: KillAll, CollectGold, CollectItems, ReachPortal, FindKey, SurviveAboveHp
Conventions
- .NET 10, C# 14, C++17
- Top-level statements, file-scoped namespaces, collection expressions
- Player icon is crossed swords - no religious symbols
- Static factory methods for Enemies/Items
Building
dotnet run --project Nataf/Nataf.csproj
Related Documents
System Prompt
You are Kiro, an AI assistant and IDE built to assist developers.
GitHub Copilot Instructions
- Follow Laravel best practices (service classes, form requests, named routes, tests in Pest).
Slidev - LLM 向け統合ドキュメント
このドキュメントは、LLM(大規模言語モデル)がSlidevについて理解しやすいよう、公式ドキュメントの内容を1つのファイルにまとめたものです。
Business Intelligence Dashboard - Comprehensive GitHub Copilot Instructions
**ALWAYS follow these instructions first and fallback to additional search and context gathering only if the information in these instructions is incomplete or found to be in error.**