Chapter: Game development

1. Game development guidelines for CTGames

This chapter provides general guidelines for the development of CTGames games. The sections in this chapter are arranged in a suggested reading order.

See also

Chapter “Template game explained” explains how to get started programming a command-line CTGames game.

Chapter “Command-line games” documents the programming interface for the CTGames framework with respect to command-line games.

Chapter “Web app games” provides guidelines for how to turn a CTGames command-line game into a web app.

1.1. Overview of the chapter

1.1.1. Before starting game development – one-off tasks

The section “Before starting game development” explains tasks that should be performed after a successful installation. It should not be necessary to perform these tasks a second time unless you move your cloned git repository to a different location on your computer.

1.1.2. CTGames code style

The section “CTGames code style” sets out the Python coding style for CTGames developers.

1.1.3. Guidelines for interacting with the CTGames git repository

The section “Guidelines for interacting with the CTGames git repository” explains how to interact with the CTGames git repository and CTGames framework during game development.

1.1.4. Creating a new game

The section “Creating a new game” sets out how to create a new game from a template.

1.1.5. Resources

The section “Game development resources” collects resources common to both command-line and web app game development.