DSL for board and piece placement #4

Closed
opened 2024-11-14 18:34:32 +00:00 by leon-adsk · 1 comment
leon-adsk commented 2024-11-14 18:34:32 +00:00 (Migrated from github.com)

Write a light weight interpreter that can take a simple description of a tile / piece arrangement and store it as a data structure representing actual game state.

for example:

String initial_state = """
  board 8x8
  
  tile white at x+y%2 == 0
  tile black at x+y%2 == 1""";

boardParser.setInitialBoard(initial_state);

to make a chess board

Write a light weight interpreter that can take a simple description of a tile / piece arrangement and store it as a data structure representing actual game state. for example: ```java String initial_state = """ board 8x8 tile white at x+y%2 == 0 tile black at x+y%2 == 1"""; boardParser.setInitialBoard(initial_state); ``` to make a chess board
leon-adsk commented 2024-12-26 17:38:32 +00:00 (Migrated from github.com)

seems out of scope

seems out of scope
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
leon-adsk/r2-boardgames-a#4
No description provided.