Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/munificent/game-programming-patterns
Source repo for the book
https://github.com/munificent/game-programming-patterns
architecture book c-plus-plus design-patterns game-development markdown optimization
Last synced: 2 days ago
JSON representation
Source repo for the book
- Host: GitHub
- URL: https://github.com/munificent/game-programming-patterns
- Owner: munificent
- License: other
- Created: 2013-07-13T16:38:35.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-07-21T23:27:15.000Z (5 months ago)
- Last Synced: 2024-11-26T13:07:35.567Z (16 days ago)
- Topics: architecture, book, c-plus-plus, design-patterns, game-development, markdown, optimization
- Language: HTML
- Homepage: http://gameprogrammingpatterns.com/
- Size: 123 MB
- Stars: 4,163
- Watchers: 149
- Forks: 496
- Open Issues: 93
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- my-awesome-github-stars - munificent/game-programming-patterns - Source repo for the book (HTML)
- AwesomeCppGameDev - game-programming-patterns
README
**Note: Now that the book is done, I'm not actively working on it.**
There are only so many hours in the day, and I have other projects that need my
love, including a new book. This means I'm not responding to issues and pull
requests here. However, I do intend to circle back and do a second edition at
*some* point, so please do continue to file bugs.Even though I'm not responding, I do deeply appreciate every issue filed.
Thank you!– bob
---
This is the source repo for the book [Game Programming Patterns][].
## Building the Book
The book is written in Markdown (in `book/`). A little Python script (`script/format.py`) converts that along with a SASS file (`asset/style.scss`) and HTML template (`asset/template.html`) to the final HTML (in `html/`). To run the format script locally, you'll need to have Python 2.7-ish, and install Python Markdown, Pygments, and SmartyPants:
$ pip install markdown
$ pip install pygments
$ pip install smartypantsYou may need `sudo` for those. Once that's done, you can run:
$ python script/format.py
Make sure to run this from the root directory of the repo. That will regenerate all of the chapter and section intro HTML files. If you're editing stuff, the script can also be run in watch mode:
$ python script/format.py --watch
That will monitor the file system for changes to the markdown files, SASS file, or HTML template, and reprocess them as needed.
[game programming patterns]: http://gameprogrammingpatterns.com/