项目作者: iamVarunAnand

项目描述 :
Literature card game developed to learn OOPS concepts
高级语言: C++
项目地址: git://github.com/iamVarunAnand/literature.git
创建时间: 2020-07-26T10:06:26Z
项目社区:https://github.com/iamVarunAnand/literature

开源协议:

下载


Literature Card Game in C++

The sole purpose of this project was to get a practical hands-on experience in Object-Oriented Programming concepts. All design decisions involved in this project were taken with the OOPS paradigm in mind. Some of the OOPS concepts utilised in the code include:

  1. Data encapsulation: All the data members of the classes are private, restricting access to these members from other classes
  2. Polymorphism: Multiple instances of polymorphism / function overloading can be found in the code, wherever appropriate
  3. Data abstraction: The game makes use of several abstract datatypes such as Suit, Value, Set and Messages throughout its execution.

To view the game in action (requires make):

  1. $ git clone https://github.com/iamVarunAnand/literature.git
  2. $ cd literature
  3. $ mkdir build
  4. $ make
  5. $ build/run.out