1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-02 07:07:46 +00:00

Add Game Demo: nu-niversal paperclips (#1108)

Inspired by @kiil, this PR adds another game for exploration &
inspiration - this time, based on the seminal incremental idle game
[Universal
Paperclips](https://www.decisionproblem.com/paperclips/index2.html).

This game implements a screen drawing loop with a roughly 60FPS
framerate, asynchronous user interaction via the new `job send` and `job
recv` commands, rudimentary deltatime calculations, and the ability to
save and load state memory.

The game does not feature any of the special mechanics that emerge from
the original, though a future project may emerge to make a more 1:1
replica of the original.

I have also updated the .gitignore to make sure no one accidentally
pushes their game save to the repo after trying it out. 😃
This commit is contained in:
Mussar 2025-05-01 15:31:25 -05:00 committed by GitHub
parent 5e732dadb0
commit 16e22d07da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 268 additions and 0 deletions

2
.gitignore vendored
View file

@ -3,6 +3,8 @@
# ignore the git mailmap file
.mailmap
# nu-specific
check-files.nu
gamestate.nuon
.vscode/