Email or username:

Password:

Forgot your password?
43 posts total
⛧ esoterik ⛧

people have asked how to handle unicode/utf-8 in #uxn

there isn't a complete picture but we're starting to put some pieces together.

here's a tool that can export blocks of 256 code points from unifont [0] into UF2 format [1]: paste.sr.ht/~d6/d48f9bf99322b9

here's CJK punctuation, hiragana, and katakana: paste.sr.ht/~d6/09ef6f714a857c

and here's support by @neauoire in m291 for latin and cyrillic: git.sr.ht/~rabbits/uxn-utils/t

[0] en.wikipedia.org/wiki/GNU_Unif

[1] wiki.xxiivv.com/site/ufx_forma

people have asked how to handle unicode/utf-8 in #uxn

there isn't a complete picture but we're starting to put some pieces together.

here's a tool that can export blocks of 256 code points from unifont [0] into UF2 format [1]: paste.sr.ht/~d6/d48f9bf99322b9

here's CJK punctuation, hiragana, and katakana: paste.sr.ht/~d6/09ef6f714a857c

⛧ esoterik ⛧

Inspired by @neauoire’s recent post I took a crack at my own version of paradise. Drawing is sloppy but choosing to keep it anyway.

⛧ esoterik ⛧

on october 20th i'll be giving a lightning talk called "Uxn: Permacomputing & Roguelikes"

roguelike.club/event2024.html

(i'm also putting together a roguelike demo that i hope to have ready to show by then)

Devine Lu Linvega

@d6 ticket, got.

⛧ esoterik ⛧

if you've struggled to program music using uxn/varvara, this file might help you to get started: git.phial.org/d6/nxu/raw/branc

it deals with some of the common pitfalls around timing and de-sync. it still won't be easy but at least it might be easier? 😅

⛧ esoterik ⛧

kodiak version 1 is done!

there are still some things i'd like to add later but for a #uxn solitaire game this is fairly complete.

splash screen ✔️
animations ✔️
automatic moves ✔️
music ✔️

get the ROM and source code here: git.phial.org/d6/kodiak

Tomáš

@d6 Why is it so hard, or am I just stupid?

I love it so much though.

Devine Lu Linvega

@d6 oh my! this is so great. Could you make a patch to some of the repos? I think this would be good for everyone to have around :uxn:

Devine Lu Linvega

@d6 I AM LOVING THIS THING

I think the non-imm opcode proper is BRK, it could be BRK*

* has no modes.

⛧ esoterik ⛧

my #uxn klondike game ("kodiak") is finally working!

git.phial.org/d6/kodiak/

it is very stripped down (no splash screen, no sounds, no animations, no fun) but it's complete enough that i just won my first game!

some small known issues/clunkiness but it should be playable if you want to try it out.

cc @neauoire @tbsp

tbsp

@d6 @neauoire Looks fantastic! So glad to see this moving forward.

Kapunta

@d6 impressive!

there's an issue with the mouse at least on mobile, it seems. when the finger is released, the game thinks that the card is still dragged, so when you tap anew, the card behaves weird

⛧ esoterik ⛧

it seems like the name "impatience" has already been used by many, so the new working title for my #uxn klondike program is "kodiak"

it's still very rough but at least the layout should be recognizable

Show previous comments
bouncepaw 🍄

@d6 oh hey, you're actually doing it!

rezmason

@d6 What a coincidence! I'm also about to make a Klondike game, though not on UXN.

By any chance, have you looked into the ways games guarantee or increase the likelihood of a path to victory?

⛧ esoterik ⛧

come to [a-z]{3}langs! we've got:

- conlangs
- esolangs
- catlangs
- doglangs
- batlangs
- exolangs
- mislangs
- sublangs
- etclangs...

⛧ esoterik ⛧

finding rational approximations of pi using #modal, no big deal

⛧ esoterik ⛧

this is not as cool as i had hoped because it just hardcodes the first 14 terms of the continued fraction for pi, i.e. 3, 7, 15, 1, 292, 1, 1, 1, 2, 1, 3, 1, 14, 2, 1, 1

oeis.org/A001203

(i did implement a generalized continued fraction which isn't hardcoded, but (A) it converges much more slowly and (B) it doesn't actually find the "best" convergents (e.g. 355/113) so it just didn't seem very useful.)

⛧ esoterik ⛧

#netbsd 10.0 featuring fvwm, uxnemu, xterm, conky, xclock

⛧ esoterik ⛧

i have rational numbers mostly-implemented in modal.

example:

> (str (mul (Q (+ sixteen ten)) (Q (- sixteen ten))))
...
57 ()-terminated list -64/25

git.phial.org/d6/modal/src/bra

i just can't seem to stop. i think computable real numbers will be possible too.

⛧ esoterik ⛧

here's the current version of binary arithmetic on natural numbers in #modal:

paste.sr.ht/~d6/92210f8df9c7fe

supports:
- comparison
- addition/subtraction
- summation
- multiplication/division/remainder
- exponentiation
- gcd/lcm

still some rough edges but it works well for fairly large numbers. on my machine it takes about 33s to compute 13^13; there is still a lot of room for optimization.

⛧ esoterik ⛧

language by @wryl

website describing modal by @neauoire: wiki.xxiivv.com/site/modal

implementation i'm using: git.sr.ht/~rabbits/modal

VOLTUR (with the good hair)

@d6 oh, very nice!

(wryl)

@d6 This is quite beautiful. Thank you for writing this!

⛧ esoterik ⛧

spent an hour playing with modal [1] and now i have a partial implementation of little-endian binary numbers (comparison, addition, and multiplication):

paste.sr.ht/~d6/caa78ae7cb0835

[1] wiki.xxiivv.com/site/modal

Devine Lu Linvega

@d6 Oh wow! Seeing your magic touch with modal makes me so happy! Do you use nil as a type marker? @wryl also started exploring binary representation and arithmetic, have a look! paste.sr.ht/~rabbits/a49d01434

⛧ esoterik ⛧

"i'm fine" i tell myself as i continue to scroll through the R⁷RS [1] standard.

[1] Revised⁷ Report on the Algorithmic Language Scheme (r7rs.org/)

mcc

@d6 In your opinion is this a good scheme

Ross A. Baker

@d6 I studied R5RS in school, and while it's just two more, that "7" hit me like a truck.

⛧ esoterik ⛧

lisp 🤝 forth
allowing dashes in names

⛧ esoterik ⛧

PR to add uxntal to github's linguist library: github.com/github-linguist/lin

in addition to github this library is also used by codeberg, forgejo, gitea, and other systems. having uxntal support there will be nice.

Go Up