Removed unnecessary stream() call.
Moved netcode engine to the netcode package.
Added game engine field.
Changed the criteria for ending the game loop, to prevent net games from ending prematurely.
Removed TODO.
Javadoc improvement.
Javadoc.
Javadoc formatting.
Added test cases.
Javadoc.
Added a method.
Simplification.
Added a null check.
Implemented isGameOver.