Skip to content

Version 3 - The Names Update

Choose a tag to compare

@ProductionEXP ProductionEXP released this 31 Aug 03:02
· 39 commits to main since this release

Multiple things where added in this update. Here is a short changelog:

  • General updates

    • Added Members
    • Added Team Names
    • Updates to how teams.json (renamed from scores.json) is writen
    • Intigrated all previous updates to play.py
  • Technical Updates

    • Added yesorno()
    • Added test.py
Members

Added the ability to add name (members) to teams, this is not required.

You can add members after you have entered how many teams are playing, you can add members in any order to any number of teams. To exit adding team names and continue with the program, when it asks you Would you like to add members to teams? enter exit. For more information look here.

Team Names

Added the ability to add team names to every team, this is not required.

You can add team names after you have either added or skiped adding members, you can add team names in any order to any number of teams. To exit adding team names and continue with the program, when it asks you Would you like to add team names to teams? enter exit. For more information look here.

Scoring

Renamed scores.json to teams.json. And added members and teamname. For furthur information on how this file is formated, look here

Updated play.py

Updated play.py with every new fetures, full list:

  • Updated from scores.json to teams.json
    • Added teamname
    • Added members
    • Changed formating
  • Added printmembers, yesorno, addmembers, addteamname
  • Updated printteams, genscorefile, addscorejson
  • Updated all code for teams.json
  • Added the ability to add team names and members
Technical Changes

Added a function to see if a user input is either a or b (See setup for full list of two character inputs). Function name yesorno().

Added test.py for development of new features before they are added to either main.py or play.py, then bugfixed. This is an internal development file, serves no outside purpose.


Git Compare:
Full Changelog**: V2.1...V3