Comments (5)
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.
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.
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.
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.
Fixed by 516e76c
from ants.
Related Issues (12)
- analytic functions HOT 2
- Standardize Style HOT 1
- play button starting in pause mode. (also make it reset at end of game) HOT 1
- graphical ticker is no longer changing HOT 4
- more interesting terrain gen HOT 3
- LICENSE HOT 4
- Larger Maps / Choose map size HOT 1
- Combat HOT 3
- Faster rendering (WebGL?) HOT 5
- Mass refactoring. HOT 6
- Spawning function.
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 ants.