Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Game resets automatically after game is over.

  • Loading branch information...
commit 051e585ea5e4ede4b380b97e2d61f6b63688acfb 1 parent 6b6a803
Jordan Fowler authored
View
2  examples/tictactoe/tictactoe.html
@@ -3,7 +3,7 @@
<html>
<head>
<title>Tic Tac Toe</title>
- <meta name="author" content="Jordan Fowler">
+ <meta name="author" content="Jordan Fowler (TheBreeze)">
<style type="text/css" media="screen">
#navigation ul {
View
4 examples/tictactoe/tictactoe.js
@@ -63,7 +63,9 @@ var TicTacToe = new Class({
},
reset: function() {
-
+ $$('.cell').set('text', '');
+
+ this.join();
},
onQueued: function(command) {
Please sign in to comment.
Something went wrong with that request. Please try again.