Skip to content

Latest commit

 

History

History
58 lines (42 loc) · 1.75 KB

en-libsaki.md

File metadata and controls

58 lines (42 loc) · 1.75 KB
layout title permalink
page
Libsaki Tutorial
/en/docs/libsaki/

General

These pages introduce the code details of the Pancake Mahjong core library, Libsaki.

Please carefully check through the Pancake C++ Style Guide before taking any change to the code.

This library is written in plain C++ without any third party library.

Layering

The architecture of Libsaki is based on a layered approach.

Level Layer Name Related Directory
6 Application Layer /app
5 Operation and Observation Layer /table
4 Skill Interfering Layer /girl
3 Standard Mahjong Layer /table
2 Hand/Form Layer /form
1 Base Unit Layer /unit

It is recommended to read the following detailed documents together with their correspending source code. (We don't use doxygen since it is painful to rebuild a C++ project due to every comment change)

  1. Base Unit Layer
  1. Hand/Form Layer
  1. Standard Mahjong Layer
  1. Skill Interfering Layer
  1. Operation and Observation Layer
  • (TODO)
  1. Application Layer
  • (TODO)