Adventuregame
C 70 completedPipeline State
completedPipeline Metadata
AI Prompt
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/10Tags
Claude Models
Quality Score
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
Languages
Frameworks
Concepts (2)
| Category | Name | Description | Confidence | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Repobility · code-quality intelligence platform · https://repobility.com | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| auto_description | Project Description | A 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_category | Game | game | 70% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Embed Badge
Add to your README:
