A typing-game machine has a storage unit for storing a set of a video data
item and a song data item for each song, a music playing unit for playing
a song based on a song data item, a first image display unit for
sequentially displaying a character string which is a part of lyrics of
the song being played, a second image display unit for displaying a video
image based on a video data item associated with the song being played,
and a database making unit. A course of a game is controlled based on
whether a character string inputted by typings of keys agrees with the
character string displayed or not. The database making unit makes a
database with respect to each song about the number of times a video
image associated with a song is displayed along with a play of the song.