JEZIK ZA OPIS PRAVILA ZA IGRE SA KARTAMA

Authors

  • Ana Vulin Autor

DOI:

https://doi.org/10.24867/33BE30Vulin

Keywords:

DSL, textX, Python, WebSocket, visualization , Trading card games

Abstract

The paper presents the design and implementation of a domain-specific language (DSL) intended for describing the rules of card games. The system includes a textX parser, a Python-based interpreter, and a web client with support for interactive visualization. The goal is to enable easy creation of card games without the need for programming knowledge.

References

[1]https://en.wikipedia.org/wiki/Domain-specific_language (pristupljeno u maju 2025.)

[2]https://en.wikipedia.org/wiki/Abstract_syntax_tree (pristupljeno u maju 2025.)

[3]https://gambiter.com/cards/classified-index.html?utm_source=chatgpt.com (pristupljeno u junu 2025.)

[4]https://marianpekar.github.io/Cardamom.js/ (pristupljeno u maju 2025.)

[5]https://www.construct.net/en

(pristupljeno u maju 2025.)

[6]https://textx.github.io/textX/

[pristupljeno u avgustu 2025.)

[7]https://www.python.org/doc/

(pristupljeno u maju 2025.)

[8]https://flask.palletsprojects.com/en/latest/ (pristupljeno u maju 2025.)

[9]https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API (pristupljeno u maju 2025.)

[10]https://developer.mozilla.org/en-US/docs/Web/HTTP (pristupljeno u maju 2025.)

[11]https://developer.mozilla.org/en-US/docs/Web/HTML (pristupljeno u maju 2025.)

[12]https://developer.mozilla.org/en-US/docs/Web/CSS (pristupljeno u maju 2025.)

[13]https://developer.mozilla.org/en-US/docs/Web/JavaScript (pristupljeni u maju 2025.)

[14]https://www.postgresql.org/about/

(pristupljeno u junu 2025.)

Published

2026-01-30

Issue

Section

Electrotechnical and Computer Engineering