Tuesday, October 15, 2013

A week today was quite a breakthrough. Previous games were more about grasp the basics, and then wi


Someone during maternity learn to sew on a machine other necessary ... "Programmed". I have a parent while still ahead, but since the beginning of the year or more since I stopped sports and gained some extra free time, I tried to fill leisure somehow "active". On the composition of our large puzzle is never reached. Of course TV also took some time, but what I most "stealing" time, the online courses https://www.coursera.org/. You can log on here where everything - Neuroscience, sports nutrition, history, programming, ... Well, just the latter, I thought it would be someone could throw a little something to be interested in me as well. I originally signed up for "An Introduction glogster to Interactive Programming in Python". As it turned out, it was very prudent, pass before two other, more basic (although this also had to be "Introduction to Programming") courses at the University of Toronto (Learn to program: the fundamentals, Learn to Program: Crafting quality code ). The current runs at Rice University and it's super. In total, glogster online lectures turns three professors, who all served in the relaxed form, and points out the things with which students have the most problems. Lectures glogster by themselves do not take up that much time. I'd say 1-2 hrs "worse" then it is the "domestic" tasks when one really needs to understand what they hear in lectures and to apply it. Tasks are automatically assessed, so now you know what is happening to you. Usually have five attempts, so who is not lazy, it should be cool enough to over 90%. And then there are the mini projects. Each week "program" a simple (ie, now five weeks before going gets tough, as you will see below) game. But do not think that we just fits into the pond and swim. Everything is thoroughly discussed glogster in the lecture and the Internet is a step by step how we proceed in setting glogster up the game. Then just write everything to the correct line and play over and look for errors and devise improvements. The evaluation mini projects is that if you judged yourself one game. The system is very nicely contrived. Upload a classmate code (which of course you do not know in these courses are mostly gone down something like 50 thousand. Participants), and "grading rubric" will mark him. Quite simply try, if this or that works. That's it. When working properly and achieve the required points, you get a (mostly) a certificate of course completion (which results in nothing, because actually one can not be 100% to determine your identity, glogster but it's a nice feeling to have and especially to know that you have something new and perhaps glogster even learn useful).
Unlike glogster the two previous courses, we worked in a classic pythnovském environment for this course was developed by a special web site that allows us to quickly and easily share code. So who is curious about the links below just copy it into your browser ("unfortunately" it only works for firefox and chrome) and top left press "play". A play.
One of the first games we were asked was "Guess the number" (Guess the number): http://www.codeskulptor.org/ # user11_EPlVLJp8EkvYMDo.py. Black box, do not mind that we did not know how to control. The point is to guess the number the computer "thinks". In the "Enter a guess" and insert its tip right next to the code if you read the secret number is higher than your ("Higher") or below ("Lower") or if you guessed number ("Correct!"). At the same time, that's not so easy, you have a limited glogster number of attempts. For guessing a number between 0 and 100 have 7 attempts for guessing between 0 and 1000 have 10 (it is mathematically proven that this number of attempts goes guess).
In the next game (Stop watch: http://www.codeskulptor.org/ # user12_8qrYC2VCpWgHi04.py) goes on to stop the clock at full seconds. "Start" starts stopwatch, "Stop" is stopped. glogster In the top right you can see your success. For a new game, press "Reset".
Another game was Pong: http://www.codeskulptor.org/ # user13_NRDRaVa0NldP5Lm.py. glogster Here it comes "not to get a goal." Simply move the "sliders" (left and right, the game is for two players, but you can play against themselves) either arrow keys (up and down) or letters (w, s). With each reflection glogster of the speed of blower speeds.
A week today was quite a breakthrough. Previous games were more about grasp the basics, and then with it somehow did. This time I thought it was really complex. glogster But the result is super: Blackjack! It is therefore a simpler version than is played in Las Vegas, but even so it was interesting. What is it? You have to get the card total as close as possible, but not on 21 King, Queen and bottom are the 10th An ace can be worth either 1 or 11 (do not worry, your computer will decide for you what is better). How to play? At the beginning it is necessary to hand out cards (button "Deal"). You get two, you see, the croupier (dealer) also gets two, but only one you see. Add up the values and say, if you have one card (the "Hit"), or it will just continue and leave the dealer (pushing

No comments:

Post a Comment