1 00:00:00,000 --> 00:00:00,540 2 00:00:00,540 --> 00:00:03,440 >> PROFESSOR: Now let's talk about some extra features that can be implemented 3 00:00:03,440 --> 00:00:06,020 in the CS50 shuttle pset. 4 00:00:06,020 --> 00:00:09,180 There's a point system whereby you keep track of how many 5 00:00:09,180 --> 00:00:10,860 points a user has. 6 00:00:10,860 --> 00:00:14,450 For dropping off passengers successfully, they can get points. 7 00:00:14,450 --> 00:00:18,490 But for trying to drop off passengers were there isn't any house nearby, 8 00:00:18,490 --> 00:00:20,210 well, they can get penalized for that. 9 00:00:20,210 --> 00:00:25,130 So perhaps you'll want to keep track of points in the global variable. 10 00:00:25,130 --> 00:00:29,300 >> You can implement, perhaps, a timer, where the user has a certain amount of 11 00:00:29,300 --> 00:00:33,130 time to pick up and drop off a certain number of passengers. 12 00:00:33,130 --> 00:00:36,610 Maybe even integrate this with the point system. 13 00:00:36,610 --> 00:00:43,310 Or you can edit chart such that passengers are sorted by house. 14 00:00:43,310 --> 00:00:48,570 So that would probably be a sort function to [? shuttle.cs. ?] 15 00:00:48,570 --> 00:00:52,590 >> You can implement a flying feature, where if the user inputs the Konami 16 00:00:52,590 --> 00:00:56,800 code, then the shuttle lifts off the ground and the shuttle can fly. 17 00:00:56,800 --> 00:01:02,230 But for a safe drop-off, best to make the shuttle land its wheels on the 18 00:01:02,230 --> 00:01:04,040 ground first. 19 00:01:04,040 --> 00:01:08,340 You could also implement teleportation, where you make a 20 00:01:08,340 --> 00:01:11,710 drop-down list of buildings in index.html. 21 00:01:11,710 --> 00:01:15,600 And selecting one of those, the user will be transported to 22 00:01:15,600 --> 00:01:17,550 that building on campus. 23 00:01:17,550 --> 00:01:20,040 OK, though, to travel through the walls of some 24 00:01:20,040 --> 00:01:22,610 building on your way there. 25 00:01:22,610 --> 00:01:26,300 >> You can also change the speed of the shuttle, allowing the user to increase 26 00:01:26,300 --> 00:01:28,830 or decrease the speed. 27 00:01:28,830 --> 00:01:32,180 Perhaps you want a global variable to keep track of how much fuel the 28 00:01:32,180 --> 00:01:34,860 shuttle has, decreasing it as you go along. 29 00:01:34,860 --> 00:01:38,810 Once you hit zero, though, the shuttle won't be able to move unless you've 30 00:01:38,810 --> 00:01:43,930 refueled, perhaps using a button, or even make your own gas station. 31 00:01:43,930 --> 00:01:46,560 >> But that certainly isn't an exhaustive list. 32 00:01:46,560 --> 00:01:49,680 Check out the spec for the full list, or perhaps, propose 33 00:01:49,680 --> 00:01:51,150 your own to your TF. 34 00:01:51,150 --> 00:01:52,500 The sky's the limit. 35 00:01:52,500 --> 00:01:56,450 This is your last CS50 pset, so have fun with it. 36 00:01:56,450 --> 00:01:59,680 This was CS50 shuttle. 37 00:01:59,680 --> 00:02:02,570 >> I've got to say, it's been a pleasure making these for you with the 38 00:02:02,570 --> 00:02:03,740 production team. 39 00:02:03,740 --> 00:02:07,660 And I hope that you've enjoyed them as well. 40 00:02:07,660 --> 00:02:11,339 My name is Zamyla, and this was CS50. 41 00:02:11,339 --> 00:02:19,712