Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/warycat/dotawasm
https://github.com/warycat/dotawasm
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/warycat/dotawasm
- Owner: warycat
- Created: 2020-09-17T00:44:36.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-18T01:41:27.000Z (over 4 years ago)
- Last Synced: 2024-08-05T01:11:10.242Z (5 months ago)
- Language: Rust
- Size: 1.19 MB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-seed-rs - Dota Underlord Perfect Build - An app to help build optimal deck in Dota Underlord. (Examples)
README
# **[Dota Underlord Perfect Build](https://warycat.github.io/dotawasm)**
This is a wasm web app to help you find optimal build of 10 heroes without wasted alliances in the game [Dota Underlord](https://www.underlords.com/) . Searching all the builds is a NP Hard problem and it took my iMac running on 16 cores for three whole days.
I build the previous version of the app in SwiftUI on iPhone. I experimented FFI and cargo lipo. It worked but a lot of glue code needed to hook up iOS with the my rust core library. This time I build it in [Seed](https://seed-rs.org/). I really enjoyed the auto formatting and type checking of rust when writing the html part of the app. [Serde-json](https://github.com/serde-rs/json) also works like magic when I export the data from sqlite to json and deserialized the data into rust objects.