Data

2025/12/27

Type
Learning Resource
Format
Glossary Article
Version
General
Subject Tags
Code
Assets
All else
Copyright 2016-2026, GDQuest
Created
2026/02/16
Updated
2025/12/27

Data

In computer programming, data is the fundamental building block of information that a computer uses to perform tasks. It is the raw material that is processed by the computer to produce meaningful results. Data can take many forms, such as numbers, text, booleans, objects, arrays, etc.

Data is manipulated by the computer through instructions (in most modern languages, those are functions) to perform a task, which may involve changing the data itself. For instance, a video game might use data to store the name of a player, a character's health, or a list of special moves. When the player performs an action, the game updates the relevant data, such as reducing the character's health or changing the player's location.

Any meaningful program aims at transforming data. For example, a game will get the player's input, the state of the game, and the rules of the game, and will produce the next state of the game, which it will output as images and sounds.

Become an Indie Gamedev with GDQuest!

Don't stop here. Step-by-step tutorials are fun but they only take you so far.

Try one of our proven study programs to become an independent Gamedev truly capable of realizing the games you’ve always wanted to make.

Nathan

Founder and teacher at GDQuest
  • Starter Kit
  • Learn Gamedev from Zero
Check out GDSchool

You're welcome in our little community

Get help from peers and pros on GDQuest's Discord server!

20,000 membersJoin Server

Contribute to GDQuest's Free Library

There are multiple ways you can join our effort to create free and open source gamedev resources that are accessible to everyone!