Games::Cards::Tk

Package to write Tk ports for Games::Cards card games
Download

Games::Cards::Tk Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Amir Karger
  • Publisher web site:
  • http://search.cpan.org/~akarger/Language-Zcode-0.8/lib/Language/Zcode.pm

Games::Cards::Tk Tags


Games::Cards::Tk Description

Package to write Tk ports for Games::Cards card games Games::Cards::Tk is a package to write Tk ports for Games::Cards card games.SYNOPSISSee Games::Cards for all the non-GUI aspects of writing card games. use Games::Cards; use Games::Cards::Tk; # Create a canvas and print background etc. $My_Game->set_canvas($c); # my game will use canvas $c # ... do lots of things you do in Games::Cards anyway # Cards' Tk images will be moved automatically! $Stock->give_cards($Waste, 3); # Mark clicked card $card = $My_Game->get_card_by_tag("current"); $card->mark;WARNING!!!This module is doubleplus alpha. It's entirely possible that large parts of it will be changing as I learn more Tk, and if you try to write a game that's much different from the included games, it may break. There's still some stuff that needs to be better modularized, abstracted, and otherwise made into good code. However, the current games seem to be pretty good for a first try, and I'd like to get comments in case I'm doing anything really stupid. Requirements: · Perl


Games::Cards::Tk Related Software