Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- when stage.signalReceived("rounding") {
- if(this.cloneId == 0) {
- this.good = 0;
- showVariable(ref this.good);
- for(let i = 0; i < 3; i++) {
- this.good += this.getpoint(i, i, alist);
- this.good += this.getpoint(i + 3, i, blist);
- this.good += this.getpoint(i + 6, i, clist);
- }
- if(this.good == 9) {
- stage.broadcast("win");
- }
- else {
- stage.broadcast("asking");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement