git: games: Bring in monop(6) from NetBSD

Aaron LI aly at crater.dragonflybsd.org
Sun Feb 21 00:18:27 PST 2021


commit 11c3b524747d8c5b8633b938fd0fceb1d5878a2e
Author: Aaron LI <aly at aaronly.me>
Date:   Sat Feb 20 18:39:42 2021 +0800

    games: Bring in monop(6) from NetBSD
    
    monop is reminiscent of the Parker Brother's game Monopoly, and monitors
    a game between 2 to 9 users.  It is assumed that the rules of Monopoly
    are known.  The game follows the standard rules, with the exception that,
    if a property goes up for auction and there are only two solvent players,
    no auction is held and the property remains unowned.

Summary of changes:
 games/Makefile        |   1 +
 games/monop/Makefile  |   9 +
 games/monop/cards.c   | 390 ++++++++++++++++++++++++++
 games/monop/deck.h    |  58 ++++
 games/monop/execute.c | 754 ++++++++++++++++++++++++++++++++++++++++++++++++++
 games/monop/getinp.c  | 112 ++++++++
 games/monop/houses.c  | 380 +++++++++++++++++++++++++
 games/monop/jail.c    | 116 ++++++++
 games/monop/misc.c    | 292 +++++++++++++++++++
 games/monop/monop.6   | 178 ++++++++++++
 games/monop/monop.c   | 348 +++++++++++++++++++++++
 games/monop/monop.h   | 221 +++++++++++++++
 games/monop/morg.c    | 222 +++++++++++++++
 games/monop/print.c   | 190 +++++++++++++
 games/monop/prop.c    | 217 +++++++++++++++
 games/monop/rent.c    |  89 ++++++
 games/monop/roll.c    |  51 ++++
 games/monop/spec.c    | 108 ++++++++
 games/monop/trade.c   | 322 +++++++++++++++++++++
 19 files changed, 4058 insertions(+)
 create mode 100644 games/monop/Makefile
 create mode 100644 games/monop/cards.c
 create mode 100644 games/monop/deck.h
 create mode 100644 games/monop/execute.c
 create mode 100644 games/monop/getinp.c
 create mode 100644 games/monop/houses.c
 create mode 100644 games/monop/jail.c
 create mode 100644 games/monop/misc.c
 create mode 100644 games/monop/monop.6
 create mode 100644 games/monop/monop.c
 create mode 100644 games/monop/monop.h
 create mode 100644 games/monop/morg.c
 create mode 100644 games/monop/print.c
 create mode 100644 games/monop/prop.c
 create mode 100644 games/monop/rent.c
 create mode 100644 games/monop/roll.c
 create mode 100644 games/monop/spec.c
 create mode 100644 games/monop/trade.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/11c3b524747d8c5b8633b938fd0fceb1d5878a2e


-- 
DragonFly BSD source repository



More information about the Commits mailing list