https://github.com/osmo-systems/komput-800
A project to practice Svelte, Tauri, Rust, Typescript
https://github.com/osmo-systems/komput-800
Last synced: 2 months ago
JSON representation
A project to practice Svelte, Tauri, Rust, Typescript
- Host: GitHub
- URL: https://github.com/osmo-systems/komput-800
- Owner: osmo-systems
- Created: 2023-05-18T07:13:50.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-01T16:37:08.000Z (almost 2 years ago)
- Last Synced: 2025-03-09T12:30:56.121Z (2 months ago)
- Language: Svelte
- Homepage:
- Size: 267 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### What is it?
A calculus game,
- you must solve the math operations before the timer run down.
- successful answers increment the timer.
- game data are locally saved.
A training mode is available, letting you pick the operation types and the difficulty level without time pressure.In a separate window, you can assess statistics about the average duration you spend to solve x operation type at each y level.
### Why is it?
I wanted to practice the following points:
- Svelte
- Tauri
- Chart.js
- JSON Serialization in Rust### Current state:
Things works but:
- Code could be cleaned,
- UI could be improved,
- some additional features could be implemented,
- operations difficulty definitely needs smoothing.Some related features that I will look to implement:
- sending game data to a remote server.
- some sort of multiplayer/users communication.
- an "overdrive" mechanic to spice the gameplay.
- more stats options,
- save game data in a more appropriate place.### Afterthoughts:
Tauri is quite simple to get into, specially for one who is already familiar with Cargo and Vite.
Still I learned a lot of little things about Svelte, Rust deserialization and Chart.js.
While rough in its form, the game is actually good at making one better at calculus.