Ludii Forum
For Discussing All Things Ludii
Ludii
Forum
Members
Search
Register
Login
Ludii
Forum
Members
Help
Search
Ludii Forum
Problems
Grammar Problems
1
2
3
Next »
Bug related to includeSelf in (sites Around)
Bug related to includeSelf in (sites Around)
Michael
Offline
Senior Member
Posts:
468
Threads:
153
Joined:
Aug 2020
#1
04-17-2022, 06:33 PM
Code:
(sites Around (sites {#1 #2}) includeSelf:False)
returns a region containing #1 and #2. At least in the Test Ludeme dialog.
This does not happen when there is only one site in (sites {}), by the way.
Eric Piette
AI Researcher | Ludii Dev | Game Dev
Posts:
920
Threads:
6
Joined:
Sep 2019
#2
04-19-2022, 10:09 AM
Hi,
Thanks for this!
I just fixed it. That will be in the next release.
Regards,
Eric
Michael
Offline
Senior Member
Posts:
468
Threads:
153
Joined:
Aug 2020
#3
04-19-2022, 06:19 PM
Great!
I have a question about (sites Around), by the way.
Are shared pieces supposed to be included in (sites Around … Own)? They currently are.
I ask because (is Mover (who at:#1)) returns False when #1 is occupied by a shared piece.
Similarly, shared pieces are not included in (sites Around … Enemy), yet (is Enemy (who at:#1)) returns True when #1 is occupied by a shared piece.
«
Next Oldest
|
Next Newest
»
Users browsing this thread: 1 Guest(s)
View a Printable Version
Subscribe to this thread
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
General
-- Announcements
-- Discussion
Questions
-- About Ludii
-- About the Ludii Grammar
-- About the Ludii Source Code
-- About the Digital Ludeme Project
Suggestions
-- Submit Your Games
-- Games to Include
-- Ludii Features / Services
-- Suggest Concept
Problems
-- Ludii Player Problems
-- Game Problems
-- Grammar Problems
-- AI Problems
-- Website Problems
-- Forum Problems
-- Web Player Problems
Competitions
-- Ludii AI Competition 2022
-- Ludii AI Competition 2021
-- Computer Olympiad 2020
-- Ludii AI Competition 2020
Linear Mode
Threaded Mode