Classic Snake in Direct WebAssembly Text

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • wasm-snake

    Classic Snake in direct WebAssembly

  • All of the game graphics, state and logic are written in WebAssembly Text. The host environment (Javascript) is responsible for:

    Game tick loop

    User input

    Providing characters "0123456789GAMEOVER" byte data on game startup

    Blitting the pixel buffer to the display with WebGL2

    The game uses 3 virtual pages of memory (64kb each) for a total of 192kb. Within those exist the pixel buffer contents, the characters data and snake positions. For more detailed breakdown you can check src/snake.wat.

    The memory is shared between WASM and JS. On each game tick, the pixel buffer region of the memory is transferred to a WebGL2 texture, uploaded to the GPU and blitted to the screen.

    For more info you can refer to the repo - https://github.com/gnikoloff/wasm-snake

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Old CSS, new CSS (2020)

    1 project | news.ycombinator.com | 13 Apr 2024
  • Show HN: WebAssembly Instrumentation in the Wizard Research Engine

    1 project | news.ycombinator.com | 14 Mar 2024
  • Top 8 Recent V8 Updates

    5 projects | dev.to | 13 Mar 2024
  • No installation required: how WebAssembly is changing scientific computing

    2 projects | news.ycombinator.com | 12 Mar 2024
  • Show HN: TinyWasm – A tiny WebAssembly Runtime written in Rust

    5 projects | news.ycombinator.com | 7 Mar 2024