DEV Community

Chuck Norris
Chuck Norris

Posted on

2

Angry Chickens: Easter slingshot game - 130 lines of easy JavaScript

You may have heard about a game where you shoot birds from a slingshot to destroy targets.
Today let's create a simple version of this game with Easter chickens playing the main role and Easter bunnies being the victims.
You can play it with a mouse or touch devices. Try it at top of this page!
One line of code is an 'Easter Egg' (an undocumented feature) - can you find it?

The full code is here:

http://slicker.me/javascript/angry.htm

https://thepracticaldev.s3.amazonaws.com/i/jcr5u80z2ocixsnz2j26.png

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay