Harry Potter Gobstones - cmubuild18/Build18 GitHub Wiki

Harry Potter Gobstones

Welcome to Harry Potter Gobstones, the magic marble game. Shoot the magic marbles as close to the center "snake pit" as possible, but don't fall in!

Thumbnail Image

The premise of our project was to bring the magic marble game, Gobstones, from Harry Potter to life by using electromagnets controlled by a stepper motor xy system similar to that of a 3D printer. We split our project into 3 main parts: the software, the mechanics, and the hardware. On the software side, we coded an app through python and CMU graphics to create the marble game on-screen. The play style is similar to that of Angry Birds, where you can click, drag, and release to decide your marbles' trajectory. Each player takes turns to shoot their marbles as close to the center "snake pit" as possible without falling in. Marbles that fall in are removed from the board. On the mechanics side, we cut and engraved a game board and 3D printed marbles in the Harry Potter house colors. We assembled our stepper motor system using aluminum rods, gear belts, and 3D-printed parts. On the hardware side, we calibrated the stepper motors and electromagnet accordingly with the game board using Arduino, breadboard circuits, and soldering. However, we ran into issues putting together these three parts into a full, cohesive game. That being said we are able to demonstrate the software and hardware components individually.

Team Members

Team Member Photo
Caitlyn Fong Team Member Photo
Namky Eun Team Member Photo
Teresa Cai Team Member Photo
Jieun Lim Team Member Photo
Claire Kim Team Member Photo

Photos

https://drive.google.com/drive/folders/1PYX9Jn2e9iWmAj0mMJnbtXY_GJ_ykj7o?usp=sharing

Parts

Part Quantity AndrewID of Buyer Purchase Date Total Part Link Order # Receipt
60 Pack 6×2mm Small Neodymium Magnets 1 neunllov 12/31 168.57 https://www.amazon.com/dp/B09TQPHBN4?psc=1&ref=ppx_yo2ov_dt_b_product_details 112-6969546-6074645
HiLetgo 5pcs A4988 Stepstick Stepper Motor Driver Module 1 neunllov https://www.amazon.com/dp/B07BND65C8?psc=1&ref=ppx_yo2ov_dt_b_product_details
HiLetgo 10pcs Micro Limit Switch 1 neunllov https://www.amazon.com/dp/B07X142VGC?psc=1&ref=ppx_yo2ov_dt_b_product_details
ARDUINO MEGA 2560 REV3 1 neunllov https://www.amazon.com/dp/B0046AMGW0?psc=1&ref=ppx_yo2ov_dt_b_product_details
3D Printer Stepper Motor Extension Cable 1 neunllov https://www.amazon.com/dp/B07SLPLPL2?psc=1&ref=ppx_yo2ov_dt_b_product_details
DC12V 2A Power Supply Adapter 1 neunllov https://www.amazon.com/dp/B01AZLA9XQ?psc=1&ref=ppx_yo2ov_dt_b_product_details
Diann 4pcs TT Motor DC 3-6V Gearbox Motor 1 neunllov https://www.amazon.com/dp/B0BR7S2TRY?psc=1&ref=ppx_yo2ov_dt_b_product_details
STEPPERONLINE 5PCS Nema 17 Stepper Motor 1 neunllov https://www.amazon.com/dp/B07LCHHQ97?psc=1&ref=ppx_yo2ov_dt_b_product_details
5M GT2 Timing Belt 1 neunllov https://www.amazon.com/dp/B08R93QQ8Z?psc=1&ref=ppx_yo2ov_dt_b_product_details https://drive.google.com/file/d/1mcceahUSsxQZWTh3armmtgubhfolBW4X/view?usp=sharing
uxcell 5V 50N Electric Lifting Magnet Electromagnet 1 neunllov 12/31 10.06 https://www.amazon.com/dp/B01N5OPUEC?psc=1&ref=ppx_yo2ov_dt_b_product_details 112-9768530-2431400 https://drive.google.com/file/d/1rv6V9J2X3s_ZzQfVNiIVMf6t8T_szXRJ/view?usp=drive_link
Multipurpose 6061 Aluminum 3/8" Diameter, 3 Feet Long 8974K24 4 neunllov 1/1 29.22 https://www.mcmaster.com/catalog/130/4215/8974K24 5837290 https://drive.google.com/file/d/1OObApKk4dxE4sM04nioYMkEsODnJyzET/view?usp=drive_link
WINSINN GT2 Pulley 20 Teeth 5mm bore 6mm Width 20T Timing Belt Pulley Wheel 1 neunllov 1/4 16.94 https://www.amazon.com/dp/B077GNZK3J?psc=1&ref=ppx_yo2ov_dt_b_product_details 112-4098366-3083455
Zeberoxyz 10pcs Copper Buckle 1 neunllov https://www.amazon.com/dp/B0968D2GR5?psc=1&ref=ppx_yo2ov_dt_b_product_details https://drive.google.com/file/d/1Z4y05lEMc8rtjnyeIBJOEDvWKw4gIgS6/view?usp=drive_link
5M GT2 Timing Belt 1 neunllov 1/7 12.71 https://www.amazon.com/dp/B08R93QQ8Z?psc=1&ref=ppx_yo2ov_dt_b_product_details 112-4819918-8172256 https://drive.google.com/file/d/1Gk_UO8P-2CkFqPSbOTv8NHEWqRc5tvaK/view?usp=drive_link
VSKIZ Refrigerator Magnets 50 Pcs, 10x3mm 1 neunllov 1/10 6.21 https://www.amazon.com/dp/B0BVY5VYQY?psc=1&ref=ppx_yo2ov_dt_b_product_details 112-3826711-2969007 https://drive.google.com/file/d/1T_ZhglRhcBdi1RIkf7pVKFy99pWbvErW/view?usp=drive_link
1/4'' Hardwood, 4ftx8ft 1 teresac 1/10 39.32 https://www.homedepot.com/b/Lumber-Composites-Plywood/1-4/N-5yc1vZbqm7Z1z0mcqp
WINSINN GT2 Pulley 20 Teeth 5mm bore 6mm Width 20T Timing Belt Pulley Wheel 1 neunllov 1/15 7.41 https://www.amazon.com/dp/B077GNZK3J?psc=1&ref=ppx_yo2ov_dt_b_product_details 113-3067712-6145863 https://drive.google.com/file/d/1Hy4sCZQ1l3v1SgEJjLqanxhfYvYXbJQP/view?usp=drive_link
Total 290.44