Releases: FLAK-ZOSO/Tris
Releases · FLAK-ZOSO/Tris
v3.0.1
v3.0.0
main
branch updated with the latest version of the files.
Full Changelog: v2.3.0...v3.0.0
v2.3.1
Errors fixed
Moves
'__slots__
attribute was missing two instance attribute and raising an exception.
Z Changelog
v2.3.0
Changes
- Added
__slots__
attribute to each class, in order to make the code more efficient. - Some methods are now private because they aren't used outside the class.
table
function is now aBox
's class method namedprint
.
Future changes
- Make the program able to start first.
The Readme.md
file contains the full list of future changes.
Y Changelog
Full Changelog
v2.2.2
Changes
- Function
table
is now avoid
function, simply printing the table when called. - The printed table is now simpler, it only contains the values, like this:
1 2 3 4 5 6 7 8 9
- Function
table
sobstituted the olda = [0, *boxes]
with a list of tuples.
Future changes
About function table
:
- Make the rows and the lines of the table to be aligned even if the value of the first case is
1
(thechr('1')
is less wide than'X'
or'O'
)
The others future changes will be soon listed into the Readme.md
file.
Z Changelog
Y Changelog
Full Changelog
v2.2.1
Changes
- Corrected wrong
try-except
handling forset.remove()
method at line 169. The correct Exception wasKeyError
instead ofValueError
.
Z Changelog
Y Changelog
Full Changelog
v2.2.0
Changes
- Added
encodeMatches
function to encode in a more readable way the matches. - Corrected error caused by function
Moves.save()
not returning a boolean - Deleted useless exception handling
Partial Changelog
Full Changelog
v2.1.0
Changes
- Solved problem with
draft check
, now thegame()
function isn't stopped at the 8th move, but only after every case is occupied. Draft check
is now done byMoves
instance functions- Added
Moves.isFinished()
function - Added
Moves.finishIf()
function
Partial Changelog
Full Changelog
v2.0.0
This version is the first to have all the functions and classes defined in the same module.
Version
The version will pass from v1.3.7
directly to v2.0.0
according to the guidelines:
Major version X (X.y.z | X > 0) MUST be incremented if any backwards incompatible changes are introduced
Changes
- The only module is now
Tris.py
, it avoids the errors withimport
s whenbuild
ing the package to upload it onPyPi
Future changes
The future changes will be the same as described in the v1.3.7
release.
Full Changelog
v1.3.7
This is the first version of the project to be released using the specific git
function.
Changes
- The modules are now downloadable with
pip
because of theUpload Python Package
. - The
Moves
instance functions don't need anymore to havepath
as a parameter, since the.json
files are now in the same path. - The main module (
Tris.py
) has now a much better error handling system.
Future changes
- Make the instance function
Boxes.Box.check()
more efficient. - Improve the function
table.table()
to print a better table when thechar
in it are larger. - Add a control to the function
Tris.game()
in the scope of deleting fromMatches.json
all those matches which are duplicates. - Add a control to the function
Tris.game()
in the scope of deleting fromMatches.json
all those matches which are read more than X times.