P5-algorithm-pair-best2

Jul 20, 2023

Select tournament pairings

AlgorithmPairBest2 is a re-write of AlgorithmPairBest. The interface is simplified and the implementation is significantly streamlined.

After creating an AlgorithmPairBest2 object with->new, add items to the list of items i.e players to be paired. The final list must contain an even number of items or picking the pairs will throw an exception.

AlgorithmPairBest2->pick explores all combinations of items and returns the pairing list with the best lowest score.



Checkout these related ports:
  • Ztrack - Simple ncurses based pseudo-3D driving game
  • Zoom - Z-Interpreter for X with full V6 support
  • Zhlt - Zoner's Half-Life compile tools
  • Zephulor - Side scrolling arcade game
  • Zdoom - Source port for Doom-engine games
  • Zaz - Puzzle game where the player has to arrange balls in triplets
  • Zatacka - Nibbles-like multiplayer game
  • Zangband - Zangband (Zelazny Angband) with color, X11 support
  • Yquake2 - Improved version of Icculus Quake II
  • Yahtzee - Curses version of the dice game for one or more players
  • Yadex - WAD file editor, for games like Doom and Heretic
  • Xzip - Infocom game interpreter that runs under X11
  • Xye - Puzzle games like sokoban or boulderdash
  • Xworm - Classic game with apples and hungry worm
  • Xvmines - Simple minesweeper game for X Window System