2048 game is a casual game which is implemented for mobile and desktop devices. In this repository, we implemented this game which can be played in command line interface. This code is implemented as a soloution for first experiment of CE40404(Software Engineering Lab), Fall 2021. (This experiment is mainly concerned with working with git commands)
- Open terminal and insert following commands:
git clone https://github.com/alirezadaghigh99/SE-Lab1.git
cd 2048
- Then for running the game, insert this command in terminal:
python game.py
- Follow game's instructions as provided!
Source code is consisted of three parts. Functionality of each part will be explained in this section.
This file contains logic parts of code. In this code we determine which action should be done after any input commands and do changes on game's map and advance to the next round.
this file contains user's details such as best score and name of user to be saved in a pickle file.
This module is used for handling defined operations, such as addition, multiplication, comparison, list operations, etc. Error handling is done in this module too.
- GitHub: @nimajam41
- LinkedIn: Nima Jamali
This project is available thanks to all contributors.