8Observer8

Classic Snake Example (pure WebGL, TypeScript)

Recommended Posts

Its cool that you used WebGL for this, and the code is easy to read. Nicely done.

I found bug in this example. When snake length is greater than 1 and its moving right when you press up arrow and then left arrow the game resets.

 

 

Share this post


Link to post
Share on other sites
2 hours ago, RagingPixel said:

and the code is easy to read. Nicely done.

Thank you. Could you register on Plunker, make a fork, fix the bug and post a link on your fork? I think it will be interesting and useful for you and me.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.