Coder Social home page Coder Social logo

Refresh Button Confusion about ants HOT 5 CLOSED

queens-hacks avatar queens-hacks commented on June 15, 2024
Refresh Button Confusion

from ants.

Comments (5)

jpittis avatar jpittis commented on June 15, 2024

Play also has strange behaviour when the game is over. If you press play while on the win screen, the ants start marching again. Maybe fix that bug and make play the same button as pause? have them toggle the icon showing?

from ants.

epilk avatar epilk commented on June 15, 2024

I think what we really need to do is make it clear to users that the text is in a buffer. Maybe we could make an explicit upload button in addition to refresh? If that's too many buttons we can merge pause and play together since their use is mutually exclusive.

from ants.

mystor avatar mystor commented on June 15, 2024

How about marking the text editor as read-only while running. We then have one play/pause button, and a reset button. If you change the text in the textbox, the play button will be disabled (grey it out?). That way the code running the game always matches the code in the box?

from ants.

MaxBittker avatar MaxBittker commented on June 15, 2024

play and pause as the same button is a good idea. I think a fitting a small explanatory warning like "press refresh to run your new code" somewhere that's visible whenever old code is running would prevent user confusion, without limiting people from making changes while they watch their old iteration

from ants.

jpittis avatar jpittis commented on June 15, 2024

Fixed by 516e76c

from ants.

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.