Drawing inspiration from the classic video game Gorillas, this is a node-based mini-golf game, occupying less than 1kb (941 bytes). You can play it in your terminal window, allowing to control shooting angle and power. Featuring (very basic!) physics simulation, collisions, and diverse ground types, including four playable maps.
How to play
To play Mini Code Golf, from the repository root, execute the following command in your terminal:
node index [map] [angle] [power]
Parameters
map A number from 0 to 4 indicating the map to play.
angle An angle in degrees ranging from 0 to 360, representing the shooting angle. Decimals are acceptable.
power A value from 1 to 10 denoting the shooting power. Decimals are acceptable.
Mini Code Golf
Drawing inspiration from the classic video game Gorillas, this is a node-based mini-golf game, occupying less than 1kb (941 bytes). You can play it in your terminal window, allowing to control shooting angle and power. Featuring (very basic!) physics simulation, collisions, and diverse ground types, including four playable maps.
How to play
To play Mini Code Golf, from the repository root, execute the following command in your terminal:
Parameters
map
A number from 0 to 4 indicating the map to play.angle
An angle in degrees ranging from 0 to 360, representing the shooting angle. Decimals are acceptable.power
A value from 1 to 10 denoting the shooting power. Decimals are acceptable.Examples
node index 0 173.6 8.4
node index 1 -23 5
Video
minigolfcode.webm
Source code
https://github.com/nikpundik/mini-code-golf