Add Yabasic Bulls and Cows example (bulls_cows.yab) to Projects

This commit is contained in:
Luxferre committed 2026-11-02 16:27:45 +02:00
1 parent 699444d717
commit 8ae2dd3b39
6 files changed
+457 -4

No files matched your search

+2 -1
View File
@@ -5,7 +5,7 @@
They encapsulate all low-level X11 (`Xlib`), `Xft`, `Pango`, `libjpeg-turbo`, `libpng`, `.Xresources` / `~/.xthemes/*.xth` live theme resolution, offscreen `Pixmap` double buffering, standardized OS shell widgets, FIFO IPC, softkey chord handling (`Left+Right` softkey -> `xdrawer`), multi-tap T9 keypad input, and HTTP/HTTPS/TCP/TLS/UDP networking behind:
1. A **C-compatible FFI (`neoui_*`)** designed for both C programs and foreign-function interfaces (such as **Yabasic** `frnfn_call` / `frnfn_call$`, LuaJIT FFI, Janet, Python `ctypes`, etc.).
2. A **C++20 SDK (`namespace bananarchy`)** providing `ThemeSpec`, `PluginTheme`, `NeoWindow`, and direct Pango/Xft/image helpers used across all 14 built-in Bananarchy DWM plugins.
3. A **Yabasic UI wrapper library (`neoui.yab`)** preinstalled in `/home/user/Projects/neoui.yab` (and symlinked at `/usr/lib/neoui.yab`), paired with a full showcase application (`/home/user/Projects/neoui_demo.yab`).
3. A **Yabasic UI wrapper library (`neoui.yab`)** preinstalled in `/home/user/Projects/neoui.yab` (and symlinked at `/usr/lib/neoui.yab`), paired with a full showcase application (`/home/user/Projects/neoui_demo.yab`) and a playable Bulls and Cows code-breaking game (`/home/user/Projects/bulls_cows.yab`).
4. A **Yabasic networking wrapper library (`neonet.yab`)** preinstalled in `/home/user/Projects/neonet.yab` (and symlinked at `/usr/lib/neonet.yab`), wrapping `libcurl.so.4` and musl `libc` via `libffi` for one-line HTTP/HTTPS requests with custom headers as well as raw TCP, TLS, and UDP socket data exchange, paired with a combined NeoNet + NeoUI demo application (`/home/user/Projects/neonet_demo.yab`).
---
@@ -19,6 +19,7 @@ They encapsulate all low-level X11 (`Xlib`), `Xft`, `Pango`, `libjpeg-turbo`, `l
| `/home/user/Projects/neoui.yab` | `overlay/rootfs/home/user/Projects/neoui.yab` | Yabasic native C FFI wrapper module for NeoUI (`import neoui`) |
| `/usr/lib/neoui.yab` | `overlay/rootfs/usr/lib/neoui.yab` | Symlink to `/home/user/Projects/neoui.yab` so `import neoui` works from any working directory |
| `/home/user/Projects/neoui_demo.yab` | `overlay/rootfs/home/user/Projects/neoui_demo.yab` | Interactive 3-tab Yabasic showcase demonstrating all NeoUI widgets, multi-tap input, custom drawing, modals, and live theme reload |
| `/home/user/Projects/bulls_cows.yab` | `overlay/rootfs/home/user/Projects/bulls_cows.yab` | Playable Bulls and Cows 4-digit code-breaking game written in Yabasic using NeoUI widgets, scrollable guess history, modals, and haptic feedback |
| `/home/user/Projects/neonet.yab` | `overlay/rootfs/home/user/Projects/neonet.yab` | Yabasic native `libcurl` + socket FFI wrapper module for NeoNet (`import neonet`) |
| `/usr/lib/neonet.yab` | `overlay/rootfs/usr/lib/neonet.yab` | Symlink to `/home/user/Projects/neonet.yab` so `import neonet` works from any working directory |
| `/home/user/Projects/neonet_demo.yab` | `overlay/rootfs/home/user/Projects/neonet_demo.yab` | Interactive 3-tab Yabasic showcase combining NeoNet and NeoUI (`1:HTTP/S`, `2:Sockets`, `3:Tools`) |