# BCI RPG ![Placeholder image for logo, photo of Brain-computer interface, EEG, OpenEEG, VR, and other equipment plus RPG Research and RPG.LLC brochures, on battlemat grid](https://www.bcirpg.com/images/bci-rpg-eeg-openbci-montage-1b-img_0073-1817w1024h-30pct.jpg/@@images/2cd98a35-f1ba-4c19-8233-64c410d4c936.jpeg) Original Creator: Hawke Robinson (W.A. Hawkes-Robinson) Now many other contributors, especially the wonderful volunteers at RPG Research (see Acknowledgements for list). The BCI RPG is an accessible, online, turn-based, cooperative, social, multiplayer, role-playing game platform. Although supporting regular device (mouse, keyboard, etc.) interaction, the BCI RPG is designed from the ground up to be 100% usable with alternative Human-Machine Interfaces (HMI) "with just your thoughts", by supporting various combinations of non-invasive Electroencephalogram (EEG), Electromyogram (EMG), electrooculogram (EOG), Brain-computer Interface (BCI) neurotech (like OpenBCI, NeuroRPG, and others) and related "accessibility" technologies combined with optional Machine Learning (ML), Automatic Speech Recognition (ASR), Natural Language Processing (NLP), Virtual and Augmented Reality (VR & AR), the Matrix.org Chat & Data, and Artificial Intelligence (AI), the BCI RPG opensource volunteer community at the non-profit RPG Research is striving to build the ultimate in role-playing game accessibility for everyone. We're using neurotech (neuroscience based technologies) so that players can play a multiplayer, social, live, turn-based, cooperative, role-playing game online, just by thinking! Donate or Volunteer Today! Additional technical and financial support is provided to this project by the for-profit organization RPG Therapeutics LLC through their NeuroRPG products and services. ## Brain-Computer Interface Role-Playing Game BCI RPG, an accessible online platform, actively redefines the landscape of role-playing games as a turn-based, cooperative, social, multiplayer experience. This platform, while fully compatible with conventional devices like mice and keyboards, primarily stands out for its groundbreaking design. It enables complete operability through a variety of Human-Machine Interfaces (HMI), allowing players to control the game using only their thoughts. This functionality stems from its support for a wide range of non-invasive neurotechnologies, including Electroencephalogram (EEG), Electromyogram (EMG), electrooculogram (EOG), and Brain-computer Interface (BCI) technologies, notably OpenBCI and NeuroRPG. In its commitment to ultimate accessibility, BCI RPG integrates advanced "accessibility" technologies, utilizing Machine Learning (ML), Automatic Speech Recognition (ASR), Natural Language Processing (NLP), Virtual and Augmented Reality (VR & AR), Matrix.org Chat & Data, and Artificial Intelligence (AI). The RPG Research, a dedicated non-profit volunteer community, drives this initiative, aiming to deliver the most accessible role-playing game experience available. By harnessing neurotech, which draws on neuroscience-based technologies, BCI RPG enables players to immerse in a multiplayer, social, live, turn-based, cooperative role-playing game online, controlled purely through thought. To support this groundbreaking project, we encourage donations and volunteering. RPG Therapeutics LLC, a for-profit organization, also plays a crucial role by providing substantial technical and financial support through their NeuroRPG products and services. ### Electronic Role-playing Game (ERPG) development efforts by the RPG Research community ... ... # Brain-Computer Interface Controlled Role-Playing Games ... ... # Introduction RPG Research is a huge advocate for accessibility and inclusiveness in gaming. Not only through all of our training, advocacy, and accessible mobile facilities, but through our active projects to make gaming accessible to all. RPG Research is a 501(c)3 100% volunteer-run non-profit research charitable research and human services organization. More about RPG Research. * New Main BCI RPG website: https://bcirpg.com * Old Main website: https://www.rpgresearch.com/bcirpg * The opensource github repository: https://github.com/RPG-Research/erpg * The project Wiki: https://github.com/RPG-Research/erpg/wiki * Gitea Mirror (may migrate project to this in future): https://git.dev2dev.net/RPGResearch/bcirpg # Background History RPG Research's founder, Hawke Robinson, was first involved with role-playing games in 1977, softwware development starting around 1978, and online since 1979. He began software development and engaging in the online community in 1979 (through the early pre-Internet ARPANET and dial-up access via the University of Utah) and various BBSes. He has been involved with VR equipment and software on and off since the late 1980s using Amigas, VRML websites in the 90s, (still has working Amiga 2000) and other equipment over the decades. Developed Virtual-Reality Markup Language (VRML) websites in the mid-to-late-90s. Experimenting with early VR and AR in the late 90s and early 2000s with early PDAs and "smartphones" long before iOS and Android existed (Nokia, Palm phones, etc), combined with early location and GPS technologies. Experimenting with biofeedback and bio-controlled devices since 1996 (a la mouse cursor controlled by single fingertip clip for example). Since about 2005 working on integration of electroencephalogram (EEG) and later brain-computer interface (BCI) equipment with computers, mobile devices, VR, and AR. Experimenting with a wide range of VR and AR hardware and software, including used in educational, artistic, social, and therapeutic programs. BCI RPG is an opensource Brain-Computer Interface controls supported social multiplayer Role-Playing Game able to be played through brainwaves (aka just your thoughts). Created by "The Grandfather of Therapeutic Gaming", Hawke Robinson is Executive Director and founder of the 501(c)3 non-profit RPG Research. Both our founder and the organization are huge advocates for accessibility and inclusiveness. Our founder's background in nursing, recreation therapy, gaming, neuroscience, music, and more has inspired his decades-long endeavor to using non-invasive neuro-and-bio technologies for people with accessibility issues, as well as enhanced experiences for the general public. Our founder was first involved with role-playing games in 1977. He also began software development and engaging in the online community in 1979 (through the University of Utah) and various BBSes. He has been involved with VR equipment since the late 1980s using Amigas (still has working Amiga 2000) and other equipment over the decades. Developed Virtual-Reality Markup Language (VRML) websites in the mid-to-late-90s. Experimenting with early AR in the late 90s and early 2000s with early PDAs and "smartphones" long before iOS and Android existed (Nokia, Palm phones, etc), combined with early location and GPS technologies. Experimenting with biofeedback and bio-controlled devices since 1996 (a la mouse cursor controlled by electromyogram (EGM) controlled single fingertip clip for example). Since about 2005 working on integration of EMG and electroencephalogram (EEG) and later brain-computer interface (BCI) equipment with computers, mobile devices, VR, and AR. Experimenting with a wide range of VR and AR hardware and software, including used in educational, artistic, social, and therapeutic programs. Improving RPG Accessibility For Everyone RPG Mobile Fleet: https://rpgmobile.com Improving Introductory Play and Accessibility to RPG: https://w3.rpgresearch.com/blog/breaking-down-the-rpg-barriers-to-entry-with-bfrpg frequently-asked-questions-about-the-lockedin-syndrome-3-6388b2b1a.pngWe support accessibility not only through all of our training, advocacy, and accessible mobile facilities, but through our active projects to make gaming accessible to all. RPG Research is a 501(c)3 100% volunteer-run non-profit research charitable research and human services organization. More about RPG Research. Main website: www.bcirpg.com - alias: https://www.rpgresearch.com/bci-rpg Moved project name from erpg to bcirpg. New open source Github source code repository is now: https://github.com/RPG-Research/bcirpg was The opensource github repository: https://github.com/RPG-Research/erpg The project Wiki: https://github.com/RPG-Research/erpg/wiki ## Using RPGs for Brain Injury Recovery (Activating Maximal Neuroplasticity) PDF: https://www.academia.edu/18120187/Presentation_Using_Role_Playing_Games_in_the_Treatment_of_Traumatic_Brain_Injury # Officially Authorized Commercial implementation of BCI RPG This is an open source project, so as long as they comply with license, anyone can build on this with attribution, etc. However, only a few are "officially" acknowledged as known projects, and should have a higher level of safety, and especially for giving back to the open source community, rather than just taking and not giving back, as has happened all too much in recent years across many open source projects. The following have asked and officially been acknowledged as commercial implementations of the BCI RPG: * RPG Therapeutics LLC's NeuroRPG * ... # LIS & CLIS - Locked In Syndrome and Complete Locked in State ![Locked-In Syndrome or Complete Locked-In State (LIS/CLIS) image with range of impairment listed on sprectum.](https://www.bcirpg.com/images/frequently-asked-questions-about-the-lockedin-syndrome-3-6388b2b1a.png/@@images/655ae6b8-b466-4989-bc95-6bb7c984be7f.png) Our founder was dramatically motivated to try to find a solution for those people suffering from Locked-in Syndrome (LIS) and Complete Locked-in State (CLIS), starting with caring for a young adult in 1990 as a nurse's aide and LPN trainee, at Doxie Hatch Medical Center, and additionally for many others with various injuries and neurological disorders as a habilitation therapist at Hillcrest Care Center. Ever since he has wanted to figure out a way to use technology to help them reconnect socially, set them free of their physical prisons of the active minds trapped in their bodies, and gain back some of their lives. The goal, and real-world metrics test, is if someone with profound disabilities, including experiencing locked-in syndrome (LIS) or complete locked-in state (CLIS), can be freed from their prison to engage socially in complex multiplayer social cooperative problem-solving role-playing games. Program phases and updates on our live streams and Github: https://github.com/RPG-Research/ # Ultimate in RPG Accessibility and Immersion The ultimate in accessibility potential is through the Brain-Computer Interface (BCI) technologies based on Electroencephalogram (EEG) technologies, integrating with AR & VR, (and eventually back into the physical world through robotics), literally allowing a person to interface with computer systems purely with the thoughts of their brain. Also, when linked with haptics, robotics, AR, VR, and other technologies it is the potential in ultimate immersive experiences. We have been hard at work experimenting with EEG and BCI equipment with music and RPGs since 2004. Since 2019 our research and development team have been working on Project Ilmatar - https://github.com/rpgresearch/erpg/wiki - an opensource, online, multiplayer, turn-based, cooperative-play, electronic, role-playing game designed from the ground up for maximal accessibility including BCI control support. Update Fall 2020, migrated to organization Github, moving our content from the previous individual Git: https://github.com/RPG-Research As usual, our projects are little-known, long-running, and have almost no funding. It is thanks to our wonderful volunteers worldwide that we accomplish anything. We hope some day perhaps to have more support financially, but for now we keep leading in innovations thanks to the wonderful efforts of these generous people helping a few hours every week, and we share openly with the world in the truest form of opensource, following our philosophy of "the rising tide of shared knowledge floats all boats" to help improve the human condition globally. While the software is free, the hardware we have to purchase to realize this technology fully is expensive. We are currently utilizing OpenBCI which still costs from hundreds to even thousands of dollars per headset. The RPG Research board approved $2,500 USD to purchase the full R&D bundle from OpenBCI. We are now working from two directions. The software side and the hardware side, working toward full integration. We also hope to loop back from the virtual world and integrate robotic devices controlled through BCI equipment to enable participants with disabilities to more fully engage in all role-playing game formats. We stream the development meetings live each week on Saturdays from 10 am to Noon PST8PDT: https://youtube.com/rpgresearch If you miss the live stream, Patreon supporters get access to the recorded videos at least a month before the general public as a thank you for their donation support. https://patreon.com/rpgresearch # High-level Roadmap Development Phases ## Phase 0 - EEG I/O controllers in NWN on LInux learn basics of EEG, bio-and-neuro feedback, and computer interaction, then attempt to replace regular keyboard or other I/O controls for PC-based video game (preferably on Linux due to more flexiiblity of I/O controls) and play game with only EEG and/or bio-monitoring inputs. Start with NeverWinter Nights on Linux. - COMPLETE ## Phase 1 - Game design prototype in NWN:EE on LInux with EEG/BCI for I/O Train new development team on game dev concepts desired with prototype use of Aurora Toolset for NWN. Create new adventure module that will be used as test bed for future prototypes. Choose Shakespeare's The Tempest.. Experiment with controls using EEG and BCI equipment with the Enhanced Edition Neverwinter Nights on Linux. COMPLETE. ## Phase 2 - Game from scratch TUI version BCI I/O online turn-based mutiiplayer Create from scratch a text-only multiplayer online turn-based cooperative RPG that can be played with only OpenBCI (or similar) equipment. - Currently nearing end of design and documentation steps, and starting actual coding steps. Will use GUI tools with GoDot engine fhe the GM tools, but play must be all TUI and able to be run with the simple inputs of OpenBCI. Use the same adventure bluebrint as Phase 1. Begin incorporating components from the AI RPG and AI GM (ai-rpg.com) projects as needed, especially for NPCs/Creatures, but also options for PCs, world sociopolitical, events, ripple effects from PC actions, etc.- CURRENTLY IN ACTIVE DEVELOPMENT. ## Phase 3 - Add GUI Add basic graphics real-time gaphics or pre-recorded action videos triggered like Dirk the Daring from Dragon's Lair - on top of existing TUI-based game. August 2021: The GUI development has begun for the GM, adventure module, content creation, and server administrator tools. We are remainging with TUI interface for players for now. ## Phase 4 - Add VR Add VR option to the graphical interface. ## Phase 5 - Add AR+ Add AR, GPS, global world location play to game. If viable include "holographic" UI options so no glasses, etc. required. ## Phase 6 + Add Physical local realm interaction Migrate BCI tools to work in physical world through robotics and wireless triggers so can interace with combination of AR and physical devices, including manipulating dice roller devices, robotic arms to pick up and move objects, move miniature tokens around enhanced by AR overlaid animation, so LIS/CLIS can play at the same physical table or larp with other players in the same physical location, not just online. # Phase 0 (completed) 2006 - 2014 OpenEEG NeverWinter Nights (NWN) Diamond Edition on Linux controlled by OpenEEG equipment. Basic control of PC movement. Routing of I/O through OpenEEG 5 channel headset. Began 2006, functional by 2010, stopped working on it by 2014. Very rudimentary movement, and on/off menu (or other on/off assigned hotkey) mapped and working. Not sufficient for LIS/CLIS, but helpful for some disabilities. Very high latency and error rate however. Need greater resolution of signal, frequency ranges, more CPU power. OpenEEG and civilian system power still leaving something to be desired, but getting closer. Not sufficient for AR/VR addition however. # Phase 1 (completed) 2019 - 2020 NeverWinter Nights (NWN) Enhanced Edition (NWN:EE). Using Windows for Aurora Toolset module development. Not using EEG or BCI equipment at this phase. Creating prototype adventure that will be used in Phase 2 onward for baseline R&D. Development prototyping and team training / team building, ue NWN:EE Aurora Toolset to create custom adventure. Began August 2019, completed August 2020 successfully (still adding enhancements over time). Later see if newer generation OpenBCI can be used. # Phase 1b - (in-progress) - OpenBCI Is it possible to configure OpenBCI to run this game at, or better than, OpenEEG did for NWN Diamon Edition in Phase 0? - Yes. It is not expected that full functionality, or multiplayer features will work. But hoping that the 16-channel higher quality setup may make solo play viable. - Yes, especially if taking menu-driven approach rather than free-range movement approach (at least initially). # Phase 2 (in-progress) 2020 - Current Scope and build from ground-up electronic role-playing game (ERPG) that can be controlled by accessibility equipment, especially newer generation EEG/BCI equipment, such as the OpenBCI hardware (among others). ## OpenBCI ... ## GoDot ... ## Text-based UI (TUI) ... ## Brain-computer Interface controlled text-only turn-based menu-driven. ... ### BCI RPG Game player, Player Text User Interface # Features Scope Electronic role-playing game that can be played with many different adaptive devices but MUST be fully playable (without chat) using only the human brain of the player(s) (BCI). Ultimately must be playable by LIS/CLIS population. ## BCI-controlled ## Online ... ## Multi-player ... # Cooperative Team-focused ... ## Turn-based Turn-selection process in noncombat situations for online multi-player turned based life real-time brain-computer interface controlled role-playing game. ## Initially text-only - Later add GUI, AR, VR, and Robtic interfaces ... ## Cross-platform At a minimum must be playable on: * Linux * Windows * Mac * Online web browser * Android Nice-to-have's but not required: * iOS * Consoles * AR devices * VR devices ## Menu-driven Due the goal of being playable by LIS/CLIS participants purely through BCI, and since BCI text pick lists are so slow, the game needs to be BCI menu-driven, rather than typed text or keyboard controller driven. A BCI text pick list feature can be added later for chatroom functionality if someone wants to take on adding that feature at some point. ## Non-QWERTY-chat-based social interaction (use other chat solutions as needed) (not a MUD/MUSH/MOO) ## Use the [matrix]? Potentially using Matrix-synapse as underlying network communication infrastructure, especially for chat ## Opensource # HISTORY Began scoping Phase 1 in August 2019, currently actively in progress. Meeting weekly (broadcast live). Estimate this phase completion around August 2021 (potentially sooner if current development momentum maintained by team). Supports Game Master (GM) tools to participate in the game in DM roles with the players during the live game. Ability to pause game, save game, restore game. Supports multiple genres (player selected). Multiple underlying RPG systems (player selected). Phase 2b Toolset provided for potential game master to create new adventures (does not need to meet BCI requirements for toolset). Phase 2c - Replicate the NWN Tempest adventure using our Toolset to play in the BCI RPG (text-based play) More scope details and full documents in Brain Computer Interface Role-Playing Game BCI RPG Github repository. ## PC / NPC interaction dialog menues for BCI RPG text-based wireframe and example flow ## d20 RPG extended conflict overview flowchart. Included Dungeons & Dragons 5th edition (D&D 5e), and open d20 variants. ## General UI for BCI RPG ## Graphical User Interface (GUI) for server management of BCI RPG. The use case assumes players are in LIS CLIS, but that DM / GM / Therapist or server admin are able to use full GUI for server administration. ## Phase 2b - Develop Module Creation Tools with UI (in-progress) The module creation toolset is not designed for BCI or LIS/CLIS users. The assumption is that Game Master / Dungeon Master, Educator, or Therapist will use this toolset to create new custom adventures (like the Aurora Toolset is used to create adventures for NWN). This requires full graphical tools at this point. (Would love down the road to create a BCI-controlled toolset, but that is much more advanced than our current team is ready for. Hopefully we can circle back to this down the road. # Phase 2c - Create Tempest Adventure Using New Custom-built Toolset (pending) In Phase 2 all the basic play mechanics, and the module creation tools are built. # Phase 3 (in-progress August 2021) Add graphical interface (instead of just text interface) with audio and video pre-recorded events tied into the text-based events (a la Dragon's Lair). Later add more dynamic graphics/audio/video for smoother experience.Planned to begin early hooks around late 2021. # Phase 4 (pending) Add VR integration, motion integration, while still fully supporting BCI play. Include accessibility settings for VR for people with very limited or no physical mobility of their own (various drivers from third-parties hopefully to integrate, do not want to have to develop those drivers ourselves). # Phase 5 (pending) Add AR integration, GPS integration, with mobile devices and headsets, while still fully supporting full BCI play. # Phase 6 (pending) Bring accessibility BCI RPG back to the tabletop. integrate robotics equipment controlled through the BCI controls of the game play enable rolling physical dice moving physical miniatures Integrate "holographic" experiences with robotics, AR, etc. and other features through the BCI control But in a TRPG environment rather than online ERPG (but using the tools and code created for this now more well-rounded continually evolving ERPG as the tools to enable TRPG play). Your donations mean that more people can have access to our free programs. Please to help us with these efforts.