Skip to content

SkYler163/twenty-forty-eight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twenty forty-eight

Description

This project is a simple implementation of the popular game 2048, written in Go. It utilizes the bubbletea library for the TUI (Text-based User Interface) and offers a classic 2048 gameplay experience where players combine tiles of the same value to try to reach 2048.

Installation

go install github.com/SkYler163/twenty-forty-eight@latest

Usage

After launching the game, you can control the tiles using the following keyboard keys:

  • Arrow Keys: Move the tiles in the corresponding direction.
  • Ctrl+C: Exit the game.
  • Ctrl+R: Restart the game.
  • Ctrl+E: Reset the high score and restart the game.

Enjoy playing and try to beat your high score!

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

Thanks to the Go community and the creators of the bubbletea and lipgloss libraries for providing the tools to build this game.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published