Simulador LEGO SPIKE traduït a català, valencià i castellà (fork de alexandrehardy/lego-spike-simulator)
  • TypeScript 80.1%
  • Svelte 19.5%
  • JavaScript 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Samuel Soriano 162616f961 Add Catalan, Valencian and Spanish translations
Translate block messages, dropdown labels, toolbox categories and the
interface through src/lib/i18n. Language comes from ?lang=, saved
preference or the browser, with a selector in the top bar.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 11:27:44 +02:00
src Add Catalan, Valencian and Spanish translations 2026-10-20 11:27:44 +02:00
static Add a print mode for printing code 2025-06-07 10:58:41 +02:00
website Update basic readme 2026-03-18 21:27:37 +02:00
.gitignore Blockly imports work correctly now that we have removed svelte-kit builds 2024-11-03 19:47:31 +02:00
.npmrc Initial commit 2024-10-14 21:32:06 +02:00
.prettierignore Initial commit 2024-10-14 21:32:06 +02:00
.prettierrc Update prettier config 2024-10-18 17:14:47 +02:00
AGENTS.md Add Catalan, Valencian and Spanish translations 2026-10-20 11:27:44 +02:00
COPYING.md Format fixes 2025-04-28 21:27:45 +02:00
eslint.config.js Update prettier config 2024-10-18 17:14:47 +02:00
index.html Update title and icon 2024-11-06 13:51:06 +02:00
package-lock.json Update browser list 2025-04-10 22:01:54 +02:00
package.json First part of VM implementation, can display strings 2024-12-05 22:23:20 +02:00
postcss.config.cjs Lint fixes 2024-11-04 08:43:23 +02:00
README.md Add Catalan, Valencian and Spanish translations 2026-10-20 11:27:44 +02:00
svelte.check.tsconfig.json Start parsing spike files 2024-11-06 22:27:03 +02:00
svelte.config.js Remove svelte-kit so we can do a single page build to avoid CORS issues 2024-11-03 14:00:35 +02:00
tailwind.config.cjs Lint fixes 2024-11-04 08:43:23 +02:00
tsconfig.json Start parsing spike files 2024-11-06 22:27:03 +02:00
vite.config.ts Remove svelte-kit so we can do a single page build to avoid CORS issues 2024-11-03 14:00:35 +02:00

EduTicTac · Simulador LEGO SPIKE

Fork de alexandrehardy/lego-spike-simulator mantingut per la Comunitat EduTicTac. Afig la interfície i els blocs en català, valencià i castellà (a més de l'anglès original).

  • Versió publicada: https://pages.edutictac.es/Edutictac/lego-spike-simulator/
  • Idioma: paràmetre ?lang=ca|va|es|en, selector a la barra superior o idioma del navegador.
  • Traduccions: src/lib/i18n/ (claus = text original en anglès; va.ts només conté les diferències amb ca.ts).
  • Publicació: npm run build i copiar dist/ a la branca pages (vegeu AGENTS.md).

Llicència GPL-2.0, igual que l'original (vegeu COPYING.md).


Welcome to the lego-spike-simulator project. The aim is to provide an environment where LEGO spike robots can be simulated and the code tested before uploading to a real LEGO spike robot.

The environment currently only supports the blockly based programming language.

The simulator allows lego format llsp3 programs to be loaded and saved, and can load robots in the ldraw format (ldr and mpd extensions). Port connectivity can be specified, and saved into a robot to be loaded again at a later time. A basic scene can be setup using images for a base map and ldraw objects for obstacles in the scene.

There is very limited physics at the moment, focussed on moving a wheel base with a specific gearing.

The system is currently available at http://spike.ahardy.za.net/. However, the system can be built locally and executed directly from files, so no webserver is required. The software can run completely from the web browser.

Screenshots

Start screen

Code loaded

Preparing to open a robot

Robot view

Port connector

Opening a scene

Running simulator

Robots

Driving base 3

Scenes

WRO In house 2025 Level 1