Using Swift GameplayKit to achieve rendering framework independence
/In the last article we looked at providing a better (and purely Swift) implementation of GameplayKit's Entity/Component architecture. By better I didn't mean "it's Swift so it's better"... I meant better at solving the stated objectives of GameplayKit: Rendering framework independence and composition. I focused on composition last time, this time I look at how the Swift GameplayKit implementation (and Swift itself) makes rendering framework independence easy.
Read More
Even a simple text adventure contains all of the fundamentals of lexers, parsers, and interpreters. Using STLR to define the grammar, and its Swift code generation, we quickly create a simple adventure game in Swift.