Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Source repo for the book

License

NotificationsYou must be signed in to change notification settings

munificent/game-programming-patterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 mylove, including a new book. This means I'm not responding to issues and pullrequests here. However, I do intend to circle back and do a second edition atsome 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 bookGame Programming Patterns.

Building the Book

The book is written in Markdown (inbook/). 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 (inhtml/). 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 smartypants

You may needsudo 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.


[8]ページ先頭

©2009-2025 Movatter.jp