Fly Swat Game

Fly Swat game screenshot

Fly Swat game screenshot

The Game
Swat the flies using mouse, keyboard – or your assistive technology! Swat as many flies as you can in one minute.
Fly swat has been developed to meet the needs of people with both physical and learning disabilities. It provides a means to develop and assess skills relating to awareness of ICT, understanding the concept of cause and effect within ICT, and provides also a means of practicing skills with input technologies (mouse and keyboard, and other assistive devices which may be used), and improving timing and co-ordination with the ICT technology.
The game is developed in JavaScript and HTML5 running in a web browser. It is available to play online at .
Fly swat is a game based around the principle of watching and swatting a fly. The fly has several modes of movement to map to tracking modes that are required by the pre-GCSE level guidelines, including horizontal, vertical, following an expected route, and random. The swat also has several movement modes. It can be stationary, auto track the fly in one axis (to allow one key/one click gameplay) or be moved left and right by either following the mouse or by key presses.  These are described as either ‘user control’ or ‘one’ touch’ mode. In ‘user control’ mode the swat is moved manually by mouse or keyboard. In ‘one-touch’ mode the swat either moves automatically or is fixed and the gameplay is about timing of swatting the fly at the right moment.

Swat activation is by either mouse click or keypress.  These inputs can also be mapped with external software to allow gameplay using assistive technologies such as switches, eye-tracking or brain control interfaces.

The game is visually stimulating and also contains audio (which may be muted). It records the high score during a session to provide additional stimulation to play more. The object of the game is to swat as many flies as possible in the 60 seconds  available. At the end of the game the user sees their score and the highest score obtained during the current session (as in Figure 61).

A target can be shown to give the user a better indication of where the swat will fall (see Figure 60).

Controls – these can be selected as with the keyboard shortcuts listed below, or using the on screen buttons as mentioned next to every keyboard control:

  • Move Left: Left arrow – Move mouse left over game canvas
  • Move Right: Right arrow – Move mouse right over game canvas
  • Swat: Space bar – Left click over game canvas
  • Fly Movement Mode: ‘M’ key – Left click the button to switch between fly movement modes – of horizontal, vertical, predictable or random
  • Sound on/off: ‘N’ key – Left click on sound on/off button during gameplay or on the title screen
  • Show/hide Target: ‘T’ key – Click on target button during gameplay or at the title screen
  • Fly Speed: ‘S’ key – Click on fly speed button to change fly speed between slow, medium and fast
  • One Touch Mode: ‘O’ key – Click on one touch mode button to switch between manual and automatic swat movement (only available in random fly movement mode)
  • Help: ‘H’ key – Click on question mark. Available on the start screen this displays the instructions
  • Restart game at end: Space bar – Left click over game canvas

This game was developed as part of the ViPi project. The ViPi KA3 LLL project (511792-LLP-1-2010-1-GR-KA3-KA3NW) has been partially funded under the Lifelong Learning program, subprogramme KA3 ICT. This web site reflects the views only of the author(s), and the Commission cannot be held responsible for any use which may be made of the information contained therein.

0.00 avg. rating (0% score) - 0 votes

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.