CruceGameDevel / CruceGame

Open source card game
GNU General Public License v2.0
19 stars 19 forks source link

Player creation cli #106

Closed Paul92 closed 10 years ago

Paul92 commented 10 years ago

Add function to get input from user and create a Player.

flavius commented 10 years ago

Think about a homogenous and consistent way of registering commands for the CLI library to execute code from the game library.

http://en.wikipedia.org/wiki/Command_pattern - you don't have OOP.

Paul92 commented 10 years ago

@danij suggested to implement the game logic inside cli library.

danij commented 10 years ago

I suggested implementing the UI logic inside the cli executable, which will then call the business logic from the main library. It's a subtle difference :)