Jump to content

Nibbles (video game)

From Wikipedia, the free encyclopedia
Programmer(s)Rick Raddatz
Release1991; 33 years ago (1991)
Mode(s)Single-player, multiplayer

Nibbles, also known by the source code's file name NIBBLES.BAS, is a variant of the snake video game concept used to demonstrate the QBasic programming language. Nibbles was written in QBasic by Rick Raddatz, who later went on to create small businesses such as Xiosoft and Bizpad.[citation needed]


GNOME Nibbles, a clone of QBasic Nibbles

The game's objective is to navigate a virtual snake through a walled space while consuming numbers (from 1 through 9) along the way. The player must avoid colliding with walls, other snakes or their own snake. Since the length of the snake increases with each number consumed, the game increases in difficulty over time. After the last number has been eaten, the player progresses to the next level, with more complex obstacles and increased speed. There is a multiplayer mode which allows a second player to control a second snake by using a different set of keys on the same keyboard.[1]


Nibbles was included with MS-DOS version 5.0 and above. Written in QBasic, it is one of the programs included as a demonstration of that programming language.[1] The QBasic game uses the standard 80x25 text screen to emulate an 80x50 grid by making clever use of foreground and background colors, and the ANSI characters for full blocks and half-height blocks. Microsoft's 24kB QBasic version was copyrighted in 1990. Because of MS-DOS's prevalence at that time, it was available on almost every IBM PC compatible in the early 1990s.

See also[edit]


  1. ^ a b "QBasic Nibbles for DOS". MobyGames. 2001-06-25. Archived from the original on 2011-02-27. Retrieved 2020-05-29.

External links[edit]