Computer Science 1




This webpage is for my computer science 1 class. We
are learning to code in C#. I have several assignments
that I would like to show you. Programming is difficult
but I call it hard fun.


Goodbye

9/10/19

This program showcases the work of how buttons can be
used to hide and show different images and text by
translating "Goodbye" into different languages.

About Page

9/11/19

In "About Page", the user can press different buttons
and images to change other images. The user can also
change font size and color.

Mailing Label

9/17/19

This program takes in the information of the user
(like name, address, etc.), and puts them into a
mailing label.

Car Rental

9/20/19

In "Car Rental", the user's info is entered in and displayed,
along with manager stats and total miles/prices.

BMI

9/26/19

This program takes the user's height and weight, and
calculates their BMI.

Car Rental Upgrade

10/2/19

"Car Rental Upgrade" is the updated version of "Car Rental".
It allows the user to choose between different cars with
different prices while still calculating manager stats and
total miles/prices.

Test Score

10/4/19

This program takes two different test scores and gives each
their letter grades, along with calculating which is score is
higher and the average of both.

Dice Roll

10/11/19

"Dice Roll" practices random numbers and displays the
perecentages of how many times the user rolls a specific number..

Craps Game

10/14/19

"Craps Game" uses the skills of random numbers and images
to create this fun game based off chance.

T-Shirt Sales

10/28/19

"T-Shirt Sales" calculates the cost of buying multiple
different shirts with the choice of different accessories
and sizes, and displays managers store totals.

Slot Machine

10/29/19

This program uses random numbers and images to make
this gambling game. In order to win the jackpot, the
user must bid money to continuously try to have three
of the exact same images in the machine.

Rock Paper Scissors1

11/12/19

This program allows the players to choose
rock, paper, or scissors. It shows the image
and records the score.

Fish 1

11/20/19

This program is a simulation that mimics the
movement of a real "fish" in an "aquarium." The
image can only move one space at a time, and
faces the direction of its movement. The number of
times it runs into the "wall" is also recorded. You
can also change the speed of the automatic movement.

Fish 2D

11/20/19

This program moves the image one box at a time:
left/right or up/down. It also rotates the image
left and right based on the direction it moves
When the image reaches the wall it stops. It also keeps
track and counts the number of times it hits the top,
bottom, left, right. This is all while the shark tries
to eat the fish.

Football

11/20/19

This program is a simulation that mimics the
movement of a real "fish" in an "aquarium." The
image can only move one space at a time, and
faces the direction of its movement. The number of
times it runs into the "wall" is also recorded. You
can also change the speed of the automatic movement.

Tic-Tac-Toe

11/20/19

This program is a simulation that mimics the
traditional game of Tic-Tac-Toe. Every click alternates
the image displayed. The program tracks whether the
chicken or the egg won. It also detecets ties.

N!

11/20/19

This progrmam shows all the numbers in a sequence,
factorial, even numbers, odd numbers, and fibonacci.
The max number is the inputted number. It also adds the
total of all the numbers in the text box.

Basic AI

11/20/19

This basic AI game is a simulation where the yoshi tries
to shoot down the mushroom. The player earns points every
time the bullet hits the mushroom. Yoshi's health lowers
when the mushroom gets near him. If you reach 10 points,
you win. If your health reaches 0, you lose.

Star Field

11/20/19

In this simulation, the stars move diagonally according
to the quadrant they are located in, creating the illusion
of forward movement.

Fish Aquarium

11/20/19

In this program, when the enemy touches a Kirby, it dies
and sinks. When a Kirby touches the rope on the plane,
it latches on. The plane moves back and forth. The stars
constantly move throughout interface

Number Array

3/5/20

This this program shows the minimum, maximum, and average of
an inputted amount of random numbers. It also generates a
random number and searches through 5000 numbers to find the
random number. The program stops after 5000 runs.


Histogram

3/15/20

This project makes 100 random numbers from 1-100. It
detects which letter grade each number is and puts an *
according to the letter

Airplane

3/26/20

In this simulation, the airplane moves back and forth across
interface on a timer while dropping bombs. The player can
move left and right using arrows. The health lowers when
bombs touch player and the game is over when health reaches
0, resetting the game

Final Project

5/28/20

This is my final project. The player must collect all the
butterflies in each of the 3 levels. They have 3 lives which
reset for each level. Lives are lost when stung by a bee.
Each level is slightly more challenging than the previous one.
The game ends when the player either loses all their lives
or collects all the butterflies in each round with lives remaining.