Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

Commit

Permalink
chore: Package superseded by {ppdf}. Abandon development.
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorld committed Oct 19, 2023
1 parent ddf5f7f commit 3778b82
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 134 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Encoding: UTF-8
Package: tradgames
Type: Package
Title: Board Games played with Traditional Game Systems
Version: 0.2.2-3
Version: 0.3.0-0
Authors@R: c(person("Trevor L", "Davis", role=c("aut", "cre"),
email="[email protected]",
comment = c(ORCID = "0000-0001-6341-4639")))
Expand All @@ -22,4 +22,4 @@ Suggests:
vdiffr
Remotes:
piecepackr/ppgames
RoxygenNote: 7.1.1
RoxygenNote: 7.2.3
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
tradgames 0.3.0
===============

* `{tradgames}` is now superseded by `{ppdf}`: https://github.com/piecepackr/ppdf

tradgames 0.2.1
===============

Expand Down
5 changes: 5 additions & 0 deletions R/hooks.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.onAttach <- function(libname, pkgname) {
packageStartupMessage(paste("{tradgames} is superseded by {ppdf}",
'`remotes::install_github("piecepackr/ppdf")`',
sep = "\n"))
}
55 changes: 4 additions & 51 deletions README.Rrst
Original file line number Diff line number Diff line change
Expand Up @@ -9,55 +9,8 @@ tradgames: Board game graphics for traditional game systems
:target: https://app.codecov.io/github/piecepackr/tradgames?branch=master
:alt: Coverage Status

.. image:: http://www.repostatus.org/badges/latest/wip.svg
:alt: Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.
:target: http://www.repostatus.org/#wip
.. image:: https://www.repostatus.org/badges/latest/abandoned.svg
:alt: Project Status: Abandoned – Initial development has started, but there has not yet been a stable, usable release; the project has been abandoned and the author(s) do not intend on continuing development.
:target: https://www.repostatus.org/#abandoned


.. _piecepack: http://www.ludism.org/ppwiki/HomePage
.. _piecepackr: https://github.com/piecepackr/piecepackr
.. _R: https://www.r-project.org/

``tradgames`` is an R_ package with functions that help generate board game graphics for games played with traditional board game components. Right now it has a few functions that return the setups for some games that can be drawn with piecepackr_'s ``pmap_piece`` function.

.. contents::

.. {r setup, echo = FALSE}
knitr::opts_chunk$set(fig.path = "man/figures/README-")
.. ..

Installation
------------

To install the ``tradgames`` R package use the following commands in R_:

.. code:: r

install.packages("remotes")
remotes::install_github("piecepackr/piecepackr") # recommended
remotes::install_github("piecepackr/ppgames") # recommended
remotes::install_github("piecepackr/tradgames")

License
-------

Unless otherwise specified everything in this repo is licensed under the `CC BY-SA 4.0 license <https://creativecommons.org/licenses/by-sa/4.0/>`_.

Starting Boards
---------------

This package comes with a few functions that return tibbles representing the starting board arrangement for games played with traditional board game components. These can be visualized with ``piecepackr::pmap_piece`` or ``ppgames::cat_piece``.

.. {r breakthrough, fig.width=9, fig.height=9, fig.cap='Starting position for Dan Troyka\'s abstract game "Breakthrough"'}
library("tradgames")
library("piecepackr")
pmap_piece(df_breakthrough(), envir=game_systems(), default.units="in", trans=op_transform, op_scale=0.5)
.. ..

.. {r turkish_draughts, fig.width=9, fig.height=9, fig.cap='Starting position for Turkish Draughts'}
pmap_piece(df_turkish_draughts(), envir=game_systems(), default.units="in", trans=op_transform, op_scale=0.5)
.. ..

.. {r four_field_kono}
ppgames::cat_piece(df_four_field_kono())
.. ..
``{tradgames}`` has been superseded by `{ppdf} <https://github.com/piecepackr/ppdf>`_.
85 changes: 4 additions & 81 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,85 +9,8 @@ tradgames: Board game graphics for traditional game systems
:target: https://app.codecov.io/github/piecepackr/tradgames?branch=master
:alt: Coverage Status

.. image:: http://www.repostatus.org/badges/latest/wip.svg
:alt: Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.
:target: http://www.repostatus.org/#wip


.. _piecepack: http://www.ludism.org/ppwiki/HomePage
.. _piecepackr: https://github.com/piecepackr/piecepackr
.. _R: https://www.r-project.org/

``tradgames`` is an R_ package with functions that help generate board game graphics for games played with traditional board game components. Right now it has a few functions that return the setups for some games that can be drawn with piecepackr_'s ``pmap_piece`` function.

.. contents::



Installation
------------

To install the ``tradgames`` R package use the following commands in R_:

.. code:: r
install.packages("remotes")
remotes::install_github("piecepackr/piecepackr") # recommended
remotes::install_github("piecepackr/ppgames") # recommended
remotes::install_github("piecepackr/tradgames")
License
-------

Unless otherwise specified everything in this repo is licensed under the `CC BY-SA 4.0 license <https://creativecommons.org/licenses/by-sa/4.0/>`_.

Starting Boards
---------------

This package comes with a few functions that return tibbles representing the starting board arrangement for games played with traditional board game components. These can be visualized with ``piecepackr::pmap_piece`` or ``ppgames::cat_piece``.


.. sourcecode:: r


library("tradgames")
library("piecepackr")
pmap_piece(df_breakthrough(), envir=game_systems(), default.units="in", trans=op_transform, op_scale=0.5)

.. figure:: man/figures/README-breakthrough-1.png
:alt: Starting position for Dan Troyka's abstract game "Breakthrough"

Starting position for Dan Troyka's abstract game "Breakthrough"


.. sourcecode:: r


pmap_piece(df_turkish_draughts(), envir=game_systems(), default.units="in", trans=op_transform, op_scale=0.5)

.. figure:: man/figures/README-turkish_draughts-1.png
:alt: Starting position for Turkish Draughts

Starting position for Turkish Draughts


.. sourcecode:: r


ppgames::cat_piece(df_four_field_kono())


::

## ┌─┰─┰─┰─┐
## │⛂┃⛂┃⛂┃⛂│
## ┝━╋━╋━╋━┥
## │⛂┃⛂┃⛂┃⛂│
## ┝━╋━╋━╋━┥
## │⛀┃⛀┃⛀┃⛀│
## ┝━╋━╋━╋━┥
## │⛀┃⛀┃⛀┃⛀│
## └─┸─┸─┸─┘
##

.. image:: https://www.repostatus.org/badges/latest/abandoned.svg
:alt: Project Status: Abandoned – Initial development has started, but there has not yet been a stable, usable release; the project has been abandoned and the author(s) do not intend on continuing development.
:target: https://www.repostatus.org/#abandoned

``{tradgames}`` has been superseded by `{ppdf} <https://github.com/piecepackr/ppdf>`_.

0 comments on commit 3778b82

Please sign in to comment.