
Little Golfing
« Little Golfing »
The tricky Golf Game in a Square
« The Game »
It's a golf course of 9 holes where you have to set the angle and the power for each shot and as always you need to get the ball into the hole with the least amount of strokes.
It was programmed with p5.js, a library mostly used for procedural art, but it is flexible and fast and so I picked it this time because I found it challenging to code all the physics myself. And the sounds are - like in almost all of my games - made with my mouth.
So, I hope you like it. Remember to rate my golf game and have fun!
This game was created in 10 days during the GameDev.tv Game Jam 2026.
« Controls »
You can play with:
- your Mouse,
- mobile with Touch and
- also with your Keyboard.
For the keyboard use the left and right arrow keys to set the angle and for all actions and also to hit the ball use space or c.
« How to play? »
If something doesn't work, try reloading the page and/or restarting the game!
- Set the Angle by clicking or touching on the golf area or by pressing the left and right arrow key.
- Click the button when ready or press c or space.
- Wait for the power you want to have for the stroke and click again the button or press c or space.
- Repeat until the ball reaches the goal
« Credits »
The idea, code with the physics, sounds and layout is all made by me, Plif.
A lot of feedback, brainstorming and motivation I got from @bananicorn and also feedback and especially the idea for the last, the 9th, hole I received from @jumpingdino. And last but not least @Julia suggested the name for this golf game. Thank you very much to everyone of you!
« Summary »
- golf game
- 9 holes/levels
- created in 10 days
- used p5.js
- play with touch, mouse or key
- developed ball and wall physics with collisions myself
- sound effects recorded with my mouth
- more than 1200 lines of code
Enjoy it!
| Published | 11 days ago |
| Status | Released |
| Platforms | HTML5 |
| Rating | Rated 5.0 out of 5 stars (1 total ratings) |
| Author | Plif |
| Genre | Sports |
| Made with | p5.js |
| Tags | 2D, Funny, Golf, minigames, Minimalist, No AI, Physics, Singleplayer, Top-Down |
| Average session | A few minutes |
| Inputs | Keyboard, Touchscreen |
| Accessibility | Color-blind friendly, High-contrast, Interactive tutorial, Textless |
| Content | No generative AI was used |




Leave a comment
Log in with itch.io to leave a comment.