Owot-js: Difference between revisions
Jump to navigation
Jump to search
(saved page) |
(some mistake) |
||
(One intermediate revision by the same user not shown) | |||
Line 18: | Line 18: | ||
For more detailed documentation and examples, visit the [https://github.com/scar17off/owot-js GitHub repository]. | For more detailed documentation and examples, visit the [https://github.com/scar17off/owot-js GitHub repository]. | ||
== Projects and scripts built using | == Projects and scripts built using owot-js == | ||
[[Gay Stickman]] | [[Gay Stickman]] | ||
[[Game of Life]] (Originally | [[Game of Life]] (Originally created by [[ChromicQuanta]], but soon rewritten in owot-js by [[scar17off]].) | ||
Marquee display | Marquee display |
Latest revision as of 23:21, 25 March 2024
The owot-js library is a comprehensive JavaScript client for interacting with Our World of Text (OWOT or OWoT) made by scar17off. It provides functionalities for tile management, chat, world editing, and more, making it a versatile tool for developers looking to create bots or automate tasks within OWOT worlds.
Features
- WebSocket Communication: Handles WebSocket connections to OWOT, enabling real-time interactions.
- Chat: Send and receive chat messages within a world.
- Tile Management: Read and write characters or strings to tiles, including color support.
- World Editing: Move the cursor, protect tiles, and create links within the world.
- Event Handling: Listen to various events such as open, close, chat, tileUpdate, fetch, and join.
Extending Functionality
`owot-js` is designed to be extensible. You can create custom functionalities on top of the provided methods, such as automated world maintenance, chat moderation bots, or creative art scripts.
For more detailed documentation and examples, visit the GitHub repository.
Projects and scripts built using owot-js
Game of Life (Originally created by ChromicQuanta, but soon rewritten in owot-js by scar17off.)
Marquee display