diff --git a/src/main/java/org/example/scoreboard/IMatch.java b/src/main/java/org/example/scoreboard/IMatch.java new file mode 100644 index 0000000000000000000000000000000000000000..134d5dd1647c6fff8c9761cfe4d4b8bca5cddf22 --- /dev/null +++ b/src/main/java/org/example/scoreboard/IMatch.java @@ -0,0 +1,5 @@ +package org.example.scoreboard; + +public interface IMatch { + +} diff --git a/src/main/java/org/example/scoreboard/IScore.java b/src/main/java/org/example/scoreboard/IScore.java new file mode 100644 index 0000000000000000000000000000000000000000..992791a603edd2bbaf3fa96734cbdc1296824d2b --- /dev/null +++ b/src/main/java/org/example/scoreboard/IScore.java @@ -0,0 +1,5 @@ +package org.example.scoreboard; + +public interface IScore { + +} diff --git a/src/main/java/org/example/scoreboard/IScoreboard.java b/src/main/java/org/example/scoreboard/IScoreboard.java new file mode 100644 index 0000000000000000000000000000000000000000..6daaee6a95164324788c8d9d9c840264a4d50709 --- /dev/null +++ b/src/main/java/org/example/scoreboard/IScoreboard.java @@ -0,0 +1,14 @@ +package org.example.scoreboard; + +import java.util.ArrayList; + +public interface IScoreboard { + + IMatch startMatch(ITeam home, ITeam away); + + void finishMatch(IMatch match); + + IMatch updateScore(IMatch match, IScore home, IScore away); + + ArrayList getGameSummary(); +} diff --git a/src/main/java/org/example/scoreboard/ITeam.java b/src/main/java/org/example/scoreboard/ITeam.java new file mode 100644 index 0000000000000000000000000000000000000000..1980e584a3ef093a1e29ab550686284bd6f3e07c --- /dev/null +++ b/src/main/java/org/example/scoreboard/ITeam.java @@ -0,0 +1,4 @@ +package org.example.scoreboard; + +public interface ITeam { +}