Choose Template

Learn how to automatically copy and create directories, based on the user’s input.

Why copy templates automatically?

Imagine this scenario. You work for a gaming company. Suppose it is called Games4U. This company has a few templates for simple games like backgammon, chess, draughts, and poker. Each game template acts as the skeleton for the game and can be used to create a customized game of that type for a client.

Your manager has asked you to create a new poker game. You need to make a copy of the poker game’s template and rename it to the project name. You will call it poker-ten-stars.

Get hands-on with 1200+ tech skills courses.