Actions

Gameboard

From Future Skill

Revision as of 10:21, 8 April 2021 by KimSimmons (talk | contribs)

[DRAFT] The GameBoard library

A reusable and configurable system for game-like challenges.

[TODO]

  • Board quick setup
  • Creating and placing a gamepiece
  • Pathfinding
  • Custom board setup

GameBoard quick setup

from gameboard import GameBoard
from gameboard_helpers import CommonSetups, Style

fn init():
  board = GameBoard()
  CommonSetups.square(board)
  Style.topdown(board)
  board.fill(10, 10)