P
P
Programep2017-10-17 20:43:50
JavaScript
Programep, 2017-10-17 20:43:50

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 ?
59e640b85e470654670125.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Stroykin, 2017-10-17
@Programep

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 question

Ask a Question

731 491 924 answers to any question