计算机科学 > 程序设计语言
[提交于 2023年3月18日]
标题:Modelling Chess in VDM++
查看中文 PDF 查看原文 PDF EasyResearch 阅读摘要:The game of chess is well-known and widely played all over the world. However, the rules for playing it are rather complex since there are different types of pieces and the ways they are allowed to move depend upon the type of the piece. In this paper we discuss alternative paradigms that can be used for modelling the rule of the chess game using VDM++ and show what we believe is the best model. It is also illustrated how this model can be connected to a standard textual notation for the moves in a chess game. This can be used to combine the formal model to a more convenient interface.
提交历史
来自:Morten Haahr Kristensen[v1] 2023年3月18日 星期六 10:12:07 UTC