Inspiration

At the beginning of the hackathon, my partner and I decided to make a game in python using pygame, as it would be fun to do. when we were deciding to work on something I remember seeing a video game about collecting cocoa beans, so we decided to do something similar to the cocoa bean collecting game. Because of the criteria practicality, we decided on something related to cleaning and chose to clean our grandma's virtual living room.

What it does

Our game generates a fun and entertaining game where you start with a toothbrush and you have to go around picking up dust, which you can give to your grandma as proof of cleaning and she will give you money that allows you to buy better tools and also rumbas. As the game goes on you can also make dust worth more so you can buy stuff easier, and can also buy sports drinks that increase your speed.

How we built it

We used python to make this project, using the package pygame to make this fun and entertaining game. We also used many art tools to hand draw every single element, using a common theme of pixelated images to make the game look cozy and fun. The game also takes in time from the real world as data for use in different functions and animations that run every 100ms.

Challenges we ran into

Challenges we ran into mainly came from Trigonometry and radians where different sin and cos functions needed a lot of tweaking and theta was continuously giving the wrong number when we used it. However, after a while, we got all of the cos and sin functions to work and got theta to report the correct number by tweaking the cos and sin functions.

Accomplishments that we're proud of

We are very proud of some of the animations we were able to implement including a daylight cycle function, and also very proud of making functions that used Trigonometry work properly to make different angles. The rumbas in the game work by using vectors by applying sin and cos to get a distance for x and y to move to, and also the entire game elements were hand-drawn, and most of the code was written by hand without using external elements.

What we learned

Throughout the hackathon, my partner and I learned many different functions and ways to implement different parts of the game into the game. we used different functions from pygame and Trigonometry that all are complex and gave us a sense of accomplishment when we finally completed the game. Overall we learned a lot and we can try making an even better game next time.

What's next for Dust Cleaning Simulator

We hope to add more tools to clean the game and make it a better game like being able to go to other people's houses, not only your grandma, to clean other stuff like dirt and grime. Dust Cleaning Simulator can really become a cleaning game where you just go to different houses, buildings, and other places to clean and get rich off of working your grime off!

Built With

  • 2d
  • append
  • arrays
  • art
  • datetime
  • deltatime
  • iterator
  • maps
  • math
  • os
  • pixel
  • pygame
  • python
  • rand
  • rgb
  • sys
  • time
  • trig
  • trigonomettry
  • vector
Share this project:

Updates