#17392: Make list of built-in normal form games
-------------------------------------+-------------------------------------
       Reporter:  kcrisman           |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  minor              |    Milestone:  sage-6.8
      Component:  game theory        |   Resolution:
       Keywords:  days64             |    Merged in:
        Authors:  Vincent Knight,    |    Reviewers:  Karl-Dieter Crisman,
  James Campbell                     |  Travis Scrimshaw
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/vinceknight/catalog_of_games     |  31ec186babfd107ca4f1ce62a513a7fe235d557c
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by vinceknight):

 * status:  needs_work => needs_review


Comment:

 Thanks Travis, I remember this being a pain with matching games :)

 I have fixed this: tests pass on two different machines but it is possible
 that I've missed one BUT I did not go with your suggestion.

 I have thrown in:

 {{{
 Travellers dilemma - Normal Form Game with the following utilities: ...
 }}}

 but then I also built the expected dictionary and just checked that the
 equality test between the game and the dictionary returned `True`

 Using `sorted(g)` would only return the keys of the dictionary which could
 potentially hide an error...

 I think this is probably the best way to do this but please let me know if
 you think it should be reworked...

--
Ticket URL: <http://trac.sagemath.org/ticket/17392#comment:67>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to