|
|
Give
Yourself the Real Power of Computers
s |
||
|
|
|
||
C O
N T E N T S |
|
Python Main Page Python
is one of the most popular languages today, and it is also one of the easiest
to learn. My
objective for writing this page is to take Scratch (or Snap) programmers one
step ahead in their programming adventure. |
|
|
|
Home Page |
|||
|
Power of Programming |
|||
|
Scratch Page |
|||
|
Snap! Page |
|
In all
the discussion below, I have assumed that the reader already knows Scratch
(or Snap) programming quite well. Python Books and Resources Learn Python in a Snap!: This book is meant
for Snap (and Scratch) programmers. It gives them a jumpstart into the Python
universe. Additional Exciting Python Programs This
is a collection of articles: most of which describe the design of interesting
and challenging Python programs. Some articles also address advanced topics
about how to do something in Python. Sieve of Eratosthenes: This program is
basically an animation program that shows how the sieve of Eratosthenes
works. There is no user interactivity required once the program is started.
The animation initially shows a table of numbers 1 to N and then using the
technique of Eratosthenes starts dropping numbers until only prime numbers
are left in the table. Tic-tac-toe: This program implements
the popular two-player game. You play against the computer. This program has
a graphical interface. Sudoku solver: This GUI program can solve
any Sudoku puzzle. It uses what is called the "brute force" or
"exhaustive search" approach. In this, we basically try all
possible number combinations until the correct one is found. Solo chess: This program implements a
popular board game that purports to "train" young minds for the
game of chess. It uses a 4x4 chess board and only 10 chess pieces. Eight queen puzzle: This program
implements the famous eight queen puzzle in which you have to arrange eight
queens on an empty chessboard such that none of them checks any other. The
program has both "manual" and "auto" modes. Zork: Zork is an interactive game of monsters in the dungeon.
There is a multi-story dungeon in which the gamer needs to find a way to the
room that contains the 'grand prize'.
On their way, they may have to fight monsters, grab swords and magic
stones, and move up or down the dungeon. Slider puzzle: This is a game you play
with a grid with numbered blocks. One of the cells is empty, so that
neighboring blocks can slide to it. The goal of the game is to line up the
numbers left-to-right and top-to-bottom. This program implements a 3x3 grid
containing numbers 1 thru 8. Connect4: This is a 2-player game which
consists of two sets of colored coins and a standing grid of rows and
columns. Each player takes one set of coins and then by turn drops coins down
any of the vertical columns (we will call them “tubes”). In this program, you
play with the computer (which plays like a monkey!) |
|
|
Python Page |
|||
|
Logo Page |
|||
|
|
|
||
|
||||
|
|
Please contact abjoshi@yahoo.com if you have any questions or comments. Last modified: 29 June 2021 |