AdiBricks / Frontendtriiii2222

Apache License 2.0
0 stars 1 forks source link

Aditya R Review Ticket #2

Open AdiBricks opened 9 months ago

AdiBricks commented 9 months ago

Aditya R. I built the base of the game. I worked on a version of the game in Python and worked with Sai to translate that code into Javascript. The base game includes a moving car, controlled using the computer's arrow keys. I also created a random obstacle generator, which created the black boxes that would move against the car, coupled with a function that would end the game once an obstacle “collides” with the car. Lastly, I started work on the mystery boxes/powerups on the game. I added the timers to them so they expire after a while. Gavin finished work on them so that they do what they are supposed to in the game.

Big Problem: When translating the code from Python to Javascript, I used Pygame in the Python version, and this could not be switched to Java. So, to get past this error, I figured out how to use an HTML canvas, which allowed me to run the game instead.