The Washington Wizards had two potential paths this summer with their roughly $31 million in cap space: Bring in one star-level player on a maximum salary contract or spread the money around to increase the team’s depth.

When Kevin Durant, Nicolas Batum and Al Horford all chose to go elsewhere, the Wizards shifted from Plan A to Plan B. And, by the end of the day Sunday, Plan B had turned out to be a pretty solid path.

Following up on their agreement with center Ian Mahinmi on Saturday night, the Wizards made a trio of moves Sunday — agreeing to deals with forward Andrew Nicholson and guard Tomas Satoransky and swinging a trade with the Utah Jazz for point guard Trey Burke — that added depth across the roster and at value prices, even in this inflationary period.

[Wizards miss out on free agent target Al Horford, who opts for Celtics]

The result is Washington, in the space of 24 hours, going from six players on its team to 10 while still having several million dollars in cap space to continue filling out the roster.

Magic forward Andrew Nicholson shoots over Phoenix Suns forward Mirza Teletovic during a game in 2015. Nicholson has agreed to a $26 million, four-year deal with the Wizards. (Matt York/AP)

The biggest surprise may have been Satoransky, a 6-foot-7 guard who was the Wizards’ No. 32 pick in the 2012 NBA draft. Satoransky is a long, athletic guard who spent the past two seasons playing for FC Barcelona, one of the best teams in the world outside of the NBA. He averaged nine points, 2.8 rebounds and 4.2 assists in 24.5 minutes for Barcelona in Euroleague play — and, most importantly, shot better than 36 percent from three-point range on over two attempts per game.

Adding Satoransky gives the Wizards not only another point guard option, but someone with the athleticism to play on the wings while contributing shooting — something Washington needed.

Burke, the No. 9 pick in the 2013 draft by the Jazz, had fallen out of favor in Utah, where the Jazz entered July with seven point guards, counting those under contract and drafted. The Wizards wound up being the beneficiaries, finding a point guard to play behind John Wall for a fraction of the cost of players such as Ish Smith, D.J. Augustin, Matthew Dellavedova, Tyler Johnson and Jerryd Bayless, all of whom signed for somewhere between $6 million and $12.5 million per season over the opening three days of free agency.

[Post NBA reporter Tim Bontemps’s NBA free agency grades]

The former Michigan Wolverine averaged 10.6 points and 2.3 assists in 64 games off the bench last season, shooting 41 percent overall and 34.4 percent from three-point range — a career high.

Nicholson, like Burke, is a former first-round pick who had fallen out of favor with his prior team. The No. 19 pick in the 2012 draft out of St. Bonaventure, Nicholson has developed into a power forward capable of stretching the floor all the way out to the three-point line, where he shot 36 percent on two attempts per game last season.

But as Orlando has continued to add one player after another at his position over the past few seasons — from Tobias Harris to Aaron Gordon to most recently Serge Ibaka last month — Nicholson has seen his place come and go in the rotation. Because of that, the team declined to give Nicholson a qualifying offer last month, making him an unrestricted free agent.

Tomas Satoransky, left, was at Wizards minicamp four years ago after being drafted by the team. (Katherine Frey/THE WASHINGTON POST)

[Bradley Beal, Wizards agree on five-year, $128 million max deal]

It didn’t take long for the Wizards to move on to him after missing out on Horford, and Nicholson will slide into the rotation as the backup to Markieff Morris at power forward.

With Satoransky, Burke and Nicholson in the fold, combined with the already agreed-upon signings of Bradley Beal and Mahinmi, the Wizards have 10 players under contract for next season with roughly $6 million in salary cap space remaining. Washington will also have the room exception available to them for teams that go from under the salary cap to over it, which is worth about $2.9 million next season.

The Wizards won’t be spending money on Garrett Temple. The free agent guard agreed to a three-year deal worth $24 million Sunday with the Sacramento Kings. The Wizards effectively replaced Temple with Satoransky, freeing them to spend their money elsewhere. Another big and another wing are still likely shopping list items at some point this summer.

But within the span of 24 hours, the Wizards shifted from chasing a star to chasing depth. And by the time they were done, the 2016-17 roster had begun to take shape.