Alveyworld Inc.
  • Home
  • Apple Basics
  • Join Alveyworld

Reflex Tester Game

4/8/2016

0 Comments

 
Download the reflextester.zip file and unzip the reflex folder into your computer programming portfolio. Open reflex.py and get ready to follow along


0 Comments

Encryption Assignment

2/29/2016

0 Comments

 
Create an application that allows the user to encrypt or decrypt files. You must support the three specified encryption/decryption schemes Caesarian, PseudoRandom, and Substitution

​click here to view assignment details.
0 Comments

Hang Man Game

2/4/2016

0 Comments

 
1. Download the starter code here,
2. download the dictionary of words here


Your job is to take the starter code in hangman0.py and finish the code to create the game of hangman where you try to guess a word one letter at a time, but if you guess wrong you get hung!

below is  a snapshot of the way the game should look (feel free to improve on it):
Picture
0 Comments

Game of Pig

1/21/2016

0 Comments

 
In the Game of Pig, two opposing players attempt win by being the player with the most total points after at least one player exceeds 100 total points.
At the beginning of the game, both players have 0 total points. In each round, player 1 takes a turn, and player 2 takes a turn. The game ends if at the end of a round, at least one of the players has 100 or more points. The winner is the player with the most total points.
The player begins a turn with 0 turn points. The player rolls a six sided die. If the die roll produces a 1, then the player’s turn pointsare removed, and their turn is over. If any other number is rolled (2-6), the roll is added to the player’s turn points. The player now chooses whether to quit the turn, or continue the turn. If the player quits the turn, their turn points are added to their total points. If the player continues, then the player rolls the die again, and follows the above outline based on the value rolled.
In this assignment, you will create a computer program that will allow two users to play the Game of Pig against each other.

Click here for more details of this assignment
0 Comments

Guess the Number Game

1/12/2016

0 Comments

 
AssignmentThis assignment is to make your computer program guess a number that the user chooses between 1 and 1000 in no more than 10 guesses.
The algorithm used in this assignment is called a binary search. After each guess, the algorithm cuts the number of possible answers to search in half. 
Your program should start by printing instructions to the screen, explaining that the user should pick a number between 1 and 1000 and the computer will guess it in no more than 10 tries. It then starts making guesses, and after each guess it asks the user for feedback. The user should be instructed to enter -1 if the computer needs to guess a lower number, 0 if the computer guessed correctly, and 1 if the computer needs to guess a higher number.
When the program guesses correctly, it should report how many guesses were required. If the user enters an invalid response, the instructions should be repeated and the user allowed to try again. You may assume that the user never gives a false answer.

(Read the full assignment here)

0 Comments

Terminal Games

1/6/2016

0 Comments

 
This quarter we are going to create simple games that you run in the terminal. You should program these games in a folder connected to your git hub to add them to your portfolio.

Mad Lib Game

Picture
The first game you will write is a mad lib game.
  1. Use the story to the left.
  2. Make a variable for each blank line.
  3. Ask the user to input a word or phrase that you will store in the variables you made.
  4. Then output the story with the users answers inserted into the story
  5. Make a game loop so the user can play again.

0 Comments

Codingbat Exercises

11/17/2015

0 Comments

 
Assignment: Complete all the Codingbat.com python exercises before Christmas

make sure you
1. Put your name in the pref section
​2. Share with Mr. Alvey (zack.alvey@washk12.org)

0 Comments

Work on codecademy python lessons while I am gone.

10/5/2015

0 Comments

 
Picture
While I am absent please continue your work on the codecademy.com python lessons. If you haven't started with codecademy.com please sign up and begin the python lessons (click here for the python lessons link). The python lessons look like the picture to the left.

I will check your progress when I return.
​
0 Comments

Python learning exercises

10/2/2015

0 Comments

 
goal: complete all the python learning exercises with guidance

Complete all exercises in one file and run them

Homework: codecademy python lessons

pythonlearning.pdf
File Size: 79 kb
File Type: pdf
Download File

0 Comments

Test on the book

9/28/2015

0 Comments

 
We will be wrapping up the book on Wednesday and having a test on all the chapters up to Exceptions. Make sure you have taken good notes on your reading.
​http://pymbook.readthedocs.org/en/py2/
​

0 Comments
<<Previous

    Computer Programming

    This course is a full year. Students will be studying the basics of computer programming. The programming tool we will use is the popular and powerful language called Python (Python.org). Students will be exploring the fundamental logical concepts of programming that apply to any programming language.

    computerprogrammingidisclosure.pdf
    File Size: 184 kb
    File Type: pdf
    Download File

    Archives

    April 2016
    February 2016
    January 2016
    November 2015
    October 2015
    September 2015
    August 2015

    Categories

    All

    RSS Feed

Powered by Create your own unique website with customizable templates.
  • Home
  • Apple Basics
  • Join Alveyworld