NetMauMau  0.24.0
Client API
Build instructions, binaries and rules

Prerequisites

(x)inetd support

On Linux/BSD systems you can let start the server on demand as well, by adding it as service to **(x)inetd**.

A sample xinetd service configuration can look as following:

service netmaumau
{
    disable = no
    per_source = 1
    port = 8899
    socket_type = stream
    protocol = tcp
    user = root
    server = /usr/bin/nmm-server
    server_args = --inetd
    type = UNLISTED
    wait = yes
    instances = 1
}

Windows service

If you want to start the NetMauMau server at system start, you can install the NetMauMau server as service. I recommend following workflow:

Before updating NetMauMau you'll need to stop the service if running: sc stop <ServiceName> or services.msc

Setting up the build environment

After checkout run autoreconf -ifv to set up the build environment.

./configure && make builds the projects and make install installs it. See configure --help for more options to customize and general help.

Client

A Qt client can be found at https://github.com/velnias75/NetMauMau-Qt-Client

Binary releases

![Download NetMauMau](https://img.shields.io/sourceforge/dm/netmaumau.svg)

Gentoo

NetMauMau is available on Gentoo via the overlay games-overlay which can be added by layman The GitHub repository of games-overlay is here: https://github.com/hasufell/games-overlay

Adding the overlay

With paludis: see Paludis repository configuration

With layman: layman -f -o https://raw.github.com/hasufell/games-overlay/master/repository.xml -a games-overlay or layman -a games-overlay

Install NetMauMau with emerge games-server/netmaumau

Ubuntu

Binary packages are available for Precise, Trusty, Utopic and Vivid in my Launchpad PPA at https://launchpad.net/~velnias/+archive/ubuntu/velnias

Add the repository to your system:

sudo add-apt-repository ppa:velnias/velnias

PlayDeb.net offers binaries too.

Debian 7/8

Arch Linux

The package is available in the AUR at https://aur.archlinux.org/packages/netmaumau-server/

openSUSE

Windows

![Download NetMauMau](https://a.fsdn.com/con/app/sf-download-button)

Rules

Following are the rules currently implemented in NetMauMau:

General rules

At the beginning every player gets five random cards out of a set of 32 cards. Of the remaining cards one card's front is visible to all players and the rest serves as pool of cards to take if a player cannot play a card or if the player has to take cards due to the Seven rule. If all pool cards are either in players hands or played out all cards except the visible card are shuffled again and made available as pool again.

The aim of NetMauMau is to get away all cards as fast as possible. To achieve this a player can play out any card of either the same rank or the same suit. If a player cannot play out any card the player has to take one from the pool and to suspend. Some cards trigger specific actions as described below.

If a player has lost the points of the player's cards are summed up. If the player has lost due a played out Jack, the points are doubled. The higher that value the worse the game is lost.

Specific card rules

All rules apply also to the visible card at the beginning of the game for the first player.