os-ucsd / casino

An open source casino/arcade built by the open source community at UC San Diego! :game_die: :space_invader:
3 stars 0 forks source link

Implement Breakout For the casino #7

Open asg017 opened 5 years ago

asg017 commented 5 years ago

Based on the proposal found at #2 , we want to add Breakout to our casino!

If you'd like to be the one to implement this game, please comment on this issue!

[Note: Only comment below if you were the original person to make the proposal]

cqvu commented 5 years ago

I'll be implementing this!

asg017 commented 5 years ago

Thanks for claiming this, @cqvu! You are now assigned to this issue, and your game is listed as In Progress in our README.

Feel free to work on your game in your own way! Next week, we'll have more info on how to make a Pull Request to add your game. As always, if you have any questions, feel free to post in our FB group, discord channel, or create a new issue in this repo!

cqvu commented 5 years ago

I got the basic setup for Breakout including drawing the ball and the paddle on the canvas and implementing movements and controls.

Gist with Key Pressed Detection snippet I used for the keyboard controls of the paddle: https://gist.github.com/cqvu/fb331b2e18c6cde74e4bcbf90f963048

CodePen link: https://codepen.io/cqvu/pen/jgVXVw