2D snake client of Web Plays Snake for Open Web Desktop
Try it out, just open the terminal and type "snake"
- A 2D client for Web Plays Snake that connects through the Server-Sent Events API
- Play from the terminal, send "snake" for available commands (requires owd-terminal)
- Move to your client folder, then
# Install this module with Npm npm install https://github.com/hacklover/owd-app-snake # Or using Yarn yarn add https://github.com/hacklover/owd-app-snake
- Define this module in
owd-client/client.extensions.ts
import AboutModule from "@owd-client/core/src/modules/app/about"; import DebugModule from "@owd-client/core/src/modules/app/debug"; import SnakeModule from "owd-app-snake/client"; export default { app: { modules: [ AboutModule, DebugModule, SnakeModule, ] }, ...
- Add this to
owd-client/vite.config.ts
optimizeDeps: { include: ['p5'] }
- Copy the content of the client/config folder into
owd-client/config
- p5
- Open Web Desktop client v2.0.0-beta.1
This project is released under the MIT License