Skip to content

aahan0511/the2048game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

assets/images/icon.png

2048

2048 is a single-player sliding tile puzzle video game. Its objective is to slide numbered tiles on a 4x4 grid to combine them and create a tile with the number 2048.




Contents



How To Play

  • Start the Game: Begin with a 4x4 grid containing two numbered tiles, usually 2s or 4s. Your goal is to combine these tiles to create a tile with the number 2048.
  • Move Tiles: Use the arrow keys (or W, A, S, D on a keyboard) to move all tiles on the grid in the chosen direction. When two tiles with the same number touch, they merge into one tile with the sum of their values.
  • New Tiles: After each move, a new tile (either 2 or 4) randomly appears on an empty space on the grid.
  • Continue Playing: You can continue playing after reaching 2048, aiming for even higher numbers. The game ends when no more moves are possible, meaning the grid is full and no tiles can combine.



Status

Important

the2048game is currently only for windows, it may work for other operating systems after some changes, but it may not work as intended.



Installation

  1. Open the latest release.

  2. Install the Source code.

  3. Move the assets/ to the following folder: C:\Users\YOUR_USERNAME\AppData\Local\the2048game.

  4. Install the needed requirements, with: pip install -r requirements.txt.

  5. Run the __main__.py, which starts the game.



the2048game is licensed under the MIT License.



Credit

JetBrains Mono

Thanks to JetBrains, for providing the JetBrains Mono font.

Python Modules

Thanks to on the modules on which Othello is built on.

Original Game

Thanks to Gabriele Cirulli who is an Italian freelance programmer, who also developed the game as a weekend project.

Excelidraw

Thanks to Excelidraw for helping create the how to play, and the license page.



Follow the CONTRIBUTING.md to ensure a smooth contribution process.



Othello has the Contributor Covenant Code of Conduct.



To view the security and data safety of Othello, see SECURITY.md.