Skip to main content
Once you have created the starter project using the Quickstart guide, you will see two directories with the following structure:
project-name
├── demo-game  # a shard
 │    ├── component
 │    ├── event
 │    ├── system
 │    └── main.go
└── chat  # another shard
      ├── component
      ├── event
      ├── system
      └── main.go
This is the basic structure of a project with multiple Cardinal shards. The component, event, and system directories are where you will be spending most of your time. The main.go file is where everything is wired up together and is the entry point to starting your shard.
While the component, event, and system directories are not required, we encourage you to follow it as a best practice so your project is easier to organize and navigate.
In the next page, you will learn what goes into each of these files and directories.
I