Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rethink endTurn(); yield(); #8

Closed
chrisdembia opened this issue Jan 9, 2014 · 2 comments
Closed

Rethink endTurn(); yield(); #8

chrisdembia opened this issue Jan 9, 2014 · 2 comments

Comments

@chrisdembia
Copy link
Owner

Instead of having takeOneTurn(); endTurn(); yield() in the run() method, maybe we actually want:

takeOneTurn(); myYield()

where myYield() does a few things just before we actually yield(). For example, it could update an indicator string to the amount of bytecode used in that turn. The reason is that we might want to use myYield() in many more places than just in run().

@chrisdembia
Copy link
Owner Author

Fixed by d5a73d3

@chrisdembia
Copy link
Owner Author

The GUI already shows us how much bytecode is used in a turn.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant