Inspiration

I've always had a thing for cats. Even though one of the members of our group is allergic to cats (die die she does), all of the members of our group face a certain attraction to cats (even tho a specific someone faces a negative reaction). Another member of our group volunteers at the cat shelter every Saturday, and sometimes, they hang out with the allergic member right after (jkjk). Overall, we love cats; they are cool 😒😖🥶🤑🤪. To further express our opinion, boba is a major fuel system for this team. While working on this project, the four of us expressed our thirst and need for boba (though one of us hasn't had it before), and that desire kept us working hard on the project. Similarly, we knew our treasured cat would love boba just as much as we do. Using the strength of boba, this precious little kitty cat duplicates in number and grows to a monumental size with each accumulation of boba.

What it do

Cat super thirsty. Cat sees boba. Cat go to boba for the purpose of consumption. Cat gains new cat with depletion of boba drink. Cat keep growing in number, securing new cats for their cat clan. Cat touch border -> cat die. Cat touch another cat -> cat die.

How we built it

We began with a 2d array grid in which the whole game took place. We then created a snake and coded its movement. This included checking conditions before moving, such as current direction and whether or not the snake head is going to go out of bounds. After this, we just added the pellets, which merely meant not removing the tail when moving onto it. All this is done in the grid, which the code iterates through to update its display. Finally, we shrank images to fit into the 25x25 grid squares and loaded them into processing to use for the snake and the pellets.

Challenges we ran into

At the very beginning, we were unsure of how to make the tail properly follow the head’s path or how to make the snake grow, but it was all solved with an arraylist that shifted its head location to its next segment, and so on until the tail.

Accomplishments that we're proud of

It works 😏

What we learned

We learned to use parameters, different data types, and practiced using logic to solve challenges.

What's next for Snake Game: Cat Love Boba

Snack Game: Who Snacks the Best An illustrative description of the world’s best snackers

Built With

Share this project:

Updates