Spanish: WebSim Script Este repositorio contiene WebSim Script, un lenguaje de programación diseñado para facilitar la creación de juegos o aplicaciones interactivas mediante un formato de script fácil de usar y flexible. Características Sintaxis intuitiva: WebSim Script está diseñado para ser fácil de aprender y utilizar, especialmente para quienes desean desarrollar juegos o experiencias interactivas en un entorno web. Soporte para variables, condiciones y funciones: El lenguaje permite la creación de variables, estructuras condicionales y definiciones de funciones. Extensión .wss: Los scripts creados con WebSim Script tienen la extensión .wss, que está asociada con este lenguaje. Integración con herramientas web: Ideal para proyectos que requieren interacción con HTML y JavaScript. Instalación Usar WebSim Script en tu proyecto Prepara tu entorno: Asegúrate de tener un editor de texto como Visual Studio Code o cualquier editor que soporte archivos .wss para editar los scripts. Si estás utilizando Visual Studio Code, puedes instalar la extensión de WebSim Script Syntax and Icons para obtener resaltado de sintaxis y íconos personalizados para los archivos .wss. Inicia un nuevo proyecto: Crea una nueva carpeta para tu proyecto. Agrega archivos .wss donde escribirás tus scripts. Escribe tu primer script: Crea un archivo con extensión .wss y escribe tu código en WebSim Script. Ejemplo básico de WebSim Script: websim Copiar código websim.print("¡Hola, mundo!") Este simple script imprimirá el mensaje "¡Hola, mundo!" en la consola. Desarrollar y Contribuir Este proyecto es completamente código abierto y libre de derechos de autor. Puedes contribuir al proyecto realizando un fork del repositorio y enviando un pull request con tus cambios. Si deseas realizar mejoras o agregar nuevas características a WebSim Script, simplemente sigue estos pasos: Haz un fork de este repositorio. Crea una rama para tu funcionalidad o corrección. Realiza tus cambios y prueba los scripts. Crea un pull request para que tu contribución sea revisada. Reglas para contribuir Asegúrate de que tus cambios no rompan la compatibilidad con versiones anteriores. Sigue las convenciones de estilo de código utilizadas en el proyecto. Asegúrate de incluir pruebas si agregas nuevas funcionalidades. English: WebSim Script This repository contains WebSim Script, a programming language designed to facilitate the creation of games or interactive applications using an easy-to-use and flexible script format. Features Intuitive syntax: WebSim Script is designed to be easy to learn and use, especially for those who want to develop games or interactive experiences in a web environment. Support for variables, conditions, and functions: The language allows the creation of variables, conditional structures, and function definitions. .wss extension: Scripts created with WebSim Script have the .wss extension, which is associated with this language. Integration with web tools: Ideal for projects that require interaction with HTML and JavaScript. Installation Using WebSim Script in your project Set up your environment: Make sure you have a text editor like Visual Studio Code or any editor that supports .wss files to edit the scripts. If you are using Visual Studio Code, you can install the WebSim Script Syntax and Icons extension to get syntax highlighting and custom icons for .wss files. Start a new project: Create a new folder for your project. Add .wss files where you will write your scripts. Write your first script: Create a file with the .wss extension and write your code in WebSim Script. Basic WebSim Script Example: websim Copy code: websim.print("Hello, world!") This simple script will print the message "Hello, world!" to the console. Development and Contributing This project is completely open-source and free from copyright. You can contribute to the project by forking the repository and submitting a pull request with your changes. If you want to make improvements or add new features to WebSim Script, simply follow these steps: Fork this repository. Create a branch for your feature or fix. Make your changes and test the scripts. Create a pull request for your contribution to be reviewed. Contribution Guidelines Ensure your changes don't break compatibility with previous versions. Follow the coding style conventions used in the project. Make sure to include tests if you add new functionality. |