Hacker GitHub

← All repos

stassa/Gleemin

View on GitHub ↗ ★ 98 Prolog

A Magic: the Gathering™ expert system

9 mentions on Hacker News by 4 people: 0 stories, 9 comments · first 2015-06-11 · latest 2026-05-18

Mentions per year 9 mentions · busiest year 2022 (4)
20082026
  1. Hey, that's cool! I had the same idea too: https://github.com/stassa/Gleemin Although the code is nigh-on unreadable now ^_^@ >> The weird rule-breaking edge cases will always fail, but a large set of design space can fit, I think. Well,…
    comment by YeGoblynQueenne · 2026-05-18 · in Prolog Basics Explained with Pokémon
  2. …informative, though. EDIT: I found an old project working on implementing the MtG rules in Prolog: https://github.com/stassa/Gleemin . It's definitely more concise than XMage's Java, but you can still get an idea of how much work it would…
  3. …Runs simulations of combat between WH40k units. 2. Gleemin, a Magic: the Gathering expert system: https://github.com/stassa/Gleemin Doesn't work anymore! Because backwards compatibility. Includes a) a parser for the rules text on M:tG…
  4. …"MGL" is my own terminology, since the langauge on M:tG cards doesn't have an official name): https://github.com/stassa/Gleemin/blob/master/mgl_interprete... The first two-thirds of the source in the linked file is a grammar of a subset of…
    comment by YeGoblynQueenne · 2022-01-30 · in 50 Years of Prolog and Beyond
  5. …language. [0] Inspired by a HN comment a while back about Gleemin, the MTG expert engine in Prolog: https://github.com/stassa/Gleemin
  6. …nightmare of incompatibilities. The ported project is here but it breaks unexpectedly all the time: https://github.com/stassa/Gleemin ________ [1] https://en.wikipedia.org/wiki/Definite_clause_grammar#Exampl... [2] I also had an alpha-beta…
    comment by YeGoblynQueenne · 2022-01-13 · in Dear sir, you have built a compiler
  7. …for M:tG language modelling is still a hand-crafted grammar. __________________ [1] https://github.com/stassa/Gleemin - unfortunately, doesn't run anymore after multiple changes to Prolog interepreters used to create and then port the…
    comment by YeGoblynQueenne · 2021-05-04 · in The computers are getting better at writing
  8. …with others, then that's really, really amazing news. ____________________________ [1] It's here: https://github.com/stassa/Gleemin But it will hurt you. Also, graduate dissertation, 5 years ago: embarrassing .
    comment by YeGoblynQueenne · 2016-04-17 · in Amzi Prolog becomes open source
  9. …[4]: http://mtgsalvation.gamepedia.com/Magic_Golden_Rules [5]: https://github.com/stassa/Gleemin