Code Monkey home page Code Monkey logo

Comments (5)

LinusCDE avatar LinusCDE commented on June 16, 2024 1

Cool. I'll look to do this next week.

from chessmarkable.

Sematre avatar Sematre commented on June 16, 2024 1

I just tried it on my reMarkable 2 and it works pretty good.

Thanks for all the hard work and your contributions to the open source community ❤️

from chessmarkable.

LinusCDE avatar LinusCDE commented on June 16, 2024

Hi,

this is a pretty interesting feature.

Given that the game just draws on a game, having dynamic content (which could e.g. require the user to scroll) is hard to implement since I don't use any UI toolkit.

An idea that would work, would be to have like 3 Slots to save and restore from. One could save to any of the 3 slots mid-game through the button you mentioned, and the main menu would have a selection of the starting board. The user could there choose to not start the game from scratch, but from the selected slot.

Does this sound good?

from chessmarkable.

Sematre avatar Sematre commented on June 16, 2024

You're right. I haven't thought about the need of a scrollable list.

I like the idea of having slots. That should work for the time being.

from chessmarkable.

LinusCDE avatar LinusCDE commented on June 16, 2024

Got to do the feature today.

I have though a lot about how to make the feature as intuitive as possible while also not changing to many things in the UI.

After selecting a game mode in the main menu, a user has now to choose to either continue on a slot or start over on it. The slot will be remembered and the game saved to it when quitting (renamed the "Main Menu" button to "Save & Quit").

 

When there is no savestate for a slot, the "Continue on" button will act like the "Start over on" button. This is a technical difficulty I didn't want to tackle today. Maybe I'll remove this limitation once I implement a proper button.

The savestates are saved to /home/root/.config/chessmarkable/savestates.yml by default.

screenshot3688

How do you find it. If it's good, I can release a new version with it.

Here is a binary with the newest changes. Just tranfer the unzipped binary onto the device and run it with ./chessmarkable (on rM2: rm2fb-client ./chessmarkable).

from chessmarkable.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.