Improve the pretty print function ( pp() ) so that if the game it receives as input, or as a subgame in the input, is a binary fraction, it will be represented as such.
For example, {0|1} should become 1/2 ,
{1|2} should become 3/2.
{1|{1|2}} should become 5/4.
when pretty printed.
Improve the pretty print function ( pp() ) so that if the game it receives as input, or as a subgame in the input, is a binary fraction, it will be represented as such.
For example, {0|1} should become 1/2 , {1|2} should become 3/2. {1|{1|2}} should become 5/4. when pretty printed.