TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Practical, Pure Functional Game Engine

29 pointsby DrDimensionover 10 years ago

2 comments

roryokaneover 10 years ago
I think you should add a code example to the README, to communicate the flavor of the engine. Seeing code reassures me that the engine and its API is not unnecessarily verbose. `BlazeDispatchers.fs`’s `EnemyModule.tickHandler (<a href="https://github.com/bryanedds/FPWorks/blob/master/BlazeVector/BlazeVector/BlazeVector/BlazeDispatchers.fs#L83-L89" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;bryanedds&#x2F;FPWorks&#x2F;blob&#x2F;master&#x2F;BlazeVector...</a>) would be a good example, as it also demonstrates the engine’s functional style of being passed and returning a `world`. You should also link to the folder <a href="https://github.com/bryanedds/FPWorks/tree/master/BlazeVector/BlazeVector/BlazeVector" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;bryanedds&#x2F;FPWorks&#x2F;tree&#x2F;master&#x2F;BlazeVector...</a> right below the code snippet so that people can easily see more code examples and see the structure of a whole program’s code.<p>Also, after reading that you have a custom Ianguage (Aml), I wanted to see what code looks like in this language, but I couldn’t find any code examples. I even downloaded `AmlSpec.rtf`, but all I saw when scanning through it was one-line examples to show the syntax, not real examples that show when and why you would use it. If you have examples, you should link to them from where you talk abut Aml in the README.<p>(I also created a pull request to improve the formatting in `AmlSpec.rtf`: <a href="https://github.com/bryanedds/FPWorks/pull/6" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;bryanedds&#x2F;FPWorks&#x2F;pull&#x2F;6</a> .)
评论 #8346712 未加载
DrDimensionover 10 years ago
Currently it&#x27;s only 2D due to scoping decisions, but could do 3D no sweat if I could find the resources :)