This is an old revision of the document!
Table of Contents
projects:pokerface
Pokerface
User Guide
Facial expressions drawn from numeric values for components of feelings… artificial feelings of a robot or LLM chatbot.
keyboard shortcuts
- ctrl-k - toggle the HUD on and off
- ctrl-q - start and stop the macro recorder
- ctrl-p - playback the current macro
chat commands
- focus 20 (0/100)
- pleasure 70 (0/100)
- hud 0 (0/1)
Developer Guide
Source code: https://gitlab.com/voyc/pokerface
Version History
2026 Jun 11 - merged blend branch. Integrated
revised files index.html - js code and css style data moved out pokerface.js - slider control removed, dom creation and layout removed, now focused on drawing controller.js - renamed from PokerFaceController.js, drives the gui input sliders
new files main.js - the default script, contains startup code previously in index.html pokerface.css - contains style specs previously in index.html engine.js - generic command-driven architecture, with macro recorder, and chat interpreter poker.js - state, command table, command handlers, specific to this app, for use with engine.js test-suite.js - automated tester called by node.js from within aider package.json - manifest file for use with test-suite.js
all programs upgraded to modern js use let or const instead of var use class instead of function with prototype all js files are now modules and use import and export load scripts with defer