There may not always be enough players available online to match a human player with another human player.
one important part of designing an online game is building a bot which can function in the place of a player.