Adventuregame

C 70 completed
Game
unknown / haskell · tiny
20
Files
1,056
LOC
0
Frameworks
3
Languages

Pipeline State

completed
Run ID
#367631
Phase
done
Progress
1%
Started
Finished
2026-04-13 01:31:02
LLM tokens
0

Pipeline Metadata

Stage
Cataloged
Decision
proceed
Novelty
51.52
Framework unique
Isolation
Last stage change
2026-05-10 03:34:23
Deduplication group #64323
Member of a group with 1 similar repo(s) — this repo is canonical view group →
Top concepts (2)
Project DescriptionGame
All rows scored by the Repobility analyzer (https://repobility.com)

AI Prompt

Create a text adventure game in Haskell, themed around Team Fortress 2. The game should feature a map connecting five iconic TF2 locations. I need the core gameplay loop to use monadic state management, specifically `StateT`, to handle the game state cleanly. Player input should be parsed using Parsec combinators, supporting commands like `look`, directional movements (`north`, `south`, etc.), `take <item>`, `drop <item>`, `throw <item>`, and checking `inventory`. The objective is to find the Sniper, trade the Jarate for the Golden Frying Pan, and return it to TC Hydro.
haskell text-adventure functional-programming parsec state-monad game-logic cli
Generated by gemma4:latest

Catalog Information

A Haskell‑based text adventure that immerses players in a Team Fortress 2‑style world, showcasing functional programming patterns.

Description

Functional Adventure is a text‑based adventure game set in a Team Fortress 2‑style universe. Players navigate through a series of iconic maps, collect weapons, and negotiate with a Sniper NPC to obtain the legendary Golden Frying Pan. The game showcases functional programming techniques, using a StateT monad to thread immutable state and Parsec to parse complex player commands. It offers an inventory system, weighted items, and a simple combat mechanic where throwing Jarate can alter NPC behavior. Designed for Haskell developers and fans of interactive fiction, it demonstrates how pure logic can drive a complete game loop.

الوصف

يقدم هذا المشروع لعبة مغامرة نصية مستوحاة من عالم Team Fortress 2، حيث يمكن للاعب استكشاف خريطة واحدة أو أكثر من خلال إدخال أوامر نصية بسيطة. يتميز بواجهة سطر أوامر تسمح بالتحرك، جمع العناصر، والتفاعل مع شخصيات غير قابلة للعب مثل القناص، مع إمكانية التفاوض لتبادل العناصر. يعتمد على نماذج الحالة الوظيفية لإدارة حالة اللعبة، مما يضمن عدم وجود متغيرات قابلة للتغيير ويعزز من قابلية الصيانة. يستخدم محلل نصوص مبني على مكتبة Parsec لتحليل الأوامر المركبة، مع دعم للعبارات المتعددة في سطر واحد. يستهدف المطورين الذين يفضلون البرمجة الوظيفية، ويعطي مثالاً عملياً على تطبيق مفاهيم مثل StateT وEither في سيناريو تفاعلي. يساهم في تسليط الضوء على إمكانيات Haskell في إنشاء ألعاب نصية معقدة بطريقة نظيفة ومنظمة.

Novelty

8/10

Tags

interactive-fiction text-adventure role‑playing command-parser state-management inventory-system functional-programming-showcase

Claude Models

claude-opus-4.6

Quality Score

C
69.8/100
Structure
65
Code Quality
86
Documentation
31
Testing
60
Practices
78
Security
100
Dependencies
60

Strengths

  • Consistent naming conventions (PascalCase)
  • Good security practices \u2014 no major issues detected

Weaknesses

  • No LICENSE file \u2014 legal ambiguity for contributors
  • No CI/CD configuration \u2014 manual testing and deployment

Recommendations

  • Set up CI/CD (GitHub Actions recommended) to automate testing and deployment
  • Add a linter configuration to enforce code style consistency
  • Add a LICENSE file (MIT recommended for open source)

Security & Health

5.1h
Tech Debt (E)
A
OWASP (100%)
PASS
Quality Gate
A
Risk (10)
About: code-quality intelligence by Repobility · https://repobility.com
Unknown
License
0.0%
Duplication
Full Security Report AI Fix Prompts SARIF SBOM

Languages

haskell
85.6%
markdown
8.7%
yaml
5.7%

Frameworks

None detected

Concepts (2)

Scored by Repobility's multi-pass pipeline · https://repobility.com
CategoryNameDescriptionConfidence
Repobility · code-quality intelligence platform · https://repobility.com
auto_descriptionProject DescriptionA TF2-themed text adventure game built entirely in Haskell — featuring parser combinators, monadic state management, and a Sniper who really wants his Jarate.80%
auto_categoryGamegame70%

Quality Timeline

1 quality score recorded.

View File Metrics

Embed Badge

Add to your README:

![Quality](https://repos.aljefra.com/badge/91823.svg)
Quality BadgeSecurity Badge
Export Quality CSVDownload SBOMExport Findings CSV