Winning Snake: Design Choices in Multi-Shot ASP

Elisa Böhl, Stefan Ellmauthaler, Sarah Alice Gaggl
8/15/2024
cs.AI

No confident code implementation found for this paper.

Abstract

Answer set programming is a well-understood and established problem-solving and knowledge representation paradigm. It has become more prominent amongst a wider audience due to its multiple applications in science and industry. The constant development of advanced programming and modeling techniques extends the toolset for developers and users regularly. This paper demonstrates different techniques to reuse logic program parts (multi-shot) by solving the arcade game snake. This game is particularly interesting because a victory can be assured by solving the underlying NP-hard problem of Hamiltonian Cycles. We will demonstrate five hands-on implementations in clingo and compare their performance in an empirical evaluation. In addition, our implementation utilizes clingraph to generate a simple yet informative image representation of the game's progress.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{bhl2024winning,
  title  = {Winning Snake: Design Choices in Multi-Shot ASP},
  author = {Elisa Böhl and Stefan Ellmauthaler and Sarah Alice Gaggl},
  year   = {2024},
  eprint = {2408.08150},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.08150v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.08150.svg)](https://codeofpaper.com/paper/2408.08150)

Discussion