Comments (1)
There are a number of approaches that can be taken:
- Store the cell updates and mouse movement
- Store the left/right/both mouse interactions that have an effect, and mouse movement
- Store all left/right/both mouse clicks and movement
The above are in order of least -> most effort to reproduce the 'video', but also in order of least -> most accuracy, e.g. in the first case it's hard to reproduce the face state and mines remaining, and in the last case (raw input) everything can be fully reproduced but requires a controller to be wired up in the 'video' reproduction.
I originally went for option 2 (17c9e85), but then switched to option 1 for simplicity of creating the playback (555a8c1).
I now think we should opt for full accuracy, i.e. option 3. The current implementation should be disabled until this is completed [DONE].
Notes on options 3:
- If changes are made to any of the logic (e.g. how cells are displayed) then the playback will be different to how it looked originally (not a true video)
- Should be a more backwards compatible storage format, albeit with the above caveat
- Not compatible with either of the other options' storage format
from minegauler.
Related Issues (20)
- Reimplement base grid class
- Get server up and running again HOT 1
- Fix MacOS tests in GH actions
- Store warning/error logs separately and make available from GUI
- Experiment with the old 'distance-to' feature
- Provide styles via 'themes' HOT 3
- Fix errors from pylint/mypy HOT 4
- Write up documentation for the app HOT 1
- Flagging proportion handling for multiple mines per cell
- New game mode: moving cells
- Stop writing test logs to runtime.log
- Add highscores for split-cell mode
- Split-cell mode performance improvements
- Code signing HOT 1
- unable to install requirements-dev.txt HOT 1
- No module named mysql HOT 2
- Probability enhancements
- Fix pyinstaller setup with zig minesolver dependency
- Pipeline for creating a release is broken
- Pyinstaller broken for macOS HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minegauler.