Chess Matchups

Goals

The purpose of this assignment is to learn to

Assignment Tasks

  1. Use the Game class to access games json
  2. Add a vertex for each unique username
  3. Add an edge between Alireza2003 and every other vertex
  4. Color edges depending on game outcome, if Alireza2003 won the edge is green, if he lost the edge is red, if the game was a draw the edge is grey
  5. OPTIONAL: Color each vertex to reflect their piece color in the game (e.g. If RebeccaHarris1 played as the white pieces, color their vertex to be white)
  6. Visualize

Expected Output:

Solution

Help

For C++

GraphAdjList

For Java

GraphAdjListSimple

For Python

GraphAdjList