-
Notifications
You must be signed in to change notification settings - Fork 2
/
TODO
18 lines (18 loc) · 928 Bytes
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Implement build system to create production copy
Provide explanation of game, its objectives, link to Wikipedia article
Provide means of choosing number of disks at game start
Track high scores of user through cookies -- maybe store JSON in cookie
Implement animation of disk sliding onto tower
Add AI solver
Inform user of number of moves he took, minimum number of moves, percentage delta
Make canvas resize if window resized
Problem: must force redraw, since canvas goes blank when resized
Which means that Canvas would need reference to TowerManager
Canvas.prototype.make_canvas_resize_if_window_resized = function() {
var self = this;
window.addEventListener('resize', function() {
self.resize_to_client_width();
}, false);
}
Improve performance by eliminating creation of new Points, and simply adjusting their x/y coordinates instead
Search codebase for "new Point" to find such instances