Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
t_games v0.50.14a1
#1
This is another t_games release, with some features I had been meaning to add for a while. (zip, tar.gz). T_games is a package of old-school text games, including classic computer games like Hunt the Wumpus and Hamurabi, classic tabletop games like Chess, Liar's Dice, Hearts, and Blackjack, and a variety of Solitaire games like Klondike, FreeCell, and Spider. It also provides a framework for writing text games in Python, with classes for boards, cards, and dice.

New features in this release:
  • Split options from the rules in the interface, adding the options command.
  • Added the info command to display rules, credits, and options together.
  • Added elementary cellular automata.
  • Added option group aliases.
  • Added the gonzo option to all games.
  • Made sure gipfing from a gonzo game leads to a gonzo game.
  • Added the Orangutan opening to Chess.
  • Added the stomp option to Snakes and Ladders.
  • Added the reserved option to Bisley.
  • Added the cells and max-passes options to Quadrille.
  • Added the piles option to Thoughtful.
  • Got CrapsBots to not bet all their money unless they are down to their last buck.
  • Added the num-extra option to Prisoner's Dilemma.
  • Added an end-of-match message to Rock-Paper-Scissors.
Framework changes in this release:
  • Implemented equality testing for cards.Hand.
  • Modified cards.Hand.__repr__ to show the faces of the cards.
Bug fixes in this release:
  • Stopped the super-five option in Yacht from triggering on any roll.
  • Fixed bug with Slider Puzzle ignoring the rows and columns options.
  • Fixed bug with misspelling of the failure-rate option in Global Thermonuclear War.
  • Fixed incorrect values for face cards with the minus or plus-minus options in Ninety-Nine.
  • Got CrapsBots to not make a bet instead of raising an error on an invalid bet.
  • Fixed Card.__lt__ (it was comparing to itself, not to the other card).
Current complete game list:
  • Backgammon
  • Battleships
  • Bisley
  • Blackjack
  • Calvin Cards
  • Canfield
  • Chess
  • Connect Four
  • Craps
  • Crazy Eights
  • Cribbage
  • Forty Thieves
  • FreeCell
  • Gargantua
  • Gin Rummy
  • Global Thermonuclear War
  • Hamurabi
  • Hangman
  • Hearts
  • Hunt the Wumpus
  • Klondike
  • Liar's Dice
  • Mate
  • Monte Carlo
  • Ninety-Nine
  • Number Guessing Game
  • Oregon Trail
  • Pig
  • Prisoner's Dilemma
  • Pyramid
  • Quadrille
  • Rock-Paper-Scissors
  • Roulette
  • Slider Puzzle
  • Slot Machines
  • Snakes and Ladders
  • Solitaire Dice
  • Spider
  • Strategy
  • Ten Thousand
  • The Dollar Game
  • Thoughtful Solitaire
  • Yacht
  • Yukon
Features:
  • Unified command oriented interface
  • Menu interface for browsing/selecting games
  • Unified statistics (wins, scores, turns)
  • Statistics can be filtered by categories and options
  • Multiple options for most games (an average of five options per game)
  • Complete rules, credits, and options list for all games
  • RPN Calculator for in game calculations
  • User settable short cuts
  • Open source (GPLv3+)
  • Automatically detects games added to the system by the user.
  • Provides a framework for game design with classes for boards, cards, and dice.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  t_games v0.50.0a1 ichabod801 0 2,391 Dec-03-2019, 08:39 PM
Last Post: ichabod801
  t_games v0.47.0a1 ichabod801 0 1,826 Aug-24-2019, 10:52 PM
Last Post: ichabod801
  t_games v0.44.0a1 ichabod801 0 3,003 Aug-10-2019, 08:08 AM
Last Post: ichabod801

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020