dtjanaka / tiny-basketball

A basketball game built using tiny graphics!

Home Page:https://tiny-basketball.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tiny-basketball

A basketball game built using tiny graphics!

To run locally, navigate to the folder containing these files and run python server.py. The website will show up on localhost:8000.

You can also find the game deployed online at tiny-basketball.netlify.app/

What to expect

Upon loading the game, you will find the basketball court scene. The instruction on how to play are on a square in front of you. To start playing, you can press q.

Once the game has started, you have 45 seconds to score as many points as possible!

To shoot, you can simply click in the direction you want. Once the game is over, you'll see your last score, your session's highest score, and the number of games you've played this session.

Pressing q stops and restarts the game
Pressing p pauses the movement of the backboard
Pressing t toggles the music on and off
Pressing o turns on overdrive mode when pressed during a game, which speeds the backboard up by 4x

Asset Credits

The favicon was generated using the following graphics from Twitter Twemoji:

Music from Uppbeat (free for Creators!):
Sunny: https://uppbeat.io/t/hartzmann/sunny
Overdrive: https://uppbeat.io/track/matrika/overdrive

Music from TheFatRat
Windfall: https://www.youtube.com/watch?v=jqkPqfOFmbY

Brick Wall texture - GamePigeon Basketball
Basketball texture - https://opengameart.org/content/basket-ball-texture

About

A basketball game built using tiny graphics!

https://tiny-basketball.netlify.app/


Languages

Language:JavaScript 98.0%Language:HTML 1.0%Language:Python 1.0%