# Rust Programming Language: Simple Game

DevFeed: [Rust Programming Language: Simple Game](<https://devfeed.tech/articles/rust-programming-language-simple-game-22221.md>)

Original publisher: [Read original article](<https://www.ardanlabs.com/blog/2023/03/rust-programming-language-simple-game.html>)

Published: 2023-03-08T00:00:00Z

Content type: tutorial

Language: en

Sources: [William Kennedy](<https://devfeed.tech/sources/william-kennedy.md>)

Topics: [Rust](<https://devfeed.tech/topics/rust.md>), [Programming language](<https://devfeed.tech/topics/programming-language.md>), [Library](<https://devfeed.tech/topics/library.md>), [Emulator](<https://devfeed.tech/topics/emulator.md>), [cross-platform](<https://devfeed.tech/topics/cross-platform.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [cross-platform](<https://devfeed.tech/tags/cross-platform.md>), [emulator](<https://devfeed.tech/tags/emulator.md>), [library](<https://devfeed.tech/tags/library.md>), [programming-language](<https://devfeed.tech/tags/programming-language.md>), [rust](<https://devfeed.tech/tags/rust.md>), [training](<https://devfeed.tech/tags/training.md>)

## AI overview

This tutorial introduces Rust by building a simple game with the bracket-lib library. It covers setting up a Rust project, adding the dependency, and creating a game window that animates a box moving upward and falling under gravity.

## Source excerpt

with Cheikh Seck Introduction This is the first in a series of posts that will explore the Rust programming language. I am going to take the same approach I did with Go and write little programs that explore the different features of the language. Before I begin that work, I thought it would be fun to write a program that does something fun. In this post and my first ever Rust program, I'm going to use a Rust library called bracket-lib that provides a cross-platform terminal emulator. I will use this library to build a simple game window that will allow me to animate a box that can be moved up, with gravity causing it to move back down.