-
Notifications
You must be signed in to change notification settings - Fork 0
sdeibel/fishtank
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Fishtank ======== This is a simple fish "game" that I'm going to use as a motivator for learning different programming concepts in Python. The idea is to start with a reasonably structured program and point them to the parts they can work on, and then teach them concepts in that context. I was motivated to write this example by the fact that many pygame examples are just a huge messy loop, or are much more complex than this game. I would rather show students a reasonably structured program from the start so they can learn by example how functions, objects, etc are used to keep code simple and understandible. Students can add their own type of fish with its own movement pattern, extend existing fish (for example, to add an "eating" mode), add algae growth and extend the sucker fish to remove algae, add interactions between the fish. Once they have a command of the basic concepts they can undertake other tasks of their own design. License ------- The code is licensed under the MIT open source license, which means it is tree and open for all to use, modify, extend, redistribute, etc: The MIT License (MIT) Copyright (c) 2013 Ajanta and Stephan Deibel Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Note ---- The clown fish and background were found by google image search. If you plan to distribute this code, you may want to replace those. We will add attribution if we can find the source again. The french angel fish is from http://saltwaterseacreaturesdirect.com/ The sucker fish and snail (currently unused) were created by Ajanta. Contact ------- Please email sdeibel@wingware.com if you have any questions or want to contribute to the project.
About
A simulated fish tank, created with my daughter when she was 10 years old.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published