HN user

SylvainCorlay

217 karma
Posts12
Comments14
View on HN

Thanks!

The crazy thing about jupyter-games is that the entire stack entirely runs in the browser (which is not possible with pygame). Jupylet looks awesome!

How to create fun, interactive games using box2d and ipycanvas in Project Jupyter.

An example of how Jupyter notebooks can be used for creative projects - like game development - while also serving as a blogging platform.

We are thrilled to introduce notebook.link, a new platform that lets you create, share, and run Jupyter notebooks instantly in your browser, with no setup or installation required. Powered by JupyterLite and WebAssembly, it supports Python, R, and C++, plus a full in-browser terminal experience.

Excellent catch.

This std::move should not have been in this code snippet. It is a copy-paste mistake, carried over from the previous code snippet of the post, and should have been omitted.

(The `std::move` does nothing in this snippet, since `sp::get_arrow_structure` takes and lvalue reference).

In the previous example with `sp::extract_arrow_structures`, which takes an rvalue reference, std::move is required and the sparrow primitive array cannot be operated upon after.