Computer Science!
In Computer Science, Ms. Taricco challenges us with exercises
and labs that not only help us grasp concepts and use them towards practical applications,
but are fun as well. Despite prior knowledge, this class familiarizes you with languages such
as HTML, CSS, and Java. Past applications and projects include calculating federal tax rates,
number guessing games, and a dart simulation to estimate the value of pi.
One of the mini-labs that we completed
while learning Java was one with graphics. In this lab, we were given an image to
replicate using the graphics class. However, one of the biggest challenges was
connecting math concepts to the design process to improve efficiency. Click this
link to see my code!
Another lab we were assigned mocked the
game of Bulgarian Solitaire. In this game, players start with a triangular number of
cards, which are divided into a random number of piles that contain a random number
of cards. Each round, one card is removed from each pile, creating a new pile. The
game is finished when the player ends with a series of cards in piles of consecutive
numbers. For example, a player starting with 21 cards must end with piles of 1, 2, 3, 4, 5, and 6.
An example of a game using this deck size is shown to the right. Click this link to see my code!