Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
CatherineRodriquez04 committed May 9, 2023
2 parents e3f6e6c + 84b9d5d commit 4014a07
Showing 1 changed file with 22 additions and 16 deletions.
38 changes: 22 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Save the Planet
## CSC 2463 Final Integration Project
### Project Description
Save the Planet is a game that you have to bounce an asteroid on a player moveable bar from hitting the Earth. The game allows a player 30 seconds to the defend the planet, but once the the asteroid passes the moveable bar it's game over. The game has a start screen, rules screen, in-game screen, win screen, and a lost-game screen. There is a background noise played during every screen and other noises produced from different triggers including the win screen, lost-game screen, rules screen, and when the asteroid hits the moveable bar.
When the arduino is connected a green LED light will turn on if the player wins the game and a red LED light will turn on if the player loses the game.
Save the Planet is a game that you have to bounce an asteroid on a moveable bar from hitting the Earth. The game allows a player 30 seconds to the defend the planet, but once the the asteroid passes the moveable bar it's game over. There are three game modes that adjust the speed of the asteroid from easy, medium, and hard. There is a volume slider that adjusts the volume of all tone implementations. The game has a start screen, rules screen, in-game screen, win screen, and a lost-game screen. There is a background noise played during every screen and other noises produced from different triggers including the win screen, lost-game screen, rules screen, and when the asteroid hits the moveable bar.
When the arduino is connected a the volume slider can modify the brightness of an LED light.

### Tech Stack
- Javascript (P5.js and Tone.js)
Expand All @@ -18,31 +18,37 @@ When the arduino is connected a green LED light will turn on if the player wins
- Press 'SHIFT' to change back and forth from the start screen and rules screen
- Press 'ESCAPE' to exit the in-game screen back to the start screen
- Use the mouse to click on the 'audio' and 'connect' arduino button

- Arrows on Keyboard:
- The 'LEFT' and 'RIGHT' arrow keys move the bar back and forth on the in-game screen
- Player cannot hold down on the arrow keys (press multiple times to continue moving the bar)
- Move the bar to the location the asteroid is headed to avoid letting the asteroid hit Earth
- Last the entire 30 seconds to win the game
- Use the mouse to select a game mode (game is automatically set to 'Easy')
- Use the mouse to adjust the slider to modify the volume and brightness of an LED light

- Joystick on Arduino:
- Connect the joystick via 'connect' arduino button using the mouse
- Move the jackstick left and right to move the bar on the in-game screen (moving the joystick up and down will not cause an affect to the bar)
- Move the joystick left and right to move the bar on the in-game screen (moving the joystick on the y-axis will not change the bar's location)
- Move the bar to the location the asteroid is headed to avoid letting the asteroid hit Earth
- Last the enture 30 seconds to win the game
- Last the entire 30 seconds to win the game

### Project Link:
### Project Youtube Link:
### Image of Game
### Project Link: https://catherinerodriquez04.github.io/Final-Project-CSC-2463/
### Project Youtube Link: https://youtu.be/Xgy4PZGQwdQ
### Image of Game Screens:
#### Start Screen
![Start-Screen](https://github.com/CatherineRodriquez04/Final-Project-CSC-2463/assets/114537594/54c27d0f-c6e8-4f15-b89e-9dd5ec10a13d)
#### Rules Screen
![Rules-Screen](https://github.com/CatherineRodriquez04/Final-Project-CSC-2463/assets/114537594/6aa9f4fd-bab6-4fbd-8818-0bbccc665338)
#### In-Game Screen
![In-Game-Screen](https://github.com/CatherineRodriquez04/Final-Project-CSC-2463/assets/114537594/cc5d4ee6-8e57-4b2b-91aa-f80a6d0fc11d)
#### Win Screen
![Win-Game-Screen](https://github.com/CatherineRodriquez04/Final-Project-CSC-2463/assets/114537594/75a69fab-ea54-4167-a14a-2e6e752dae56)
#### Lost-Game Screen
![Lost-Game-Screen](https://github.com/CatherineRodriquez04/Final-Project-CSC-2463/assets/114537594/e2526a76-4b10-4456-a78c-1c46af3923b6)

### Image of Arduino Setup
### Image of Arduino Setup:
![Arduino Set Up](https://github.com/CatherineRodriquez04/Final-Project-CSC-2463/assets/114537594/92057630-331b-42c9-8bf9-a29546aca566)

### Future Developments
- Make this a multiplayer game...
- One player would control the moveable bar
- Second player controls the direction of the asteroid
- Add multiple levels: easy, medium, and hard
- different speeds
- Add more modifications to game levels: easy, medium, and hard
- change the number of asteroids
- change size of asteroid
- shorten time
Expand Down

0 comments on commit 4014a07

Please sign in to comment.