Answer the question
In order to leave comments, you need to log in
With which angular 2 methods can you make 2 game screens?
Good afternoon!
I am developing a game in angular 2.
Tell me how best to implement the following (schematically depicted in the figure below):
1. The player enters the first page and sees a list of active games and a button to create a new game.
2. When creating/selecting a game, the player goes to another screen where the game board is located.
I think maybe with the help of router ?
Answer the question
In order to leave comments, you need to log in
Well, yes, if there are several games, it would be best to create a Lazy Loading Module for each game so that they are loaded as needed. Main screen in the main module. In what. actually. snag?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question